Skip to content

About

A short script to add a active directory group as local administrator on all servers of a domain. This script works with older powershell versions as of example the powershell version that is installed on Windows Server 2012.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Add-LocalAdminRights

I was tasked with creating a powershell script with the following expectations:

  • 🍸 Adds the active directory group "Server_Local_Admin" to the local administrators
  • 📵 On all windows servers except the domain controllers
  • 📝 Creates an log with the servers that are done
  • 🚀 Works with older powershell versions (Windows Server 2012 use an older powershell version)

The complete powershell script is in this repository.

About

A short script to add a active directory group as local administrator on all servers of a domain. This script works with older powershell versions as of example the powershell version that is installed on Windows Server 2012.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages