Powershell can be used to retrieve both ARM and ASM VMs as well. This means when executing queries, the type info is not there in the context.. One issue Ive run into was the fact that getting the most recent IPs was inconsistent sometimes I would change an IP (be it either private or public) against a VM and ARG would show the result immediately, other times it would take hours for the new IP to show in the result of the ARG query. From the list of commands, pick RunPowerShellScript. Example: The below cmdlet will show you the list of Azure virtual machine properties under the Demo123 resource group. Even if you keep yourself active in that session, Cloud Shell still issues tokens valid for 1h, so the cmdlets running will start erroring out after that time, with the dreaded The access token expiry UTC time