PS C:\Windows\system32> get-module
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 5.1.2 azure {Add-AzureAccount, Add-AzureApplicationGatewaySslCertifica...
Script 4.2.1 Azure.Storage {Disable-AzureStorageDeleteRetentionPolicy, Enable-AzureSt...
Binary 2.0.1.16 AzureAD {Add-AzureADApplicationOwner, Add-AzureADDeviceRegisteredO...
Script 4.6.0 AzureRM.Profile {Add-AzureRmEnvironment, Clear-AzureRmContext, Clear-Azure...
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Con...
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Script 1.2 PSReadline {Get-PSReadlineKeyHandler, Get-PSReadlineOption, Remove-PS...
In my windows Powershell, I am able to use Connect-AzureAd
cmdlet.
Now I want to use this in my C#
application, so I need to import a module that is connected with Connect-AzureAd.
But I listed the modules, I want to import the correct module. Even I worked with all the .psd1
file my Connect-AzureAd
command is not recognized.
So, Give me a proper solution, Thanks in advance