Get-SCTag

Get-SCTag

Gets existing tags.

Syntax

Parameter Set: Default
Get-SCTag [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Detailed Description

The Get-SCTag cmdlet gets all existing user-defined tags.

Parameters

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • String[]

Examples

Example 1: Retrieve all tags on a specified VMM management server

This command gets all tags on VMMServer01.

PS C:\> Get-SCTag -VMMServer "VMMServer01"

Get-SCDriverPackage

Set-SCDriverPackage