Azure Resource Manager

How to safely replace Find-AzureRmResource -ResourceType calls in Azure PowerShell 6.x+

Microsoft Azure

How to safely replace Find-AzureRmResource -ResourceType calls in Azure PowerShell 6.x+

UPDATE: 2018-06-28 - Added resourcegroup ODataFilter example. Starting with version 6.0 of Azure PowerShell, Find-AzureRmResource have been removed and Get-AzureRmResource is supposed to be the workaround. My first reflex was to just convert Find-AzureRmResource -ResourceType to Get-AzureRmResource -ResourceType but I was unlucky and hit a regression and an error

By Stephane Lapointe