Get-DPMAccessLicense

Gets licensing information for a DPM server and protected computers.

Syntax

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

Description

The Get-DPMAccessLicense cmdlet gets licensing information for a System Center 2016 - 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.

Type:String
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.

The acceptable values for this parameter are:

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

Type:SwitchParameter
Required:False
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters: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.

Type:LicenseNames
Parameter Sets:SML,CML
Required:True
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters: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.

Type:Int32
Aliases:PeriodInDays
Required:False
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False