This repository is a collection of PowerShell scripts designed to make life easier when managing Azure resources. It includes scripts for managing Machine Learning workspaces, HDInsight clusters, and computer states.
Before you begin, ensure you have met the following requirements:
- You have installed PowerShell
- You have installed Azure CLI
- Login: Log in to your Azure account
- Create VM: Create a new Azure virtual machine
- Create Resource Group: Create a new Azure resource group
- Deploy Template From Your Local Machine: Deploy an Azure Resource Manager template from your local machine
- Deploy Template From External Source: Deploy an Azure Resource Manager template from an external source
- List Deployed Resources: List all deployed resources in your Azure account
- HDInsight Basic: Create a new HDInsight cluster
- Deploy ML: Deploy an Azure Machine Learning workspace and compute instance
- Lock: Lock the workstation
- Shutdown: Shutdown the computer
- Restart: Restart the computer
- Logoff: Log off the current user
- Sleep: Put the computer into sleep mode
Each script can be run individually, depending on your needs. For example, to deploy an Azure Machine Learning workspace and compute instance, you would run:
.\deploy_ml.ps1