Skip to main content

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 !

 

 

 

Hey @Bloopa ,

 

Check out this thread: 

 

Hope that helps.

 

Best Regards,

Michael


Reply