2 lines
105 B
Plaintext
2 lines
105 B
Plaintext
Set theRootDSE = GetObject("winmgmts:root\directory\LDAP:RootDSE=@")
|
|
Wscript.echo theRootDSE.dnsHostName |