Closed ausbails closed 2 weeks ago
A minor bug fix.
Get-ADRDomain retrieves NetBIOS name from the "dc" property for the domain DirectoryEntry object ($objDomain).
This seems to be an unreliable source when the NetBIOS name is not the same as the nth level domain name.
Credit to Edward Wilde for this write up on retrieving NetBIOS name via Directory Services (https://blogs.edwardwilde.com/2009/12/14/lookup-the-netbios-name-of-a-domain-using-directory-services/).
A minor bug fix.
Get-ADRDomain retrieves NetBIOS name from the "dc" property for the domain DirectoryEntry object ($objDomain).
This seems to be an unreliable source when the NetBIOS name is not the same as the nth level domain name.
Credit to Edward Wilde for this write up on retrieving NetBIOS name via Directory Services (https://blogs.edwardwilde.com/2009/12/14/lookup-the-netbios-name-of-a-domain-using-directory-services/).