A collection of PowerShell scripts, examples, and utilities for common administration and automation tasks.
This repository contains PowerShell resources organized by technology area. The scripts are intended to help with day-to-day administration, automation, reporting, and configuration tasks across Microsoft and Windows environments.
AD/- Scripts and resources related to Active Directory administration.AzureAD/- Scripts and resources for Azure Active Directory / Microsoft Entra ID scenarios.DocTag2AIP Migration/- Resources related to document tagging and Azure Information Protection migration tasks.Intune/- Scripts and utilities for Microsoft Intune management.Office365/- Scripts for Microsoft 365 and Office 365 administration.Windows/- Windows administration and automation scripts.infra/- Infrastructure-related automation resources.
Requirements may vary by script. In general, you may need:
- PowerShell 5.1 or PowerShell 7+
- Appropriate PowerShell modules for the target service
- Administrative permissions for the environment being managed
- Network access to the relevant Microsoft cloud or on-premises services
Before running any script, review its contents and confirm the required permissions, modules, and parameters.
-
Clone the repository:
git clone https://github.com/luberan/PowerShell.git
-
Open the relevant folder for your scenario.
-
Review the script before execution.
-
Run the script in a test environment first whenever possible.
Example:
cd PowerShell
Get-ChildItem -Recurse -Filter *.ps1- Scripts are provided as general examples and may need to be adapted for your environment.
- Always validate scripts in a non-production environment before using them in production.
- Use appropriate change management and backup procedures when modifying systems or cloud services.
Contributions, improvements, and suggestions are welcome. When adding scripts, please include clear naming, comments, and any required usage notes.
No license information is currently provided. Before reusing or redistributing content from this repository, confirm the applicable permissions with the repository owner.