This repository hosts scripts for the Scripted Actions area, which is part of the XOAP platform. They are provided as-is and are not officially supported by XOAP. Use them at your own risk. Always test them in a non-production environment before using them in production.
This project has adopted this Code of Conduct.
A full list of changes in each version can be found in the Releases.
Most of the available scripts are built to use a local Azure CLI configuration file. Find more information here: Azure CLI Configuration.
For Azure PowerShell-related scripts we suggest using the noninteractive authentication with a service principal: Sign in to Azure PowerShell with a service principal.
For AWS CLI-related scripts we suggest using the AWS CLI configuration file: Configuration and credential file settings.
Depending on which scripts you want to use, you need to have the following prerequisites installed:
- Google Cloud SDK (includes gcloud CLI)
- Google Cloud PowerShell
- VMware PowerCLI - Install via
Install-Module -Name VMware.PowerCLI
- XenServerPSModule - Download from Citrix XenServer SDK
- PowerShell with REST API capabilities (no specific module required)
- Nutanix Prism Central or Prism Element access
See Azure CLI & Azure PowerShell.
This repository contains automation scripts organized by cloud provider and platform:
- AWS - Amazon Web Services automation (CLI & PowerShell)
- Azure - Microsoft Azure automation (CLI & PowerShell)
- azure-cli/ - Azure CLI scripts for AVD, networking, resource management, security, storage, and VMs
- azure-ps/ - Azure PowerShell scripts for AVD, Azure Stack HCI, and security
- Google Cloud - GCP automation (CLI & PowerShell)
- Nutanix - Nutanix AHV automation
- nutanix-cli/ - Scripts for infrastructure, storage, and VM management via REST API
- VMware vSphere - vSphere automation with PowerCLI
- vsphere-cli/ - Scripts for infrastructure, monitoring, and VM management
- Citrix XenServer - XenServer/XCP-ng automation
- xenserver-cli/ - Scripts for infrastructure, network, storage, and VM operations
- XOAP Operations - Cross-platform bulk operations
- xoap-ops/ - Multi-cloud VM termination, Azure image cleanup, and bulk management scripts
- PowerShell - Windows Server management
- powershell/ - Remote Desktop Services deployment and optimization scripts
- Templates - Script templates and patterns
- templates/ - Starter templates for creating new automation scripts
Each directory contains a comprehensive README.md with usage examples, best practices, and prerequisites specific to that platform or service.
- ✅ Added comprehensive README.md files to all script directories (37 total)
- ✅ Documented prerequisites, usage examples, and best practices for each platform
- ✅ Added XenServer/XCP-ng PowerShell scripts for VM, infrastructure, network, and storage management
- ✅ Enhanced pre-commit configuration with PowerShell-specific validation hooks
- ✅ Standardized documentation format across all cloud providers and platforms
You can use the provided templates to create your scripts.
The templates are located in the templates folder.