Configuration driven Active Directory management.
Removes an organizational unit from the list of registered OUs.
Unregister-DMOrganizationalUnit -DistinguishedName <String> [<CommonParameters>]
Unregister-DMOrganizationalUnit -Name <String> -Path <String> [<CommonParameters>]
Removes an organizational unit from the list of registered OUs. This effectively removes it from the definition of the desired OU state.
Get-DMOrganizationalUnit | Unregister-DMOrganizationalUnit
Removes all registered organizational units from the configuration
The name of the OU to unregister.
Type: String
Parameter Sets: NamePath
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The path of the OU to unregister.
Type: String
Parameter Sets: NamePath
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The full Distinguished name of the OU to unregister.
Type: String
Parameter Sets: DN
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.