We can use poweshell and collect all the information regarding running VM on the Azure. Below is the script #Provide the subscription name $subscriptionId = “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx” #Name of the csv file created $report = $subscriptionId+”.csv” Select-AzSubscription $subscriptionId$details = @()$vms = Get-AzVM$publicips = Get-AzPublicIpAddress$nics = Get-AzNetworkInterface | ?{ $_.VirtualMachine -NE $null}foreach ($nic in $nics) {$info = […]
