Export (0) Print
Expand All

Using Operations Manager Shell

 

In System Center 2012 – Operations Manager, the Operations Manager Shell is installed with the Operations Manager console; it provides a command-line environment and task-based scripting technology that you can use to automate many Operations Manager administrative tasks.

The Operations Manager Shell is built on Windows PowerShell. The Operations Manager Shell extends Windows PowerShell with an additional set of cmdlets, which can either be run directly from the command shell prompt or called from within a script. Cmdlets can be used individually to perform a specific task, or they can be combined with other cmdlets to perform complex administrative tasks. Unlike traditional command-line environments that work by returning text results to the end user or routing (“piping”) text to different command-line utilities, Windows PowerShell manipulates Microsoft .NET Framework objects directly. This provides a more robust and efficient mechanism for interacting with the system.

To open the Operations Manager Shell, click Start, click All Programs, click Microsoft System Center 2012, click Operations Manager, and then click Operations Manager Shell. You can also import the Operations Manager module into an existing Windows PowerShell session by typing the following at the command prompt:

Import-Module –Name OperationsManager

You can access cmdlet help in the Operations Manager Shell by typing Get-Help cmdlet name or view the help online at Cmdlets in System Center 2012 – Operations Manager.

To learn more about Windows PowerShell, see Windows PowerShell Getting Started Guide.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft