Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing all articles
Browse latest Browse all 9071

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

$
0
0

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?


Viewing all articles
Browse latest Browse all 9071

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>