Get-SCTags
Applies To: System Center 2012 - Virtual Machine Manager
Get-SCTags
Gets existing tags.
Syntax
Parameter Set: Default
Get-SCTags [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCTags cmdlet gets all existing user-defined tags.
For more information about Get-SCTags, type: "Get-Help Get-SCTags -online".
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.
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
1: Retrieve all tags on a specified VMM management server.
This command gets all tags on VMMServer01.
PS C:\> Get-SCTags -VMMServer "VMMServer01"