Share via


Get-DPMAccessLicense

Gets licensing information for a DPM server and protected computers.

Syntax

License (Default)

Get-DPMAccessLicense
    [[-DPMServerName] <String>]
    [-License]
    [<CommonParameters>]

LicenseName

Get-DPMAccessLicense
    [[-DPMServerName] <String>]
    [-LicenseName] <LicenseNames>
    [[-Period] <Int32>]
    [<CommonParameters>]

Description

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

Examples

Example 1: Get licenses for servers

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

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

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

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

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

Parameters

-DPMServerName

Specifies the name of a DPM server for which this cmdlet gets licensing information.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ComputerName, CN

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-License

Indicates that the cmdlet displays the following license information.

The acceptable values for this parameter are:

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

License
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LicenseName

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.

Parameter properties

Type:LicenseNames
Default value:None
Accepted values:SML, CML
Supports wildcards:False
DontShow:False

Parameter sets

LicenseName
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Period

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.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False
Aliases:PeriodInDays

Parameter sets

LicenseName
Position:2
Mandatory:False
Value from pipeline:False
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.