18 Mar 2011

Powershell Cmdlets for SCOM 2007 R2


PsSnapin is called: Microsoft.EnterpriseManagement.OperationsManager.Client


get-help * | where {$_.pssnapin -like "*Enter*"} | sort name | select name,synopsis | ft –auto





Name
Synopis
Add-ConnectorToTier
Configures an Operations Manager Connector Framework connector for a specified tier.
Add-RemotelyManagedComputer
Adds a remotely-managed computer to an agent.
Add-RemotelyManagedDevice
Adds a remotely managed device to an agent.
Add-UserToUserRole
Adds the specified user to an Operations Manager role.
Approve-AgentPendingAction
Approves the specified agent pending action.
Disable-NotificationSubscription
Disables a notification subscription.
Disable-Rule
Disables a rule.
Enable-NotificationSubscription
Enables a notification subscription.
Enable-Rule
Enables a rule.
Export-ManagementPack
Exports a management pack to a file.
Get-Agent
Gets the agents associated with the specified management server.
Get-AgentPendingAction
Gets agent-pending actions.
Get-Alert
Gets the specified alerts.
Get-AlertDestinatin
Gets the connector to which the alert is forwarded.
Get-AlertHistory
Get the history for the specified alerts.
Get-Connector
Get the connectors for a management group.
Get-DefaultSetting
Gets the default settings for a management group.
Get-Diagnostic
Returns the available diagnostics.
Get-Discovery
Returns available discoveries.
Get-Event
Gets events.
Get-FailoverManagementServer
Returns the failover management servers.
Get-GatewayManagementServer
Returns the gateway management servers.
Get-MaintenanceWindow
Gets maintenance window information.
Get-ManagementGroupConnection
Gets all open Management Group connections.
Get-ManagementPack
Gets imported management packs
Get-ManagementServer
Gets management servers.
Get-Monitor
Gets management pack monitors.
Get-MonitorHierarchy
Retrieves the hierarchy of monitors for a particular monitoring object.
Get-MonitoringClass
Gets monitoring classes.
Get-MonitoringClassProperty
Gets the properties of a specified monitoring class.
Get-MonitoringObject
Gets monitoring objects.
Get-MonitoringObjectGroup
Returns the list of monitoring object groups.
Get-MonitoringObjectPath
Gets path to a monitoring object.
Get-MonitoringObjectProperty
Gets properties and associated values of monitoring objects.
Get-NotificationAction
Gets notification actions.
Get-NotificationEndpoint
Gets notification end points.
Get-NotificationRecipient
Gets notification recipients.
Get-NotificationSubscription
Gets notification subscriptions.
Get-OperationsManagerCommand
Returns all cmdlets that are provided by Operations Manager.
Get-Override
Gets management pack overrides.
Get-PerformanceCounter
Gets performance counters.
Get-PerformanceCounterValue
Gets data associated with a specified performance counter.
Get-PrimaryManagementServer
Returns the primary management server.
Get-Recovery
Returns available recovery objects.
Get-RelationshipClass
Gets monitoring relationship classes.
Get-RelationshipObject
Gets monitoring relationship objects.
Get-RemotelyManagedComputer
Gets remotely managed computers.
Get-RemotelyManagedDevice
Gets remotely managed devices.
Get-ResultantCategoryOverride
Gets resultant category overrides.
Get-ResultantRuleOverride
Gets resultant rule overrides.
Get-ResultantUnitMonitorOverride
Gets resultant monitor overrides.
Get-RootManagementServer
Returns the root management server.
Get-Rule
Gets monitoring rules.
Get-RunAsAccount
Gets run as accounts.
Get-State
Gets monitoring state for specified monitoring objects.
Get-Task
Gets monitoring tasks.
Get-TaskResult
Gets monitoring task results.
Get-Tier
Gets tiered management groups.
Get-UserRole
Gets user roles.
Install-Agent
Installs agents.
Install-AgentByName
Installs an Operations Manager agent on the specified computer.
Install-ManagementPack
Installs a management pack.
New-CustomMonitoringObject
Creates a custom monitoring object.
New-DeviceDiscoveryConfiguration
Creates an object that represents settings to use to discover devices.
New-LdapQueryDiscoveryCriteria
Creates a new LdapQueryDiscoveryCriteria object used to discover computers.
New-MaintenanceWindow
Puts the specified monitoring object into maintenance mode.
New-ManagementGroupConnection
Creates a new connection to a management group or tiered management group.
New-MonitoringPropertyValuePair
Creates a new monitoring property-value pair object.
New-Tier
Creates a new tier connection.
New-WindowsDiscoveryConfiguration
Creates an object that describes computers to discover.
Reject-AgentPendingAction
Rejects the specified agent pending action.
Remove-ConnectorFromTier
Removes an Operations Manager Connector Framework connector from a specified tier.
Remove-DisabledMonitoringObject
Removes all monitoring objects for which discovery is disabled.
Remove-ManagementGroupConnection
Removes a connection to a management group.
Remove-RemotelyManagedComputer
Removes a remotely managed computer from an agent.
Remove-RemotelyManagedDevice
Removes a remotely managed device from an agent.
Remove-Tier
Removes a tier.
Resolve-Alert
Resolves an alert.
Set-AlertDestination
Sets the Operations Manager Connector Framework connector  to which the specified alert will be forwarded.
Set-DefaultSetting
Sets default settings.
Set-MaintenanceWindow
Sets properties of a maintenance window.
Set-ManagementServer
Sets the management server of an agent.
Set-ProxyAgent
Sets the proxy agent for a remotely managed computer or device.
Start-Discovery
Starts a discovery task for discovering devices or computers.
Start-Task
Starts a task.
Uninstall-Agent
Uninstalls the Operations Manager agent from managed computers.
Uninstall-ManagementPack
Uninstalls a management pack.

No comments:

Post a Comment