This repository contains interactive PowerShell scripts for managing a Windows machine and its Active Directory environment.
AD_Script.ps1– menu-driven tool to manage Active Directory:- Create, delete, rename or move Organizational Units
- Create, modify or delete groups
- Create, move, reset or disable users
- Apply wallpapers through Group Policy
- Inspect and update password policies
script.ps1– get local system information and manage local users with a simple menu.- Includes example wallpapers (
bbw_dark.pngandbbw_light.png) for the GPO actions.
Run the scripts in a PowerShell session on a Windows host with the required modules installed.
# Example: run the AD management tool
PowerShell -ExecutionPolicy Bypass -File .\AD_Script.ps1The menu will guide you through each action. Make sure you have the necessary administrative rights.
These scripts were created for a school project (module M122) to practice automation on Windows Server. They can serve as a starting point for your own management tools or as examples for working with Active Directory via PowerShell.
Enjoy! 😊