9 Replies Latest reply on Feb 19, 2018 3:29 AM by LucD

    add-pssnapin : No snap-ins have been registered for Windows PowerShell version 5

    Cymraes Novice

      Attempting to pssnapin in Powershell version 5.1

       

      add-pssnapin -name VMware.VimAutomation.Core

       

      result is

       

      add-pssnapin : No snap-ins have been registered for Windows PowerShell version 5.

      At line:1 char:1

      + add-pssnapin -name VMware.VimAutomation.Core

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

          + CategoryInfo          : InvalidArgument: (VMware.VimAutomation.Core:String) [Add-PSSnapin], PSArgumentException

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