PowerShell Script to Add Domain Group to Remote Desktop Users Group

The below PowerShell script will Add an Active Directory Domain Group to Computer Local Remote Desktop Users Group. #!powershell# Setup Key Values###################################$GrouptoAdd = "YourGroupName"# Adding Domain Group to Remote Desktop Users Group####################################################write-host " " write-host "Adding Domain Group $GrouptoAdd to Remote Desktop Users Group" -ForegroundColor Yellowwrite-host " "$GroupObj = [ADSI]”WinNT://localhost/Remote Desktop Users”$GroupObj.Add(“WinNT://knowledgeascent.com/$GrouptoAdd”) [...]