VMware PowerCLI

The Best User Interface for your VMware Datacenter!

Open-VMConsoleWindow : A general system error occurred: Authorize Exception

Since a few PowerCli versions this cmdlet is not working anymore.

 

We have this error:

PS> get-vm -Name MyComputer | Open-VMConsoleWindow
Open-VMConsoleWindow : A general system error occurred: Authorize Exception
At line:1 char:25
+ get-vm -Name MyComputer  | Open-VMConsoleWindow
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Open-VMConsoleWindow], VimException
+ FullyQualifiedErrorId : VMware.Vim.VimException,VMware.VimAutomation.ViCore.Cmdlets.Commands.OpenVMConsoleWindow

 

For the moment we must use a custom script as workaround...

https://communities.vmware.com/thread/599395

  • Luc FULLENWARTH
  • Sep 9 2019
  • Looking for Feedback
  • Attach files
  • Brad Calvert commented
    12 Sep, 2019 01:23pm

    We have been fighting this for ages as well!  There seem to be certain combinations of vCenter and PowerCLI where it works fine.  One I just tested unsuccessfully is 11.3 and 6.5 8024368.  But we have a lot of vCenters, so I will try to see if I can find a pattern and post back if I get a chance.