![]() This cmdlet gets a default set of OU object properties. If you have existing Lightweight Directory Access Protocol (LDAP) query strings, you can use the LDAPFilter parameter. PowerShell Expression Language syntax provides rich type conversion support for value types received by the Filter parameter.įor more information about the Filter parameter syntax, type Get-Help about_ActiveDirectory_Filter. ![]() The Filter parameter uses the PowerShell Expression Language to write query strings for Active Directory. To search for and retrieve more than one OU, use the Filter or LDAPFilter parameters. You can also set the parameter to an OU object variable, such as $ or pass an OU object through the pipeline to the Identity parameter. You can identify an OU by its distinguished name or GUID. The Identity parameter specifies the Active Directory OU to get. The Get-ADOrganizationalUnit cmdlet gets an organizational unit (OU) object or performs a search to get multiple OUs. In this article Syntax Get-ADOrganizational Unit Gets one or more Active Directory organizational units.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |