26.7 C
Singapore
Tuesday, March 28, 2023
HomeActingPowershell command to add user/group into local Administrators

Powershell command to add user/group into local Administrators

Date:

Related stories

Important Powershell commands

Get-CommandGet-HelpGet-ProcessStart-JobConvertTo-HTMLOut-FileExport-CSVStop-ProcessGet-ServiceGet-History

SYMRDF failover /failback commands

symrdf -g mydg establish -full symrdf -g mydg query symrdf -g mydg split

Storage Administrator CLI commands

Using the ssacli tool Command short and long names All commands have a...
spot_imgspot_img

Add-LocalGroupMember -Group “Administrators” -Member “domain\user or group,” “additional users or groups.”

Add-LocalGroupMember -Group “Administrators” -Member “username”
Add-LocalGroupMember -Group “Administrators” -Member “MicrosoftAccount\[email protected]
Remove-LocalGroupMember -Group “Administrators” -Member “the same as for adding a user or group”

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories

spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here