Export (0) Print
Expand All
Expand Minimize

Import-CMSoftwareLicense

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Import-CMSoftwareLicense

Imports a software license.

Syntax

Parameter Set: ImportSoftwareLicense
Import-CMSoftwareLicense -ImportType <ImportType> {GeneralLicenseStatement | MicrosoftVolumeLicenseStatement} -MlsFilePath <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Import-CMSoftwareLicense cmdlet imports Microsoft and non-Microsoft licensing information into the Asset Intelligence catalog in Microsoft System Center 2012 Configuration Manager.

Parameters

-ImportType<ImportType>

Specifies an import type for the software license. Valid values are:

-- GeneralLicenseStatement
-- MicrosoftVolumeLicenseStatement

A general license statement contains information about the purchased licenses for any publisher. A Microsoft Volume License Statement (MVLS) license statement contains information about the license entitlements, or number of purchased licenses, for Microsoft products.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MlsFilePath<String>

Specifies the Universal Naming Convention (UNC) path of a valid XML-formatted licensing information file.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

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

Example 1: Import a software license

This command imports a MVLS license statement from the licensing information file named SWLicense01.xml.


PS C:\> Import-CMSoftwareLicense -MlsFilePath "\\Contosofs01\Mid\SWLicense01.xml" -ImportType MicrosftVolumeLicenseStatement
 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft