Get-SCCapabilityProfile
Get-SCCapabilityProfile
Gets a capability profile.
Syntax
Parameter Set: FromName
Get-SCCapabilityProfile [-Name <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCCapabilityProfile cmdlet gets one or more capability profile objects in Virtual Machine Manager (VMM).
Parameters
-Name<String>
Specifies the name of a VMM object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-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.
- CloudCapabilityProfile
Examples
1: Get a capability profile by its name.
This command gets the capability profile object named CapabilityProf01 and displays information about the object to the user.
PS C:\> Get-SCCapabilityProfile -Name "CapabilityProf01"
1: Using OBO
This command gets the capability profile object named CapabilityProf01 and displays information about the object to the user.
PS C:\> $UR1 = Get-SCUserRole -Name UR1
PS C:\> Get-SCCapabilityProfile -Name "CapabilityProf01" -OnBehalfOfUserRole $UR1 -OnBehalfOfUser user1@bluecola.com