Awesome.. I was thinking of playing around with that one more in my free time 
and maybe add some more bits to it to pull out some more interesting 
information.

Joe



________________________________
From: Gidd <[email protected]>
To: [email protected]
Sent: Friday, March 20, 2009 1:47:21 PM
Subject: Re: Capture ComputerName and UserName (U)

** 
Joe,
 
Yes, still there under the Miscellaneous (Download) section.
 
 
Regards...Gidd


________________________________
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Joe DeSouza
Sent: Friday, March 20, 2009 10:43 AM
To: [email protected]
Subject: Re: Capture ComputerName and UserName (U)

** 
I had written a small app years ago using ipconfig to do that. Gidd had it on 
his website.. I'm not sure if it is still available..

Joe




________________________________
From: Phil Murnane <[email protected]>
To: [email protected]
Sent: Friday, March 20, 2009 11:40:29 AM
Subject: Re: Capture ComputerName and UserName (U)

Folks:

You can use "ipconfig | find "IP Address", which returns something like:

        IP Address. . . . . . . . . . . . : ###.###.42.1
        IP Address. . . . . . . . . . . . : ###.###.133.1
        IP Address. . . . . . . . . . . . : ###.###.145.46
        IP Address. . . . . . . . . . . . : 0.0.0.0

Then a second action will have to remove everything up to and including the ": 
", and you'll have to live with taking the first (or last?) address returned.

FWIW,
--Phil

----- Original Message ----
From: "Wallace, Kelvin" <[email protected]>
To: [email protected]
Sent: Friday, March 20, 2009 11:14:12 AM
Subject: Re: Capture ComputerName and UserName (U)

Try this:

$PROCESS$ cmd /c "set USERNAME"
$PROCESS$ cmd /c "set COMPUTERNAME"

Other stuff:

$PROCESS$ cmd /c "set USERPROFILE"
$PROCESS$ cmd /c "set windir"
$PROCESS$ cmd /c "set OS"
$PROCESS$ cmd /c "set USERDOMAIN"
$PROCESS$ cmd /c "set LOGONSERVER"

If anyone knows an easy way to capture the IP address, please let me
know.

HTH,
Kelvin

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
Sent: Thursday, March 19, 2009 2:23 PM
To: [email protected]
Subject: Re: Capture ComputerName and UserName (U)

UNCLASSIFIED

The AL captures the computer name but not the Windows' user name.

Sandra Hennigan

Remedy Developer



From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Feliciano, Ferdinand, A (Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: [email protected]
Subject: Re: Capture ComputerName and UserName



** 

Do an Active Link instead of Filters.  Filters run on the server side. That's 
why you're getting the server's information.


From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: [email protected]
Subject: Re: Capture ComputerName and UserName

** 
Jason,

You won't be able to gather the user's computer information thru a filter since 
they run on the server.  You will need to run your $PROCESS$ command in an 
active link without using "@@".  Since you are attempting to do this in a 
filter, I am assuming timing does not matter so you can capture it on window 
open, window loaded, display, submit, modify..............in the active link.

Hope this helps.

Scott Illari

908-601-8948

http://www.linkedin.com/in/scottillari
<http://www.linkedin.com/in/scottillari> 


From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: [email protected]
Subject: Capture ComputerName and UserName



** 
I'm trying to capture the computername and windows username using a filter.

I tried using Set Fields = $PROCESS$ %COMSPEC% /c echo %COMPUTERNAME% but I get 
and error -- ARERR [341] Cannot run the requested process

Tried using $PROCESS$ c:\windows\system32\cmd.exe /c hostname and I get the 
Remedy Server information instead of the clients.

Thanks,

Jason


   
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
   

Reply via email to