I am trying to run Add-PSSnapin SwisSnapIn from my Orion server and I am getting the below error even after I installed the OrionSDK 2.2.254.
Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 4. However I does work from my desktop just not the orion server with the same version of PS
Also I do not see PowerShellSnapins in the registry.
I manually added it to the registry
C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe "C:\Program Files (x86)\SolarWinds\Orion SDK\SWQL Studio\SwisPowerShell.dll"
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe "C:\Program Files (x86)\SolarWinds\Orion SDK\SWQL Studio\SwisPowerShell.dll"