November 2018
Intermediate to advanced
566 pages
17h 15m
English
Run the following commands, one after the other, to perform the required operations on the virtual machine:
PS Azure:> $ResourceGroup = 'packtpub-rg'PS Azure:> $Vm = 'packtpub-ubuntu'PS Azure:> Stop-AzureRmVM -ResourceGroupName $ResourceGroup -Name $Vm -Force
PS Azure:> Get-AzureRmVM | Where-Object {$_.Name -match "ubun"}ResourceGroupName Name Location VmSize OsType NIC ProvisioningState Zone----------------- ---- -------- ------ ------ --- ----------------- ----PACKTPUB-RG packtpub-ubuntu eastus ...Read now
Unlock full access