remove a group from RDP-TCP with powershell

Welcome Forums General PowerShell Q&A remove a group from RDP-TCP with powershell

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
1 year, 3 months ago.

  • Author
    Posts
  • #77916

    Participant
    Points: 1
    Rank: Member

    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

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

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

The topic ‘remove a group from RDP-TCP with powershell’ is closed to new replies.