title: Azure Advisor Recommendations using PowerShell
body: <p>Get-AzAdvisorRecommendation -Category Cost  | Where-Object {$_.ImpactedField -eq &quot;Microsoft.Compute/virtualMachines&quot;}</p>
  <p><strong>I'm trying to get the Cost Property for Virtual MAchines on &quot;Shut down or resize your virtual machine&quot; but not able to get it similar with the Data shows in portal</strong></p>
  <p>Automate the advisor recommendations using PowerShell.</p>