Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logon server detail

Status
Not open for further replies.

Mayur09

Programmer
May 13, 2016
12
US
Hi,
I have created autosys Jobs to run perl script on various Windows servers to get the system information of those servers.
looking for logon server: information.

when I am running systeminfo command on various machines cmd promt I am getting Logon server: valid name, but when same systeminfo command is running through perl script triggered by autosys job the logon server is commimng as N/A.

I tried to capture same Logon server detail by using %Env (Hash of the perl, containing environment details), but even the %ENV has no value for key LOGONSERVER.

Please suggest me a way to get the logon server details using perl script running throgh autosys Job
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top