Get-DPMAccessLicense

Get-DPMAccessLicense

Gets licensing information for a DPM server and protected computers.

Syntax

Parameter Set: License
Get-DPMAccessLicense [[-License]] [[-DPMServerName] <String> ] [ <CommonParameters>]

Parameter Set: LicenseName
Get-DPMAccessLicense [-LicenseName] <LicenseNames> {SML | CML} [[-Period] <Int32> ] [[-DPMServerName] <String> ] [ <CommonParameters>]

Detailed Description

The Get-DPMAccessLicense cmdlet gets licensing information for a System Center 2012 – Data Protection Manager (DPM) server and protected computers.

Parameters

-DPMServerName<String>

Specifies the name of a DPM server.

Aliases

ComputerName,CN

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-License

Indicates that the cmdlet displays the following license information:

-- Name of the product
-- Name of the license
-- Type of license
-- Tabulation method

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LicenseName<LicenseNames>

Specifies a type of license. The acceptable values for this parameter are:

-- SML. All computers managed by DPM that run a server operating system.
-- CML. All computers managed by DPM that run a client operating system.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Period<Int32>

Specifies a period from zero (0) to seven (7). The cmdlet displays licenses used between the current day and (Period – n - 90). If you do not provide a value for this parameter, the cmdlet uses the value 0.

Aliases

none

Required?

false

Position?

2

Default Value

none

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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).

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: Get licenses for computers running a server operating system

This command gets licenses for computers running server operating systems that a DPM server named DPMServer07 manages.

PS C:\> Get-DPMAccessLicense -LicenseName SML -DPMServerName "DPMServer07"

Example 2: Get licenses for computers running a server operating system for the last five days

This command gets all active licenses for last five days for computers running server operating systems that a DPM server named DPMServer07 manages.

PS C:\> Get-DPMAccessLicense -LicenseName SML -Period 5 -DPMServerName "DPMServer07"