Useful PowerShell Commands for Operations Manager 2007

Useful PowerShell Commands for Operations Manager 2007

Useful PowerShell Commands for Operations Manager 2007
Last Update on 14-03-2012



Get list Operations Manager Commands
on 29-02-2012

Get-OperationsManagerCommand

 


Get list of unavailable/unresponsive agents
on 28-02-2012

Get-Monitoringclass -name "Microsoft.Windows.Computer" | Get-MonitoringObject | Where-Object {$_.IsAvailable -eq $False} | Select-Object  DisplayName, IsAvailable | Format-Table

 


Resolve the healthserviceid to Agent Name
on 28-02-2012

Get-Agent | Where-Object {$_.hostedHealthService.id -eq "healthserviceid"} | Select-Object name

 


Export All Unsealed Management Packs
on 28-02-2012

md C:\UnsealedMPBackup
Get-ManagementPack | where {$_.Sealed -eq $false} | Export-Managementpack -path C:\UnsealedMPBackup



Get the Management Server information including the Management Server Action Account identity
on 29-02-2012

Get-ManagementServer | Select-Object DisplayName, IsRootManagementServer, ActionAccountIdentity, HealthState | Format-Table -autosize


Get the User Roles and its Members on 14-03-2012

Get-Userrole | Select-Object DisplayName, Users

Sort by: Published Date | Most Recent | Most Useful
Comments
  • Maheshkumar S Tiwari edited Revision 4. Comment: Added tags

  • Maheshkumar S Tiwari edited Revision 5. Comment: Added tags

Page 1 of 1 (2 items)