Get-SCVMMAccessLicense

Gets the VMM server license information.

Description

The Get-SCVMMAccessLicense cmdlet gets the System Center Virtual Machine Manager (VMM) server license information.

For more information about Get-SCVMMAccessLicense, type: "Get-Help Get-SCVMMAccessLicense -online".

Parameters

License

Required? true
Accept Pipeline Input? false
Position? named
Indicates that all available licenses are returned.

VMMServer

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

LicenseBy

Required? true
Accept Pipeline Input? false
Position? named
Specifies how VMM is licensed. Valid values are: SML, ManagementServer, VOSE.

VMMServer

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Get a list of available licenses for VMM.
PS C:\> Get-SCVMMAccessLicense -VMMServer "VMMServer01.Contoso.com" -License
This command returns a list of available licenses for the VMM server VMMServer01.
2: Get all licenses that have a LicenseBy value of "ManagementServer".
PS C:\> Get-SCVMMAccessLicense -VMMServer "VMMServer01.Contoso.com" -LicenseBy "ManagementServer"
This command gets all management server licenses on VMM server VMMServer01.
3: Get all licenses that have a LicenseBy value of "SML".
PS C:\> Get-SCVMMAccessLicense -VMMServer "VMMServer01.Contoso.com" -LicenseBy "SML"
This command returns a list of licensed hosts associated with VMM server VMMServer01.
4: Get all licenses that have a LicenseBy value of "VOSE".
PS C:\> Get-SCVMMAccessLicense -VMMServer "VMMServer01.Contoso.com" -LicenseBy "VOSE"
Returns a list of licensed virtual machines associated with VMM server VMMServer01.

See Also