SCOM PowerShell command | Get-SCOMagent , get-scomalert, Get-SCOMManagementPack

 

Cmdlet to list out the agent 

Get-SCOMAgent

 


Get-SCOMAgent | FT -Property displayName, version, ActionAccountIdentity, ProxyingEnabled, HealthState 



Get-SCOMAgent | where {$_.healthstate -eq "success"} |select Name,healthstate, version 



Get-SCOMAgent | where {$_.healthstate -eq "warning"} | select Name,version,healthstate 

 

 

 

 

 

 

Cmdlet to get a list of Management packs


Get-SCOMManagementPack 

 

 

 

 

 

Command to get sealed and unsealed Management pack

 

Get-SCOMManagementPack |where {$_.sealed -eq "true"} |Select name, DisplayName 

 

 

Get-SCOMManagementPack |where {$_.sealed -eq "false"} |Select name, DisplayName 

 

 

 

 

 


Cmdlet to get SCOM alert

Get-SCOMAlert 




Cmdlet to get alert of particular component.


Get-SCOMAlert -Name "*heartbeat*" 

 

 

 

 

 

 

 

Cmdlet to get alert historical alert

Get-SCOMAlert -ComputerName scom | where {$_.severity -eq "error"} | FL

 

 



1 comment:

  1. No deposit bonus casinos - Betting Sites 777
    No 뉴 포커 디펜스 deposit bonuses are a 999betasia great way 바인드 토토 for new casino 올레 벳 players to enjoy more exciting casino games and promotions. Read our online 마이크로 게이밍 casino review for more.

    ReplyDelete

Featured Post

HPE MSA 2040 configuration step by step

HPE MSA 2040 configuration Default IP range for HP SAN storage MSA 2040 is 10.0.0.1/2 You need to connect your laptop and storage with...