Unable to apply license in SCOM 2012
We have scom 2012 installed as eval version, i got a product key now and want to apply it. Found KB articles and forumd to launch the operations manager shell and run the command set-scomlicense but when it try it, it doesnt find the cmdlet, it shows other cmdlets but no set-scomlicense or get-scomlicense Is there some pack that i can install to get this command ? Thanks.
May 3rd, 2012 10:06am

You need to run Operations Manager Shell and run set-scomlicense -id <key>.
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2012 10:17am

Thats the issue, when i run that command i get the error - The term 'set-scomlicense' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
May 3rd, 2012 10:21am

hi, start your Operations Manager Shell and enter: Set-SCOMLicense ProductID Should look something like this: Hope it helps Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2012 10:27am

This is what i get when I'm doing that - PS C:\> Set-SCOMLicense -ProductId The term 'Set-SCOMLicense' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:16 + Set-SCOMLicense <<<< -ProductId + CategoryInfo : ObjectNotFound: (Set-SCOMLicense:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
May 3rd, 2012 10:30am

Make sure you have loaded the SCOM Powershell module first: Import-Module OperationsManager Cheers GrahamRegards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2012 10:57am

doen that, the only cmdlets i see for set-scom are - PS C:\> get-help set-scom Name Category Synopsis ---- -------- -------- Set-SCOMManagementGroupConnection Alias Set-SCManagementGroupConnection Set-SCOMAgentlessManagedComputer Cmdlet Sets the configuration for managed computers that do not have agent Set-SCOMAlert Cmdlet Changes the properties of the specified alert. Set-SCOMMaintenanceMode Cmdlet Updates active maintenance mode entries. Set-SCOMParentManagementServer Cmdlet Set-SCOMParentManagementServer [-Agent] <AgentManagedComputer[]> [- Set-SCOMResourcePool Cmdlet Changes the properties of a resource pool. Set-SCOMRMSEmulator Cmdlet Moves the RMS Emulator role to the specified management server. Set-SCOMRunAsProfile Cmdlet Adds Run As accounts to or removes them from a Run As profile. Set-SCOMUserRole Cmdlet
May 3rd, 2012 11:16am

There are a huge number missing from that list. http://technet.microsoft.com/en-us/library/hh920237.aspx Do you have another Management Server to run this on? Do you get the same list of cmdlets from another MS? Regards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2012 11:27am

Yes, we have 2 more MS, but all of them show the same cmdlets.
May 3rd, 2012 11:40am

Did you start the Operations Manager shell with Run as Administrator? Check this for information: http://support.microsoft.com/kb/2699998 1. Open PowerShell as an Administrator 2. Load the OperationsManager Module (import-module operationsmanager) 3. Connect to your ManagementGroup (New-SCOMManagementGroupConnection) 4. Use Set-SCOMLicense yourlicensekey 5. To check if changes were executed run Get-SCOMManagementGroup | ft skuforlicense, version, timeofexpiration a Note: This may require a reboot after running in order to register correctly. For more information on the Set-SCOMLicense cmdlet see http://technet.microsoft.com/en-us/library/hh920237.aspxRegards, Mazen Ahmed
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2012 6:45pm

yes, i'm launching the operations manager shell as administrator and tried running these commmands 'n' number of times. I've gone through all the basic commands and links for running it, in our case it seems that we donot have the set-scomlicense cmdlet. if someone knows about that or have seen it before, please respond. Thanks.
May 4th, 2012 10:25am

Don't run Operations Manager Shell from context menu "Run as administrator", cause command line not uses absolute path. If you run Operations Manager Shell from context menu "Run as administrator" then cmd sets work path as %windir%\system32. Logon to server/workstation with OpsMgr Administrator rights and just run Operations Manager Shell without elevation of priveleges or do as Mazen Ahmed sad.
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2012 3:47am

Hi, What version of Operations Manager 2012 are you using, is it RC or RTM?Regards, Mazen Ahmed
May 5th, 2012 6:49am

- tried both, didnt work - it is RC
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2012 9:02am

- tried both, didnt work - it is RC I believe this cmdlet is available only with the RTM version to convert from eval to licensedRegards, Mazen Ahmed
May 7th, 2012 9:12am

That could be the issue, couldnt find any link stating that clearly. Do you have a link to check that ? Thanks
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2012 9:39am

I also have the exact same issue.
May 7th, 2012 10:39am

Mazen has hit the nail on the head - you can't license a Release Candidate version of any product. You can only purchase and license software that is RTM. Regards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2012 11:10am

Awesome guys, Thanks for the reponses !
May 7th, 2012 11:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics