Solved

script the maintenance mode for media agent

  • 6 September 2021
  • 1 reply
  • 568 views

Userlevel 4
Badge +14

Hello,

I want to automate the maintenance mode to allow SCCM to patch the Media agents.

We have a gridstor of 2 media agents that are used a lot.

I want to script this part. 

put a media agent in maintenance mode.

Get the confirmation that the MA is in maintenance mode.

Allow SCCM administrators to patch the Windows  media agent.

The SCCM Admin will reboot the MA.

After that I disable the maintenance mode on the MA to allow it to take backups again

Can you help me to get the correct command for the highlited lines please ?

 

Thanks !

 

 

 

icon

Best answer by MichaelCapon 6 September 2021, 11:57

View original

1 reply

Userlevel 6
Badge +14

Hey @Bloopa ,

 

Check out this thread: 

 

Hope that helps.

 

Best Regards,

Michael

Reply