Hello,
this will give us the DNS name of the domain. What I asked was the NetBIOS name of a domain or object. In powershell, I can query it with following sample code (but only for the current Computer or User):
(Get-ADDomain).NetBIOSName
(Get-ADDomain -Current LocalComputer).NetBIOSName
(Get-ADDomain -Current LoggedOnUser).NetBIOSName
In some of our managed Domains, DNS and NetBIOS names are slightly different like:
DNS: company.com
NetBIOS: COMP
regards
Helmut