Get-SCVMMAccessLicense

Gets the VMM server license information.

Syntax

Get-SCVMMAccessLicense
   -VMMServer <ServerConnection>
   [-License]
   [<CommonParameters>]
Get-SCVMMAccessLicense
   -VMMServer <ServerConnection>
   -LicenseBy <LicenseBy>
   [<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
Position:Named
Default value:None
Required:True
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
Accepted values:SML, ManagementServer, VOSE
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

Specifies a VMM server object.

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