VMware Cloud Community
nicholas1982
Hot Shot
Hot Shot

Getting the latest PowerCLI without Admin Rights

Hi All,

I currently have PowerCLI 11 installed and recently a new GP has removed my admin rights, I was wondering if there was another way to update PowerCLI with admin rights, maybe by manually copying over the files or something. see screenshots attached.

pastedImage_0.png

pastedImage_1.png

Nicholas
0 Kudos
3 Replies
LucD
Leadership
Leadership

It depends under which scope your current PowerCLI modules are installed.
Do a

Get-Module -Name VMware* -ListAvailable

If this shows a directory under C:\Program Files, the scope was AllUsers.
If that shows a folder under C:\Users, the scope was CurrentUser.

It looks as if you might only be able to install under the scope CurrentUser.
Try if this works for you

Install-Module -Name VMware.PowerCLI -Scope CurrentUser -AllowClobber


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
nicholas1982
Hot Shot
Hot Shot

Hi Luc,

Here is the output of Get-Module

pastedImage_0.png

Nicholas
0 Kudos
LucD
Leadership
Leadership

You seem to have a mix of 2 versions of PowerCLI on your station.
The best option would be to remove all of them.

But that probably will require admin rights.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos