Remote Desktop Session Broker Disable

I have looked at the RDS module and it’s the first time I’ve worked with it. I have to turn off the ability to RDP to a server in an RDS farm during patching and then turn it back on after patching is done. I just need someone to point me at the correct cmdlets, I can do the rest of the work. I see some that look like they would work but they scare me. This is a prod system with no QA environment to test on so I have to tread carefully so I thought I’d reach out to community for a bit of assistance before I bring the house down. Thanks.

Hi Paul,

Why don’t you use the native RDS cmdlets?
https://technet.microsoft.com/en-us/library/jj215451.aspx