11 nov. 2011

OpsMgr2012 powershell cmdlets

With OM2012, we couple of new cmdlets has been introduced and other has been removed. You will probably have to rewrite some scripts...



70 cmdlets added


Get-SCClass 
Get-SCDiscovery 
Get-SCManagementGroupConnection 
Get-SCManagementPack 
Get-SCOMAccessLicense 
Get-SCOMAgent 
Get-SCOMAgentlessManagedComputer 
Get-SCOMAgentManagementServerSetting 
Get-SCOMAlert 
Get-SCOMAlertHistory 
Get-SCOMClass 
Get-SCOMClassInstance 
Get-SCOMCommand 
Get-SCOMConnector 
Get-SCOMDiagnostic 
Get-SCOMDiscovery 
Get-SCOMEvent 
Get-SCOMGatewayManagementServer 
Get-SCOMGroup 
Get-SCOMMaintenanceMode 
Get-SCOMManagementGroupConnection 
Get-SCOMManagementPack 
Get-SCOMManagementServer 
Get-SCOMMonitor 
Get-SCOMNotificationAction 
Get-SCOMNotificationEndpoint 
Get-SCOMNotificationRecipient 
Get-SCOMNotificationSubscription 
Get-SCOMOverride 
Get-SCOMOverrideResult 
Get-SCOMPendingManagement 
Get-SCOMRecovery 
Get-SCOMRelationship 
Get-SCOMRelationshipInstance 
Get-SCOMResourcePool 
Get-SCOMRMSEmulator 
Get-SCOMRule 
Get-SCOMRunAsAccount 
Get-SCOMRunAsProfile 
Get-SCOMTask 
Get-SCOMTaskResult 
Get-SCOMUserRole 
Get-SCRelationship 
Get-SCRelationshipInstance 
Import-SCManagementPack 
Import-SCOMManagementPack 
Install-SCOMAgent 
New-SCManagementGroupConnection 
New-SCOMManagementGroupConnection 
New-SCOMResourcePool 
Remove-SCManagementGroupConnection 
Remove-SCManagementPack 
Remove-SCOMAgentlessManagedComputer 
Remove-SCOMDisabledClassInstance 
Remove-SCOMManagementGroupConnection 
Remove-SCOMManagementPack 
Remove-SCOMResourcePool 
Remove-SCOMRMSEmulator 
Set-SCManagementGroupConnection 
Set-SCOMAgentlessManagedComputer 
Set-SCOMAgentManagementServerSetting 
Set-SCOMAlert 
Set-SCOMMaintenanceMode 
Set-SCOMManagementGroupConnection 
Set-SCOMResourcePool 
Set-SCOMRMSEmulator 
Set-SCOMRunAsProfile 
Set-SCOMUserRole 
Start-SCOMMaintenanceMode 
Start-SCOMTask 




List of cmdlets removed (replaced indeed)  :



Get-MonitoringObjectGroup 
Get-MonitoringObjectPath 
Get-MonitoringObjectProperty 
Get-NotificationAction 
Get-NotificationEndpoint 
Get-NotificationRecipient 
Get-NotificationSubscription 
Get-OperationsManagerCommand 
Get-Override 
Get-PerformanceCounter 
Get-PerformanceCounterValue 
Get-PrimaryManagementServer 
Get-Recovery 
Get-RelationshipClass 
Get-RelationshipObject 
Get-RemotelyManagedComputer 
Get-RemotelyManagedDevice 
Get-ResultantCategoryOverride 
Get-ResultantRuleOverride 
Get-ResultantUnitMonitorOverride 
Get-RootManagementServer 
Get-Rule 
Get-RunAsAccount 
Get-State 
Get-Task 
Get-TaskResult 
Get-Tier 
Get-UserRole 
Install-Agent 
Install-AgentByName 
Install-ManagementPack 
New-CustomMonitoringObject 
New-DeviceDiscoveryConfiguration 
New-LdapQueryDiscoveryCriteria 
New-MaintenanceWindow 
New-ManagementGroupConnection 
New-MonitoringPropertyValuePair 
New-Tier 
New-WindowsDiscoveryConfiguration 
Reject-AgentPendingAction 
Remove-ConnectorFromTier 
Remove-DisabledMonitoringObject 
Remove-ManagementGroupConnection 
Remove-RemotelyManagedComputer 
Remove-RemotelyManagedDevice 
Remove-Tier 
Resolve-Alert 
Set-AlertDestination 
Set-DefaultSetting 
Set-MaintenanceWindow 
Set-ManagementServer 
Set-ProxyAgent 
Start-Discovery 
Start-Task 
Uninstall-Agent 
Uninstall-ManagementPack 


Aucun commentaire: