Unregister-DMOrganizationalUnit
SYNOPSIS
Removes an organizational unit from the list of registered OUs.
SYNTAX
DN (Default)
Unregister-DMOrganizationalUnit -DistinguishedName <string> [<CommonParameters>]
NamePath
Unregister-DMOrganizationalUnit -Name <string> -Path <string> [<CommonParameters>]
DESCRIPTION
Removes an organizational unit from the list of registered OUs. This effectively removes it from the definition of the desired OU state.
EXAMPLES
EXAMPLE 1
Get-DMOrganizationalUnit | Unregister-DMOrganizationalUnit
Removes all registered organizational units from the configuration
PARAMETERS
-DistinguishedName
The full Distinguished name of the OU to unregister.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: DN
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Name
The name of the OU to unregister.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: NamePath
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Path
The path of the OU to unregister.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: NamePath
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
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.