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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine which Domain a server is using Wise Script Editor

Status
Not open for further replies.
Apr 17, 2003
20
0
0
US
I need to package an automated install. In the install I need to run different command lines depending on which Domain the server is a member of. I need to find a way using Wise Script Editor to determine which Domain. I did a search of the registry keys and can not come up with a constant key. I did find keys that had Domain information but they were related to either DNS or certain apps. I need something that is constant with all servers. If not a reg key, a file would help also if I can read the contents.

Thanks,

Frustrated1
 
How about a system variable? %userdomain% should work if you can call system variables using "wise", I'm not familiar with this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top