API Reference
Command
Get-ADXOrganizationalUnitContents
Retrieves contents of an Active Directory organizational unit with optional recursion and custom attributes.
Examples
Generated fallback example from command syntax.
Get-ADXOrganizationalUnitContents -Identity 'Value'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-ADXOrganizationalUnitContents -Identity <string> [-Domain <string>] [-LDAPFilter <string>] [-MaxResults <int>] [-Property <string[]>] [-Recursive] [<CommonParameters>]#Parameters
- Identity string
- Gets or sets OU identity (DN, ou, or name).
- Domain string
- Gets or sets the optional domain DNS name.
- LDAPFilter string
- Gets or sets optional custom LDAP filter.
- MaxResults int
- Gets or sets maximum number of returned objects.
- Property string[]
- Gets or sets optional additional LDAP attributes.
- Recursive SwitchParameter
- Gets or sets whether to query recursively.
Outputs
ADPlayground.DirectoryOrganizationalUnitContentItem