Monday, November 23, 2015

Trouble shooting Set-SCOMLicense

I’ve seen this in the forums a bit much to not blog about this topic. One of the more important things to do when deploying System Center Operations Manager 2012 is to set the license key. By default Operations Manager installs itself in 180 day evaluation mode. You can identify weather Operations Manager is in Evaluation mode by opening up the Operations console, and click help about. An Evaluation is shown below.
_EVALMODE

Normal usage of Set-SCOMLicense
1. Log in Management Server
2. Open Operation Manager Shell
3. type :Set-SCOMLicense -ProductId yourlicensekey _posheasylicense
Well this did not work as I had hoped it would. Looks like some kind of registry permissions problem. Typical.
Start Powershell using run as Administrator
1. Type: Import-module OperationsManager
2. Type: Set-SCOMLicense -ProductId yourlicensekey

_SCOMLICENSE_2
After running this cmdlet you will not get any confirmation that anything has changed. The best way to verify that it has been updated is to restart the Operations Manager server, then open up the console and selecting help about.
_RETAIL