Author Posts

November 13, 2016 at 9:22 am

How can i configure my server with RDP connection for 4 different users using a
powershell script?.

November 14, 2016 at 12:09 pm

I was asking about how can the PowerShell modify an object inside the Local Group Policy.
I can perform this option over GUI> Run: gpedit.msc>Computer Configuration>Administrative Templates> Windows Components> Remote Desktop Services> Remote Desktop Session Host> Connections> Limit number of connections.

I've searched about how PowerShell can modify Local Group Policy and I found this link:-
https://www.powershellgallery.com/packages/Carbon/2.4.0
and this for Brandon Padgett
http://brandonpadgett.com/powershell/Local-gpo-powershell/

Unfortunately I have no experience with PowerShell, and this task have to be done ASAP.
I'd really appreciate your help.

November 14, 2016 at 12:20 pm

Usually we don't write scripts on request. If you're looking for prewritten sripts you could try it here: Microsoft Technet Script Gallery.

Mostly Goup Policies are just registry settings. You might search for the setting you need and set or change that with Powershell or any other technology you're familiar with.