Skip to content

HebertSeven/RemoveGroupFromLocalAdmins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

RemoveGroupFromLocalAdmins

Check if, for example, the "Domain Users" group for the abc.corp domain is present in the local Administrators group. If it is, remove the group.


How to run:

Just copy or download the RemoveGroupFromLocalAdmins.ps1 and run on any computer or server that meets the requirements below.

Requirements:

The script must be run with the following requirements:

  • Must be run with administrator rights to remove groups
  • PowerShell 5.1 or later

About

Check if, for example, the "Domain Users" group for the abc.corp domain is present in the local Administrators group. If it is, remove the group.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors