A collection of PowerShell scripts designed for administrative tasks. These scripts are tailored for IT administrators, enabling them to manage, configure, and monitor systems more efficiently.
This repository contains a set of simple PowerShell scripts aimed at helping administrators streamline routine tasks in Windows environments. With a focus on ease-of-use and flexibility, they can be applied in various IT workflows.
To run these scripts, you will need:
-
Windows PowerShell (version 5.1 or higher) or PowerShell Core.
-
Administrative privileges, as some scripts require elevated permissions.
-
(Optional) Modules like
ActiveDirectory
for specific tasks, which can be installed via:Install-Module -Name ActiveDirectory
-
Clone the repository to your local machine:
git clone https://github.com/gsmdt42/PowerShell.git
cd PowerShell
-
Ensure that execution policies are set to allow the running of scripts:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Each script comes with documentation and examples within the file itself. Below is a general overview:
-
Running a script: Navigate to the script's directory and execute:
.\ScriptName.ps1
-
Running a script with parameters: Some scripts could include parameters for flexibility. For instance:
.\ScriptName.ps1 -Parameter1 Value1 -Parameter2 Value2
-
Scheduled tasks: To automate, use Task Scheduler or cron jobs (for PowerShell Core on Linux) to run these scripts periodically.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/NewFeature
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature/NewFeature
). - Open a Pull Request.
Distributed under the GPL-3.0 License. See LICENSE
file for more details.
Maintainer: Gianni Schmidt
For issues or suggestions, please open an issue in this repository or reach out directly.