It should have been registered by the installer, but apparently that didn't happen. You can do it manually as well:
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"
This registers it twice - once for 32-bit powershell and once for 64-bit powershell.
Edit March 26: Fix incorrect paths to InstallUtil.exe.
thanks tdanner! I did 32-bit installation manually, but forget to do that also for 64-bit..
I'm still having issues getting it registered..should that be C:\windows\Microsoft.NET\...?
EDIT - yea that worked...I thought it didn't work the other day when I was working on it so jumped the gun on the post.
Oops - copy and paste error on my part. I'll edit the earlier post to fix it.
I installed Orion SDK 1.9 on Server 2012. While trying to add the snap-in in a script, I received an error that the snap-in was not registered. This did the trick!! Thank you! (Also, I ran the cmd.exe and the powershell script editor as administrator.)
Just bumped into this thread - very helpful indeed!
In my case, I've decided to install the SDK on a different path than the default one (D:\Solarwinds...),
and since it's a Windows 2016 Server, the microsoft.NET paths are a bit different.
I thought I should share the relevant paths here and save someone else the hassle in the same situation:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe "<SDK Installed Path>\SolarWinds\Orion SDK\SWQL Studio\SwisPowerShell.dll"
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe "<SDK Installed Path>\SolarWinds\Orion SDK\SWQL Studio\SwisPowerShell.dll"
* Note that "C:\Windows\Microsoft.NET\Framework" has all .Net versions - so use the one relevant to you...