CmdID / PowerShell / Cmdlets / Get
Get-OrganizationalUnit
Use the Get-OrganizationalUnit cmdlet to view a list of organizational units (OUs) that exist in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 6 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the OU or domain that you want to view.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-IncludeContainersThe IncludeContainers switch instructs the command to return containers in the results.-SingleNodeOnlyThe SingleNodeOnly switch instructs the command to return only the first level child OUs beneath the OU specified in the Identity parameter.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.-SearchTextThe SearchText parameter enables you to search the names of all OUs in your organization for the specified string.