Month: September 2016

Upgrade SCOM 2012 R2 From Eval To Full Edition License

Posted on Updated on

By default, when SCOM 2012 R2 is installed, it uses an eval license (hence the yellow warning when you install the management server). When you go to the “Administration” workspace there is a center page link to technet to “Upgrade SCOM to full version”.

Here’s the simple way to add that product key from powershell.

import-module OperationsManager

set-SCOMLicense -ProductId “insert product key here”

stop-service cshost; stop-service omsdk; stop-service healthservice

start-service cshost; start-service omsdk; start-service healthservice

 

Alternatively, you can reboot the management server.

 

After that, to verify the key is install you can take the following steps.

Launch the Operations Manager Console > Go to “Help” and click “About” > Next to the Version information it should now say Retail. *Note that it’s okay if the Product ID is blank.

 

I hope this makes your day at least a little bit easier.

Thanks,

Advertisements

Disable Windows Firewall With PowerShell

Posted on

Welcome all, to the age of the gui-less windows server. As more and more people spin up labs with command-line only boxes, this command can be helpful.

Remember to only turn off your firewall in lab environments where you know you’re not exposing ¬†yourself to additional risk.

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False

 

To do this using netsh in cmd, you can use the following command.

 

netsh advfirewall set allprofiles state off

 

I hope this makes your day at least a little bit easier.

Thanks,