Lab 08 - Manage Virtual Machines (Task5~Task6)_Cloudshell(用powershell跟bash方式)
Task 5: Create a virtual machine using Azure PowerShell Use the icon (top right) to launch a Cloud Shell session. Alternately, navigate directly to https://shell.azure.com. 若直接網址列這樣訪問會跳出以下視窗 這邊在登入時候從右上角去點開也OK 選好按Apply Be sure to select PowerShell. If necessary, configure the shell storage. Run the following command to create a virtual machine. When prompted, provide a username and password for the VM. While you wait check out the New-AzVM command reference for all the parameters associated with creating a virtual machine. New-AzVm ` -ResourceGroupName 'AZ-104-M8-A728GIWJRI' ` -Name 'myPSVM' ` -Location 'East US' ` -Image 'Win2019Datacenter' ` -Zone '1' ` -Size 'Standard_D2s_v3' ` -Credential (Get-Credential) Once the command completes, use Get-AzVM to list the virtual machines in your resource group. Get-AzVM ` -ResourceGroupName 'AZ-104-M8-A728GIWJRI' ` -Status Verify your new virtual machine is listed and the Status is Runnin...