remove a group from RDP-TCP with powershell

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 3 months, 3 weeks ago.

  • Author
    Posts
  • #77916

    Suresh krishnan
    Participant

    Dear Community

    I Am trying to remove a group from RDP-TCP with powershell , using below command i can list out the permission . If do get-member there is only addccount method available , removeaccount is not there 🙁 . I need to remove remote desktop users group .. is there a way ? Thanks in advance

    get-WmiObject -Namespace "root/cimv2/terminalservices" -Class win32_tspermissionssetting
    
  • #77950

    Don Jones
    Keymaster

    Not via WMI. If Microsoft hasn't provided that ability then you're kind of stuck.

You must be logged in to reply to this topic.