TestimoX

API Reference

Command

Get-ADXOrganizationalUnitContents

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.DirectoryOrganizationalUnitContentItem

Retrieves contents of an Active Directory organizational unit with optional recursion and custom attributes.

Examples

Generated fallback example

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 requiredposition: 0pipeline: false
Gets or sets OU identity (DN, ou, or name).
Domain string optionalposition: namedpipeline: false
Gets or sets the optional domain DNS name.
LDAPFilter string optionalposition: namedpipeline: false
Gets or sets optional custom LDAP filter.
MaxResults int optionalposition: namedpipeline: false
Gets or sets maximum number of returned objects.
Property string[] optionalposition: namedpipeline: false
Gets or sets optional additional LDAP attributes.
Recursive SwitchParameter optionalposition: namedpipeline: false
Gets or sets whether to query recursively.

Outputs

ADPlayground.DirectoryOrganizationalUnitContentItem