TestimoX

API Reference

Command

Set-ADXOrganizationalUnit

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.DirectoryMutationResult

Updates a single Active Directory organizational unit with typed parameters and custom attribute support.

Examples

Generated fallback example

Generated fallback example from command syntax.


Set-ADXOrganizationalUnit -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

Set-ADXOrganizationalUnit -Identity <string> [-Attribute <Hashtable>] [-ClearAttribute <string[]>] [-Description <string>] [-DisplayName <string>] [-Domain <string>] [-ManagedBy <string>] [<CommonParameters>]
#

Parameters

Identity string requiredposition: 0pipeline: falsealiases: DistinguishedName, DN, Name, OU
Gets or sets organizational unit identity (DN, ou, or name).
Attribute Hashtable optionalposition: namedpipeline: false
Gets or sets arbitrary custom attributes to write.
ClearAttribute string[] optionalposition: namedpipeline: false
Gets or sets attributes to clear.
Description string optionalposition: namedpipeline: false
Gets or sets description.
DisplayName string optionalposition: namedpipeline: false
Gets or sets displayName.
Domain string optionalposition: namedpipeline: falsealiases: DomainName
Gets or sets the optional domain DNS name.
ManagedBy string optionalposition: namedpipeline: false
Gets or sets managedBy.

Outputs

ADPlayground.DirectoryMutationResult