View RSS Feed

Recent Blogs Posts

  1. Getting the UUID from a running Windows machine, or a computer's AD object

    by , 25th September 2012 at 04:27 PM
    Quote Originally Posted by Duke5A View Post
    I was having issues with this too using WDS. The UUID is stored in the netbootguid property in the machine's computer object. If you were ever curious enough to want to find out what it is you can use this script:

    Code:
    strLDAPComp = "LDAP://CN=machinename,OU=example computers,DC=example,DC=com"
    
    Set objComp = GetObject(strLDAPComp)
    
    Msgbox "AD UUID:" & ConvertObjectGuidToString(objComp.netbootguid)
    
    Function ConvertObjectGuidToString(ByVal
    ...
    Categories
    VB Script