A collection of PowerShell scripts for Azure infrastructure management and automation.
This repository contains PowerShell scripts organized by Azure service categories. Scripts include proper error handling, parameter validation, and follow PowerShell best practices.
- Organized by Service: Scripts categorized by Azure service (Compute, Storage, Network, etc.)
- PowerShell 7.0+ Compatible: Modern PowerShell syntax and features
- Proper Error Handling: Comprehensive error handling and logging
- Parameter Validation: Input validation and help documentation
- Security Focus: Secure credential handling and compliance features
├── scripts/ # PowerShell scripts organized by Azure service
│ ├── compute/ # Virtual machines and containers
│ ├── storage/ # Storage accounts and databases
│ ├── network/ # Networking and security
│ ├── identity/ # Azure AD and RBAC
│ ├── cost/ # Cost management and optimization
│ ├── monitoring/ # Monitoring and alerting
│ └── utilities/ # General utilities
├── bicep/ # Azure Bicep templates
│ ├── compute/ # VM and compute resources
│ ├── storage/ # Storage account templates
│ └── network/ # Networking templates
├── terraform/ # Terraform configurations
│ ├── compute/ # VM infrastructure
│ ├── storage/ # Storage resources
│ └── network/ # Network infrastructure
├── docs/ # Documentation
├── modules/ # PowerShell modules
└── tests/ # Test scripts
# Install required modules
Install-Module -Name Az -Scope CurrentUser
Install-Module -Name AzureAD -Scope CurrentUser
# Verify PowerShell 7.0+
$PSVersionTable.PSVersion
# Clone the repository
git clone https://github.com/wesellis/TECH-Azure-PowerShell-Toolkit-812-Scripts.git
cd TECH-Azure-PowerShell-Toolkit-812-Scripts
# Connect to Azure
Connect-AzAccount
# Run a script
.\scripts\compute\Azure-VM-List-All.ps1
- Compute: VM management, containers, app services
- Storage: Storage accounts, databases, backup
- Network: Virtual networks, security groups, load balancers
- Identity: Azure AD, RBAC, security policies
- Cost: Cost analysis, optimization, budgets
- Monitoring: Alerts, diagnostics, logging
- Utilities: Helper functions and tools
- Bicep: Azure-native declarative templates
- Terraform: Multi-cloud infrastructure provisioning
See Contributing Guidelines for development setup and standards.
This project is licensed under the MIT License - see the LICENSE file for details.