【发布时间】:2018-04-11 09:24:38
【问题描述】:
Install-Module AzureAD
$password = ConvertTo-SecureString "password" -AsPlainText -Force
$Cred = New-Object System.Management.Automation.PSCredential ("username@dev.com", $password)
Connect-AzureAD -Credential $Cred
这是我的示例 Azure Powershell 脚本。我已经通过 Windows PowerShell ISE 运行它。有什么方法可以使用 Visual Studio 2017 运行 Azure cmdlet?或者任何可用于引用 Azure Powershell 命令库的 Nuget 包?
谢谢!
【问题讨论】:
标签: visual-studio powershell azure azure-active-directory