Skip to content

A repository with scripts that can be used in the scripted actions area.

License

Notifications You must be signed in to change notification settings

xoap-io/scripted-actions

Repository files navigation

Introduction

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.

Code of Conduct

This project has adopted this Code of Conduct.

Change log

A full list of changes in each version can be found in the Releases.

Documentation

Azure CLI & Bicep

Most of the available scripts are built to use a local Azure CLI configuration file. Find more information here: Azure CLI Configuration.

Azure PowerShell

For Azure PowerShell-related scripts we suggest using the noninteractive authentication with a service principal: Sign in to Azure PowerShell with a service principal.

AWS CLI

For AWS CLI-related scripts we suggest using the AWS CLI configuration file: Configuration and credential file settings.

Prerequisites

Depending on which scripts you want to use, you need to have the following prerequisites installed:

Azure CLI

Azure PowerShell

AWS CLI

AWS PowerShell

Google Cloud SDK

VMware PowerCLI

XenServer PowerShell Module

Nutanix

  • PowerShell with REST API capabilities (no specific module required)
  • Nutanix Prism Central or Prism Element access

Bicep

ARM Templates

See Azure CLI & Azure PowerShell.

Repository Structure

This repository contains automation scripts organized by cloud provider and platform:

Cloud Providers

  • AWS - Amazon Web Services automation (CLI & PowerShell)
    • aws-cli/ - AWS CLI-based scripts for EC2, networking, organizations, security, storage, and WorkSpaces
    • aws-ps/ - AWS PowerShell module scripts for AppStream, EC2, NICE DCV, security, and WorkSpaces
  • 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)
    • gce-cli/ - gcloud CLI scripts for Compute Engine VMs
    • gce-ps/ - Google Cloud PowerShell scripts for VM management

Virtualization Platforms

  • 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

Multi-Cloud Operations

  • XOAP Operations - Cross-platform bulk operations
    • xoap-ops/ - Multi-cloud VM termination, Azure image cleanup, and bulk management scripts

Other Resources

  • 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.

Latest Changes

January 2026

  • ✅ 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

Templates

You can use the provided templates to create your scripts. The templates are located in the templates folder.

About

A repository with scripts that can be used in the scripted actions area.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •