Re: Capture ComputerName and UserName (U)

2009-03-23 Thread Joe DeSouza
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 
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Joe DeSouza
Sent: Friday, March 20, 2009 10:43 AM
To: arslist@ARSLIST.ORG
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 
To: arslist@ARSLIST.ORG
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" 
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
Sent: Thursday, March 19, 2009 2:23 PM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A (Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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"
   

Re: Capture ComputerName and UserName (U)

2009-03-20 Thread Gidd
Joe,
 
Yes, still there under the Miscellaneous (Download) section.
 
 
Regards...Gidd

  _  

From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Joe DeSouza
Sent: Friday, March 20, 2009 10:43 AM
To: arslist@ARSLIST.ORG
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 
To: arslist@ARSLIST.ORG
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" 
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
Sent: Thursday, March 19, 2009 2:23 PM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A
(Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___

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


Re: Capture ComputerName and UserName (U)

2009-03-20 Thread Joe DeSouza
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 
To: arslist@ARSLIST.ORG
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" 
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
Sent: Thursday, March 19, 2009 2:23 PM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A
(Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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"
   

Re: Capture ComputerName and UserName (U)

2009-03-20 Thread Stephen Heider
Another method is to use a free utility named WksInfo I created a while
back.  It returns this and other information such as path to Office
applications with just one $PROCESS$ call.  After you retrieve the
information ALs would then parse each setting you need.  It's open source so
you can modify it to return additional information.

http://arswiki.org/projects/dotnetutil

HTH

Stephen
Remedy Skilled Professional



On Fri, Mar 20, 2009 at 11:14 AM, Wallace, Kelvin  wrote:

> 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:arsl...@arslist.org] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
> Sent: Thursday, March 19, 2009 2:23 PM
> To: arslist@ARSLIST.ORG
> 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:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A
> (Rocky)
> Sent: Thursday, March 19, 2009 10:46 AM
> To: arslist@ARSLIST.ORG
> 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:arsl...@arslist.org] On Behalf Of Scott Illari
> Sent: Thursday, March 19, 2009 10:34 AM
> To: arslist@ARSLIST.ORG
> 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:arsl...@arslist.org] On Behalf Of Jason Tricky
> Sent: Thursday, March 19, 2009 10:27 AM
> To: arslist@ARSLIST.ORG
> 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
>
>
> __Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
> html___
>
> __Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
> html___
>
> 
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>

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


Re: Capture ComputerName and UserName (U)

2009-03-20 Thread Danny Kellett
For vista it will be

ipconfig | find /I "IPv4"

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Phil Murnane
Sent: 20 March 2009 15:40
To: arslist@ARSLIST.ORG
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" 
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
Sent: Thursday, March 19, 2009 2:23 PM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A
(Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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


__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___


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


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



  


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

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3951 (20090320) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

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


Re: Capture ComputerName and UserName (U)

2009-03-20 Thread Phil Murnane
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" 
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
Sent: Thursday, March 19, 2009 2:23 PM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A
(Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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


__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___


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

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



  

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


Re: Capture ComputerName and UserName (U)

2009-03-20 Thread Wallace, Kelvin
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:arsl...@arslist.org] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
Sent: Thursday, March 19, 2009 2:23 PM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A
(Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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


__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___


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

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


Re: Capture ComputerName and UserName (U)

2009-03-19 Thread William Rentfrow
DO a search for:

Re: Mid-Tier 6.3 - Get User Name - Bug? - SOLVED

The entire solution is there.  Posted by the poster below back in 2005. 


William Rentfrow
Principal Consultant, StrataCom Inc.
wrentf...@stratacominc.com
Corporate Website, www.stratacominc.com
715-410-8156 C

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
Sent: Thursday, March 19, 2009 1:23 PM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A
(Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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


__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___


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

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


Re: Capture ComputerName and UserName (U)

2009-03-19 Thread Hennigan, Sandra H CTR OSD-CIO
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:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A
(Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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


__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___

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


Re: Capture ComputerName and UserName

2009-03-19 Thread Jason Tricky
Thank you Scott and Ferdinand.  Active link works great!
 
 
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Feliciano, Ferdinand, A (Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: arslist@ARSLIST.ORG
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:arsl...@arslist.org] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: arslist@ARSLIST.ORG
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
 
 
 
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___




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

Re: Capture ComputerName and UserName

2009-03-19 Thread Feliciano, Ferdinand, A (Rocky)
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: arslist@ARSLIST.ORG
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


__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___


NOTICE: This e-mail (and any attachments) may contain PRIVILEGED OR 
CONFIDENTIAL information and is intended only for the use of the specific 
individual(s) to whom it is addressed. It may contain information that is 
privileged and confidential under state and federal law. This information may 
be used or disclosed only in accordance with law, and you may be subject to 
penalties under law for improper use or further disclosure of the information 
in this e-mail and its attachments. If you have received this e-mail in error, 
please immediately notify the person named above by reply e-mail, and then 
delete the original e-mail. Thank you.

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


Re: Capture ComputerName and UserName

2009-03-19 Thread Scott Illari
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:arsl...@arslist.org] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 1:27 PM
To: arslist@ARSLIST.ORG
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


__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___ 


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


Capture ComputerName and UserName

2009-03-19 Thread Jason Tricky
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"