title: Check If Azure Resource Group Exist - Azure Powershell
body: <p>I'm trying to verify if ResourceGroup exist or not so i thought that following code should return true or false, but it doesn't output anything.</p>
  
  <pre><code>$RSGtest = Find-AzureRmResource | Format-List ResourceGroupName | get-unique
  $RSGtest -Match "$myResourceGroupName"
  </code></pre>
  
  <p>Why am I not getting any output?</p>