JamesNT
asked on
Disable Remote Desktop Gateway RD CAP and RD RAP via PowerShell
Our Remote Desktop Gateway is Windows Server 2016.
I need to be able to disable a RD CAP and RD RAP via powershell. We are going to set up a scheduled task to run the script to disable certain RD CAP and RD RAP rules. So I need to be able to disable the rules by name.
Ideas?
James
I need to be able to disable a RD CAP and RD RAP via powershell. We are going to set up a scheduled task to run the script to disable certain RD CAP and RD RAP rules. So I need to be able to disable the rules by name.
Ideas?
James
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Import-Module RemoteDesktopServices
Push-Location RDS:\GatewayServer\CAP\myr
Set-Item myrule 0
JamesNT