Get-SCVMMAccessLicense

Gets the VMM server license information.

Syntax

Get-SCVMMAccessLicense [-License] -VMMServer <ServerConnection> [<CommonParameters>]
Get-SCVMMAccessLicense -LicenseBy <LicenseBy> -VMMServer <ServerConnection> [<CommonParameters>]

Description

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

Examples

Example 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.

Example 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.

Example 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.

Example 4: Get all licenses that have a LicenseBy value of "VOSE"

PS C:\> Get-SCVMMAccessLicense -VMMServer "VMMServer01.Contoso.com" -LicenseBy "VOSE"

This command returns a list of licensed virtual machines associated with VMM server VMMServer01.

Parameters

-License

Indicates that all available licenses are returned.

Type:SwitchParameter
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LicenseBy

Specifies how VMM is licensed. The acceptable values for this parameter are:

- SML

  • ManagementServer
  • VOSE

Type:LicenseBy
Parameter Sets:SML, ManagementServer, VOSE
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False