Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-SCVMMAccessLicense

Updated: November 1, 2013

Applies To: System Center 2012 R2 Virtual Machine Manager

Get-SCVMMAccessLicense

Gets the VMM server license information.

Syntax

Parameter Set: License
Get-SCVMMAccessLicense -License -VMMServer <ServerConnection> [ <CommonParameters>]

Parameter Set: LicenseBy
Get-SCVMMAccessLicense -LicenseBy <LicenseBy> {ManagementServer | SML | VOSE} -VMMServer <ServerConnection> [ <CommonParameters>]




Detailed Description

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

Parameters

-License

Indicates that all available licenses are returned.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LicenseBy<LicenseBy>

Specifies how VMM is licensed. Valid values are: SML, ManagementServer, VOSE.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.


Aliases

none

Required?

true

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.

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.

Examples

1: Get a list of available licenses for VMM.

This command returns a list of available licenses for the VMM server VMMServer01.


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

2: Get all licenses that have a LicenseBy value of "ManagementServer".

This command gets all management server licenses on VMM server VMMServer01.


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

3: Get all licenses that have a LicenseBy value of "SML".

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


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

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

Returns a list of licensed virtual machines associated with VMM server VMMServer01.


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

Related topics

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.