Cannot find an overload for "ToVim51" and the argument count: "4".
At U:\PowerShell\vCheck\vCheck-vSphere-master-2014-03-06\vCheck-vSphere-master\Plugins\64 Snapshots Oversize.ps1:35 char:4
Exception calling "SearchDatastoreSubFolders_Task" with "3" argument(s): "
Got tag when expecting <_this> tag
while parsing call information for method SearchDatastoreSubFolders_Task
at line 1, column 218
while parsing SOAP body
at line 1, column 207
while parsing SOAP envelope
at line 1, column 38
while parsing HTTP request for method searchSubFolders
on object of type vim.host.DatastoreBrowser
at line 1, column 0"
At U:\PowerShell\vCheck\vCheck-vSphere-master-2014-03-06\vCheck-vSphere-master\Plugins\64 Snapshots Oversize.ps1:36 char:4
Cannot find an overload for "ToVim51" and the argument count: "4".
At U:\PowerShell\vCheck\vCheck-vSphere-master-2014-03-06\vCheck-vSphere-master\Plugins\64 Snapshots Oversize.ps1:35 char:4
on
PowerCLI Version
VMware vSphere PowerCLI 5.5 Release 1 build 1295336
Snapin Versions
VMWare AutoDeploy PowerCLI Component 5.5 build 1262826 VMWare ImageBuilder PowerCLI Component 5.5 build 1262826 VMware License PowerCLI Component 5.5 build 1265954 VMware VDS PowerCLI Component 5.5 build 1295334 VMware vSphere PowerCLI Component 5.5 build 1295334
I get this error set:
Cannot find an overload for "ToVim51" and the argument count: "4". At U:\PowerShell\vCheck\vCheck-vSphere-master-2014-03-06\vCheck-vSphere-master\Plugins\64 Snapshots Oversize.ps1:35 char:4
Exception calling "SearchDatastoreSubFolders_Task" with "3" argument(s): " Got tag when expecting <_this> tag
while parsing call information for method SearchDatastoreSubFolders_Task
at line 1, column 218
while parsing SOAP body
at line 1, column 207
while parsing SOAP envelope
at line 1, column 38
while parsing HTTP request for method searchSubFolders
on object of type vim.host.DatastoreBrowser
at line 1, column 0"
At U:\PowerShell\vCheck\vCheck-vSphere-master-2014-03-06\vCheck-vSphere-master\Plugins\64 Snapshots Oversize.ps1:36 char:4
Exception calling "WaitForTask" with "1" argument(s): "Value cannot be null. Parameter name: moRef" At U:\PowerShell\vCheck\vCheck-vSphere-master-2014-03-06\vCheck-vSphere-master\Plugins\64 Snapshots Oversize.ps1:37 char:13
Cannot find an overload for "ToVim51" and the argument count: "4". At U:\PowerShell\vCheck\vCheck-vSphere-master-2014-03-06\vCheck-vSphere-master\Plugins\64 Snapshots Oversize.ps1:35 char:4