TestimoX

API Reference

Command

Set-ADXComputer

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.DirectoryMutationResult

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

Examples

Generated fallback example

Generated fallback example from command syntax.


Set-ADXComputer -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-ADXComputer -Identity <string> [-Attribute <Hashtable>] [-ClearAttribute <string[]>] [-Description <string>] [-DisplayName <string>] [-DnsHostName <string>] [-Domain <string>] [-Enabled <bool>] [-Location <string>] [-Mail <string>] [-ManagedBy <string>] [-Office <string>] [<CommonParameters>]
#

Parameters

Identity string requiredposition: 0pipeline: falsealiases: CommonName, DistinguishedName, DN, Name, SamAccountName
Gets or sets computer identity (sAMAccountName, DN, or name). DnsHostName is intentionally excluded to avoid collision with the dedicated update parameter.
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.
DnsHostName string optionalposition: namedpipeline: false
Gets or sets dNSHostName.
Domain string optionalposition: namedpipeline: falsealiases: DomainName
Gets or sets the optional domain DNS name.
Enabled bool optionalposition: namedpipeline: false
Gets or sets enabled state.
Location string optionalposition: namedpipeline: false
Gets or sets location.
Mail string optionalposition: namedpipeline: false
Gets or sets mail.
ManagedBy string optionalposition: namedpipeline: false
Gets or sets managedBy.
Office string optionalposition: namedpipeline: false
Gets or sets office (physicalDeliveryOfficeName).

Outputs

ADPlayground.DirectoryMutationResult