In this recipe, we will use a PowerShell script to create a virtual machine on Azure. In its essence, it is simply a series of instructions in PowerShell that are executed one after the other, as we have already seen in the previous chapters in this book.
Provisioning Linux VM using PowerShell script
Getting ready
If you followed the recipes in the previous chapters, you should already have Visual Studio Code installed on your system. If not, go ahead and install VS Code, following the instructions in the Installing Visual Studio Code recipe in Chapter 2, Preparing for Administration Using PowerShell.
Once you have Visual Studio Code installed, follow these steps to get started:
- Launch Visual Studio Code
- Open the integrated...