Recently, I ran into an interesting error trying to install SharePoint Online PowerShell Module or Microsoft Azure PowerShell modules.
The setup program said “PowerShell 3.0 is required”, while off course this has been already enabled on my Windows 8 or Windows Server 2012 R2 installation as all other online services PowerShell modules have been installed, including the Online Sign In Assistant which also require PowerShell 3.0
I also add another one, a network error occurred when reading the package. This one occurred less often.
So, I dug a little, searching internet with no luck, trying to reinstall the OS, no luck either… and then I thought to look around the registry.
And I found:
Just delete the 2 following keys:
Et voilà, I have been able to successfully install the PowerShell modules.