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

New-PSUTag

Creates a new tag in PSU.

SYNOPSIS

Creates a new tag in PSU.

SYNTAX

New-PSUTag -Name <String> [-Color <String>] [-FontColor <String>] [-Description <String>] [-DisplayInPortal]
 [-Role <String[]>] [-Icon <String>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Creates a new tag in PSU. Tags are used for identifying scripts.

EXAMPLES

Example 1

PS C:\> New-PSUTag -Name 'Release Pipeline' -Color 'red'

Creates a new tag called Release Pipeline that will be red in the UI.

PARAMETERS

-AppToken

An app token to access the PSU API.

-Color

Color to show in the UI.

-ComputerName

The HTTP address of the PSU REST API server.

-Description

Description of this tag.

-Name

Name of the tag.

-UseDefaultCredentials

Use default credentials when connecting to the management API

-Integrated

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

-Credential

Credentials to login to the PowerShell Universal Management API.

-DisplayInPortal

Displays a reference to this tag in the portal. Click the reference will display tagged resources.

-FontColor

The font color to use in the admin console.

-Role

Specifies one or more roles to assign or allow.

-TrustCertificate

Whether the cmdlet should ignore certificate issues.

-Icon

The icon to display in the tag.

-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

None

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?