title: How to run Azure Powershell Cmdlets in Visual Studio
body: <pre><code>Install-Module AzureAD 
  $password = ConvertTo-SecureString "password" -AsPlainText -Force
  $Cred = New-Object System.Management.Automation.PSCredential ("username@dev.com", $password)
  Connect-AzureAD -Credential $Cred
  </code></pre>
  
  <p>This is my sample Azure Powershell script. I've run it through Windows PowerShell ISE. Is there any way to run Azure cmdlets using Visual Studio 2017? Or any Nuget Packages available for referencing the library for Azure Powershell commands?</p>
  
  <p>Thanks!</p>