I am looking for a way to remove the Remote Desktop Services server role on Windows server 2008 R2 remotely from a command prompt or power shell.
Thanks
I am looking for a way to remove the Remote Desktop Services server role on Windows server 2008 R2 remotely from a command prompt or power shell.
Thanks
You want either the Remove-WindowsFeature
cmdlet, or ServerManagerCmd.exe
.
This is well documented on TechNet.