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 for which this cmdlet gets licensing information.

Aliases

ComputerName,CN

Required?

false

Position?

2

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. Valid values 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

PeriodInDays

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 servers

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

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

Example 2: Get licenses for server for the last five days

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

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