For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove-PSUTag

Removes a tag.

SYNOPSIS

Removes a tag.

SYNTAX

All (Default)

Remove-PSUTag [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

Tag

Remove-PSUTag [-Tag] <Tag> [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

Id

Remove-PSUTag [-Id] <Int64> [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Removes a tag.

EXAMPLES

Example 1

Removes the Release tag.

PARAMETERS

-AppToken

An app token to access the PSU API.

-ComputerName

The HTTP address of the PSU REST API server.

-Id

The Id of the tag to remove.

-Integrated

Executes the command internally rather than using the Management API. Only works when running script from within PowerShell Universal.

-Tag

The tag to remove. 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

Last updated

Was this helpful?