Set-SCOMLicense

Updated: October 2, 2015

Set-SCOMLicense

Sets the product license level and removes evaluation timeout.

Syntax

Parameter Set: Default
Set-SCOMLicense [-ProductId] <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Set-SCOMLicense cmdlet sets the System Center 2016 – Operations Manager product license level and removes the evaluation expiration timeout. To view the current license terms, use the Get-SCOMLicense cmdlet. You can also view the license information in the Operations Console Help About dialog box.

You must run Windows PowerShell as an administrator to use this cmdlet.

By default, this cmdlet uses the active persistent connection to a management group. Use the SCSession parameter to specify a different persistent connection. You can create a temporary connection to a management group by using the ComputerName and Credential parameters. For more information, type Get-Help about_OpsMgr_Connections.

After you enter a license key, restart the System Center Data Access Service on all of your Operations Manager management servers.

Parameters

-ProductId<String>

Specifies the product ID.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. 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: Set a product license

This command sets the product license level for the product with the specified ID.


PS C:\> Set-SCOMLicense -ProductId 'C97A1C5E-6429-4F71-8B2D-3525E237BF62'

Related topics

Community Additions

ADD
Show: