【发布时间】:2021-09-25 01:44:23
【问题描述】:
我在 Powershell 版本 7 中安装了 AzureAD 模块,但是我无法执行 Connect-AzureAD Cmdlet。
有什么想法吗?
PS C:\Users\User> Get-InstalledModule
Version Name Repository Description
------- ---- ---------- -----------
2.0.2.135 AzureAD PSGallery Azure Active Directory V2 Gene…
PS C:\Users\User> Connect-AzureAD
Connect-AzureAD: The term 'Connect-AzureAD' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
【问题讨论】:
-
你导入模块了吗?
Import-Module AzureAD: docs.microsoft.com/en-us/powershell/scripting/developer/module/…
标签: azure powershell azure-powershell