I will use this post to summarize all commands, one-liners and short scripts that I identify overtime for PowerShell against OpsMgr 2012
Getting Oriented | Import-module OperationsManager | Adds the module into your session so that you can run the OpsMgr cmdlets. Not required in PowerShell v3 |
Get-Help OpsMgr | Shows the about topics provided with the OperationsManager module | |
Get-Help about_OpsMgr_WhatsNew | more
| Shows the “What’s New” topic one page at a time. This topic gives a good overview of what was added and how it differs from the 2007 R2 interface | |
get-help about_OpsMgr_Cmdlet_Names | more
| Shows the cmdlet names topic one page at a time. This topic gives a good overview of how cmdlets are named and how the names align to the 2007 R2 cmdlets | |
get-command -module operationsmanager | more
| Lists all commands provided with the OpsMgr 2012 module | |
Get-help <cmdletName> -detailed | more | This will provide the help content for the cmdlet, including the examples. | |
Get-help <cmdletName> -full| more | This will provide the verbose details on the parameters that are available for the cmdlet. | |
<cmdletName> | Get-Member | This will show you the possible type(s) that a given cmdlet can return and what the methods and properties are on those types. This is especially useful for figuring out what you can use in pipelining cmdlets together. |