Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim oShell
- Dim iValue
- Set oShell = CreateObject("WScript.Shell")
- iValue = oShell.RegRead("HKLM\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters\HostName")
- wscript.echo iValue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement