Get-SCVMMAccessLicense
Gets the VMM server license information.
Syntax
License
Get-SCVMMAccessLicense
-VMMServer <ServerConnection>
[-License]
[<CommonParameters>]
LicenseBy
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.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
License
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-LicenseBy
Specifies how VMM is licensed. The acceptable values for this parameter are:
- SML
- ManagementServer
- VOSE
Parameter properties
Type: | LicenseBy |
Default value: | None |
Accepted values: | SML, ManagementServer, VOSE |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
LicenseBy
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-VMMServer
Specifies a VMM server object.
Parameter properties
Type: | ServerConnection |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.