Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 176561

error connecting with powercli 11.2

$
0
0

I've been receiving some complaints from non-admin users that they cannot connect to vcenter once they update to the newest powercli 11.2 modules.

 

Anyone running 11.0 or lower seems fine but those that have upgraded are receiving this error:

 

Connect-VIServer : 2019-03-06 15:57:13 Connect-VIServer Permission to perform this operation was denied. Required privilege 'System.Read' on managed object with id 'OptionManager-VpxSettings'.
At line:1 char:1
+ Connect-VIServer -Server $ServerName
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : SecurityError: (:) [Connect-VIServer], NoPermission    + FullyQualifiedErrorId : ViCore_ConnectivityServiceImpl_GetSetting_NoPermission,VMware.VimAutomation.ViCore.Cmdlets.Commands.ConnectVIServer

 

 

As an admin I don't seem to have any issue.

 

They are able to connect to without issue via the GUI (VCSA 6.7U1)

 

Trying to install a specific version doesn;t' work (always seems to install 11.2 from the powershell gallery) or even use the save script provided on a vmware blog gives me errors when i try to run it.

 

ANyone else seeing this issue or know how to download older powercli versions?


Viewing all articles
Browse latest Browse all 176561

Trending Articles



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