Add-LocalGroupMember

Welcome Forums General PowerShell Q&A Add-LocalGroupMember

This topic contains 4 replies, has 2 voices, and was last updated by

MvW
 
Participant
3 months, 3 weeks ago.

  • Author
    Posts
  • #109519
    MvW

    Participant
    Points: 1
    Rank: Member

    Is there a possibility to disable  Add-LocalGroupMember -Group "Administrators" -Member "user123"  on a windows 10 machine

  • #109520

    Participant
    Points: 894
    Helping Hand
    Rank: Major Contributor

    Didn't get your question. Is it about making the cmdlet not available ?

  • #109526
    MvW

    Participant
    Points: 1
    Rank: Member

    Correct, making the cmdlet not available ?

  • #109531

    Participant
    Points: 894
    Helping Hand
    Rank: Major Contributor

    You hero here will be JEA and is well documented here.

  • #109778
    MvW

    Participant
    Points: 1
    Rank: Member

    How can I make that the cmdlet Add-LocalGroupMember is unavailable in PSRoleCapabilityFile ( psrc file ) 

The topic ‘Add-LocalGroupMember’ is closed to new replies.