Powershell Tip #123: Extract the CN (Common Name) from DN (Distinguished Name) in Active Directory

By | October 23, 2016

Tip: You can extract the CN (Common Name) from DN (Distinguished Name) in Active Directory.

For example, someone sent you one report with DN only and you need to extract the CN.

extract-the-cn-from-dn-powershell


previous-buttonnext-button

Leave a Reply

Your email address will not be published.