9/3/2015
•
EN
Convert a Domain Name to a Distinguished Name in PowerShell
A PowerShell script snippet for converting a domain name (e.g., corp.example.com) into an LDAP distinguished name format (DC=corp,DC=example,DC=com).