Sharefile Snappin installer issue with Powershell Version 5
Attempting to install the Snappin using the 64 bit msi, I receive the following error.
Installing Sharefile Snapin Installer requires Powershell Version 4.0 or later.
Thing is I have Version 5 installed (5.1.14393.1532)
Any workarounds for this (besides using Powershell 4.0 on another machine or downgrading)?
Thanks
Hi @jcitpro, we need some more information.
- Which OS are you using?
- Can you confirm the location of registry entry for the PowershellVersion 5? You can use regedit and search in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell to get its location.
Hi @vkvikaskmr Microsoft Windows [Version 10.0.14393]
In the regsitry location it looks like I only have reg keys for 1 and 3.

That said when I run the $psversiontable.psversion I see 5 listed.

Thanks for the help with this.
If you open PowerShell->3 and then select PowershellEngine, you should be able to see all the versions that are supported. Version 5.1 should be one of them. I have tried replicating it on win 8.1 and win 10 but failed to do so. I will try to verify this on the same OS version that you have mentioned and get back to you.
See below.

Thanks again.
Hey! @jcitpro can you please share the same snapshot for PowerShell->1. We have one check around that as well.
Those entries do not exist.

Hi @jcitpro ,
For snapins to work we should have PowershellVersion Engine v2.0 explicitly installed; the registry of which sits under PowerShell\1. The reason is that if we install a snapin with Powershell v3.0 or higher they are not getting registered as snapin and then the add-pssnapin command fails, probably because v3.0 and above requires modules and not snapins. Need to investigate more on this.
So, suggested workaround would be to install PowerShell Engine v2.0 and and then give it a try. Let me know if that works for you. As a reference here is how the registry should look :
