Showing posts with label commandshell. Show all posts
Showing posts with label commandshell. Show all posts

Monday, 25 May 2015

PowerShell Command to repair SCOM agent

PowerShell Command to repair SCOM agent


  • There are many different ways to repair a SCOM agent.
  • Most preferred way is to Use SCOM console Right Click and select repair option.
  • Another way is to Use Command Shell command
  • "REPAIR-SCOMAGENT" is the command you have to use to repair the SCOM agent.
  • By default it uses the SCOM action account to repair the agent.So make sure it have sufficient rights on the server