I am trying to retrieve vsphere views from vcloud director views. When i try to do that i am geting an error.
Get-CIVM works -
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> GEt-civm
samevmname
WARNING: 2 columns do not fit into the display and were removed.
Name Status GuestOSFullName
-
-
-
samevmname PoweredOff Microsoft Windows...
samevmname PoweredOff Microsoft Windows...
But when i do
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> GEt-civm
samevmname | get-ciview
Get-CIView : 6/24/2014 9:07:26 AM Get-CIView The server returned 'Ser
ver Error' with the status code 500 - InternalServerError.
At line:1 char:33
+ GEt-civm samevmname | get-ciview <<<<
+ CategoryInfo : NotSpecified: (
, CIException
+ FullyQualifiedErrorId : CloudImpl_ViewServiceImpl_GetGetCloudView_Error,
VMware.VimAutomation.Cloud.Commands.Cmdlets.GetCiView
Get-CIView : 6/24/2014 9:07:26 AM Get-CIView The server returned 'Ser
ver Error' with the status code 500 - InternalServerError.
At line:1 char:33
+ GEt-civm samevmname | get-ciview <<<<
+ CategoryInfo : NotSpecified: (
, CIException
+ FullyQualifiedErrorId : CloudImpl_ViewServiceImpl_GetGetCloudView_Error,
VMware.VimAutomation.Cloud.Commands.Cmdlets.GetCiView