Tag Archives: Ldap

List all Active Directory Organizational Unit LDAP (PS)

Purpose: Query all or some Active Directory Organisational Units and their LDAPs

Powershell has an enourmous amount of cmdlets, which can be called to do your bidding. In this scenario you want to list all your Acrive Directory Organizational Units and unleash some filters to that mass. There are many alternative ways to do this, select one of them below and have fun.

Usage: powershell.exe -ExecutionPolicy ByPass -file IT_AD_PS_GetAllOrganizationalUnits.ps1
Configuration: You can use filters to change the outcome of your query
References: Get-ADOrganizationalUnit, Export-Csv

Continue Reading