Set-PSUTag
SYNOPSIS
Sets the properties of a tag.
SYNTAX
Id
Set-PSUTag [-Id] <Int64> [-Name <String>] [-Color <String>] [-Description <String>] [-ComputerName <String>]
[-AppToken <String>] [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate]
[-Cookies] [<CommonParameters>]Tag
Set-PSUTag [-Tag] <Tag> [-Name <String>] [-Color <String>] [-Description <String>] [-ComputerName <String>]
[-AppToken <String>] [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate]
[-Cookies] [<CommonParameters>]DESCRIPTION
Sets the properties of a tag.
EXAMPLES
Example 1
Sets the color of the release tag.
PARAMETERS
-AppToken
An app token to access the PSU API.
-Color
The color of the tag.
-ComputerName
The HTTP address of the PSU REST API server.
-Description
The description of the tag.
-Id
The ID of the tag to set.
-Integrated
Executes the command internally rather than using the Management API. Only works when running script from within PowerShell Universal.
-Name
The name of the tag.
-Tag
The tag to set. Use Get-UATag to retrieve a Tag object.
-UseDefaultCredentials
Use default credentials when connecting to the management API
-Credential
Credentials to login to the PowerShell Universal Management API.
-TrustCertificate
Whether the cmdlet should ignore certificate issues.
-Cookies
Reuses and persists authentication cookies for the current PowerShell session.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.
INPUTS
UniversalAutomation.Tag
OUTPUTS
System.Object
NOTES
RELATED LINKS
PERMISSIONS
The access token requires settings.tags/update to run this cmdlet remotely.
Last updated
Was this helpful?