1 2 Previous Next 19 Replies Latest reply on Aug 7, 2017 2:02 AM by ugryrd

    VMware vSphere PowerCLI 6.0 Release 1 build 2548067 - Get-PowerCLIVersion fails

    Softsource Lurker

      Just installed the 6.0 version of powercli

       

      If I launch PowerCLI as administator (i.e. elevated permissions) all is fine (x64 and x32)

       

      If I launch PowerCLI as default user (i.e. Not elevated permissions) not all the modules load

       

      "

       

      Get-PowerCLIVersion : The term 'Get-PowerCLIVersion' is not recognized as the name of a cmdlet,

       

      function, script file, or operable program. Check the spelling of the name, or if a path was

       

      included, verify that the path is correct and try again.

       

      At C:\Program Files (x86)\VMware\Infrastructure\vSphere

       

      PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1:38 char:12

       

      + $version = Get-PowerCLIVersion

       

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

       

          + CategoryInfo          : ObjectNotFound: (Get-PowerCLIVersion:String) [], CommandNotFoundExce

       

         ption

       

          + FullyQualifiedErrorId : CommandNotFoundException

       

                Welcome to VMware vSphere PowerCLI!

       

      Log in to a vCenter Server or ESX host:              Connect-VIServer

      To find out what commands are available, type:       Get-VICommand

       

      To show searchable help for all PowerCLI commands:   Get-PowerCLIHelp

       

      Once you've connected, display all virtual machines: Get-VM

       

      If you need more help, visit the PowerCLI community: Get-PowerCLICommunity

       

            

       

      Copyright (C) VMware, Inc. All rights reserved.

       

       

      but  none of the powercli commands run

       

      and get-module show no vmware modules

       

      Is this a new feature? needing to run as admin, previous version i didnt need to run elevated

      Anyone else have the same issue?

        1 2 Previous Next