Cloud Pen-testing Part-2
## Microsoft Azure & O365 CLI Tool Cheatsheet (Part - 2)
### Virtual Machines
#### List VMs and get OS details
```powershell
Get-AzVM
$vm = Get-AzVM -Name "VM Name"
$vm.OSProfileInvoke-AzVMRunCommand -ResourceGroupName $ResourceGroupName -VMName $VMName -CommandId RunPowerShellScript -ScriptPath ./powershell-script.ps1Networking
Get-AzVirtualNetworkGet-AzPublicIpAddressGet-AzExpressRouteCircuitBackdoors
MSOnline PowerShell Module
Az CLI Tool
Metadata Service URL
Other Azure & O365 Tools
Last updated