Get-DMOrganizationalUnit
SYNOPSIS
Returns the list of configured Organizational Units.
SYNTAX
__AllParameterSets
Get-DMOrganizationalUnit [[-Name] <string>] [[-Path] <string>] [<CommonParameters>]
DESCRIPTION
Returns the list of configured Organizational Units. Does not in any way retrieve data from a domain. The returned list of OUs represent the desired state for each domain of the current context.
EXAMPLES
EXAMPLE 1
Get-DMOrganizationalUnit
Return all configured OUs.
PARAMETERS
-Name
Name of the OU to filter by.
Type: System.String
DefaultValue: '*'
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Path
Path of the OU to filter by.
Type: System.String
DefaultValue: '*'
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.