1 Reply Latest reply on Jun 12, 2017 9:16 AM by bruun

    No snap-ins have been registered for Windows PS v. 5.0

    bruun

      Hi Thwack,

       

      As I was trying to unmanage whole groups at a time I stumbled upon OrionSDK and with that, PowerOrion.

      I have installed OrionSDK and copied the PowerOrion directory to C:\Windows\System32\WindowsPowerShell\v1.0\Modules\.

      Whenever I try to either Import-Module PowerOrion or Add-PSSnapin SwisSnapin I get this:

       

      PS C:\Company> Add-PSSnapin SwisSnapin 

      Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 5.

      At line:1 char:1

      + Add-PSSnapin SwisSnapin

      + ~~~~~~~~~~~~~~~~~~~~~~~

          + CategoryInfo          : InvalidArgument: (SwisSnapin:String) [Add-PSSnapin], PSArgumentException

          + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

       

       

       

      PS C:\Company> Import-Module PowerOrion

      Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 5.

      At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PowerOrion\PowerOrion.psm1:5 char:1

      + Add-PSSnapin SwisSnapin

      + ~~~~~~~~~~~~~~~~~~~~~~~

          + CategoryInfo          : InvalidArgument: (SwisSnapin:String) [Add-PSSnapin], PSArgumentException

          + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

       

      I've tried running the following without success: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe 'C:\Program Files (x86)\SolarWinds\Orion SDK\SWQL Studio\SwisPowerShell.dll'

       

      Any help is greatly appreciated.

       

      Glad Regards,

      Frederik Bruun