Powershell Tip #124: Extract the OU (Organizational Unit) from DN (Distinguished Name) in Active Directory

By | October 23, 2016

Tip: You can extract the OU (Organizational Unit) from DN (Distinguished Name) in Active Directory.

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

extract-ou-from-dn-powershell


previous-buttonnext-button

One thought on “Powershell Tip #124: Extract the OU (Organizational Unit) from DN (Distinguished Name) in Active Directory

  1. Pingback: Powershell Tip #125: Identify the duplicates headers of a CSV file | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *