Posts Tagged ‘Install-Module’

Install-Module AzureADPreview

Install-Module MSOnline

Install-Module : The term ‘Install-Module’ is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Install-Module AzureADPreview
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Install-Module:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Or you get “You must have the MSOnline Windows PowerShell modules”

Solution without Reboot

Download and install : https://www.microsoft.com/en-us/download/details.aspx?id=51451

Then run Powershell as Administrator

Run again

Proper Solution that requires reboot

Install Windows Management Framework 5.1   https://www.microsoft.com/en-us/download/details.aspx?id=54616

GD Star Rating
loading...
GD Star Rating
loading...

Install-Module : The term ‘Install-Module’ is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is corre
ct and try again.

Install Either of these : 

$x86 = ‘https://download.microsoft.com/download/4/1/A/41A369FA-AA36-4EE9-845B-20BCC1691FC5/PackageManagement_x86.msi’
$x64 = ‘https://download.microsoft.com/download/4/1/A/41A369FA-AA36-4EE9-845B-20BCC1691FC5/PackageManagement_x64.msi’

GD Star Rating
loading...
GD Star Rating
loading...