SCOM 2012: Powershell overview

Share on Social Media

Just a quick refference for the SCOM 2012 powershell cmdlets. The same information is available within the SCOM shell.

Technet detailed help is a site with detailed help for each cmdlet, including examples.

————————————————————————

OPERATIONS MANAGER 2012 MODULE NAME

————————————————————————

Operations Manager 2007 snap-in

Microsoft.EnterpriseManagement.OperationsManager.Client

Operations Manager 2012 module

OM10

————————————————————————

NEW OPERATIONS MANAGER 2012 CMDLETS

————————————————————————

Enable-SCOMAgentProxy

Disable-SCOMAgentProxy

Enable-SCOMDiscovery

Disable-SCOMDiscovery

Set-SCOMManagementGroupConnection

Enable-SCOMMonitor

Disable-SCOMMonitor

Enable-SCOMMonitoringRule

Disable-SCOMMonitoringRule

Get-SCOMRunAsProfile

Update-SCOMRunAsProfile

————————————————————————

RENAMED CMDLETS

————————————————————————

Operations Manager 2007                      Name Operations Manager 2012 Name

—————————-                         —————————-

Get-Agent                                                       Get-SCOMAgent

Install-Agent                                                  Install-SCOMAgent

Uninstall-Agent                                             Uninstall-SCOMAgent

Approve-AgentPendingAction                    Approve-SCOMPendingManagement

Get-AgentPendingAction                             Get-SCOMPendingManagement

Reject-AgentPendingAction                        Deny-SCOMPendingManagement

Get-Alert                                                          Get-SCOMAlert

Resolve-Alert                                                   Set-SCOMAlert

Set-AlertDestination                                       Set-SCOMAlert

Get-AlertHistory                                              Get-SCOMAlertHistory

Get-Connector                                                  Get-SCOMConnector

Get-Diagnostic                                                  Get-SCOMDiagnostic

Remove-DisabledMonitoringObject             Remove-SCOMDisabledClassInstance

Get-Discovery                                                    Get-SCOMDiscovery

Get-Event                                                           Get-SCOMEvent

Get-FailoverManagementServer                   Get-SCOMAgentManagementServerSetting

Get-GatewayManagementServer                  Get-SCOMGatewayManagementServer

Get-MaintenanceWindow                               Get-SCOMMaintenanceMode

New-MaintenanceWindow                             Start-SCOMMaintenanceMode

Set-MaintenanceWindow                               Update-SCOMMaintenanceMode

Get-ManagementGroupConnection             Get-SCOMManagementGroupConnection

New-ManagementGroupConnection           New-SCOMManagementGroupConnection

Remove-ManagementGroupConnection    Remove-SCOMManagementGroupConnection

Export-ManagementPack                              Export-SCOMManagementPack

Get-ManagementPack                                    Get-SCOMManagementPack

Install-ManagementPack                               Import-SCOMManagementPack

Uninstall-ManagementPack                          Remove-SCOMManagementPack

Get-ManagementServer                                 Get-SCOMManagementServer

Set-ManagementServer                                  Set-SCOMAgentManagementServerSetting

Set-ManagementServer                                  Set-SCOMAgentManagementServerSetting

Get-Monitor                                                      Get-SCOMMonitor

Get-MonitorHierarchy                                    Get-SCOMMonitor

Get-MonitoringClass                                       Get-SCOMClass

Get-MonitoringObject                                     Get-SCOMClassInstance

Get-MonitoringObjectGroup                         Get-SCOMGroup

Get-NotificationAction                                    Get-SCOMNotificationAction

Get-NotificationEndpoint                               Get-SCOMNotificationEndpoint

Get-NotificationRecipient                               Get-SCOMNotificationRecipient

Disable-NotificationSubscription                  Disable-SCOMNotificationSubscription

Enable-NotificationSubscription                   Enable-SCOMNotificationSubscription

Get-NotificationSubscription                          Get-SCOMNotificationSubscription

Get-Override                                                       Get-SCOMOverride

Get-PrimaryManagementServer                    Get-SCOMAgentManagementServerSetting

Set-ProxyAgent                                                  Set-SCOMAgentlessManagedComputer

Get-Recovery                                                      Get-SCOMRecovery

Get-RelationshipClass                                      Get-SCOMRelationship

Get-RelationshipObject                                   Get-SCOMRelationshipInstance

Add-RemotelyManagedComputer                Add-SCOMAgentlessManagedComputer

Get-RemotelyManagedComputer                 Get-SCOMAgentlessManagedComputer

Remove-RemotelyManagedComputer         Remove-SCOMAgentlessManagedComputer

Get-ResultantCategoryOverride                    Get-SCOMOverride

Get-ResultantRuleOverride                            Get-SCOMOverride

Get-ResultantUnitMonitorOverride             Get-SCOMOverride

Get-Rule                                                             Get-SCOMMonitoringRule

Get-RunAsAccount                                          Get-SCOMRunAsAccount

Get-Task                                                             Get-SCOMTask

Start-Task                                                          Start-SCOMTask

Get-TaskResult                                                 Get-SCOMTaskResult

Get-UserRole                                                    Get-SCOMUserRole

Add-UserToUserRole                                      Update-SCOMUserRole

————————————————————————

DEPRECATED OPERATIONS MANAGER 2007 CMDLETS

————————————————————————

Install-AgentByName

Get-AlertDestination

Remove-ConnectorFromTier

Add-ConnectorToTier

New-CustomMonitoringObject

Get-DefaultSetting

Set-DefaultSetting

New-DeviceDiscoveryConfiguration

Get-Diagnostic

Start-Discovery

New-LdapQueryDiscoveryCriteria

Get-MonitoringClassProperty

Get-MonitoringObjectPath

Get-MonitoringObjectProperty

New-MonitoringPropertyValuePair

Get-NotificationAction

Get-NotificationEndpoint

Get-NotificationRecipient

Disable-NotificationSubscription

Enable-NotificationSubscription

Get-NotificationSubscription

Get-OperationsManagerCommand

Get-PerformanceCounter

Get-PerformanceCounterValue

Get-Recovery

Add-RemotelyManagedDevice

Get-RemotelyManagedDevice

Remove-RemotelyManagedDevice

Get-RootManagementServer

Disable-Rule

Enable-Rule

Get-State

Get-Tier

New-Tier

Remove-Tier

New-WindowsDiscoveryConfiguration

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.