Skip to content

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.

Notifications You must be signed in to change notification settings

WandiJustin/Add-LocalAdminRights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published