Hi,
I get the following error running get-task. I seems to display the first 3000 odd tasks but then errors:
PS C:\> get-task
jobDelete Success 100 11:18:48 AM 11:18:48 AM
jobDisable Success 100 11:18:44 AM 11:18:44 AM
jobEnable Success 100 11:18:42 AM 11:18:42 AM
jobDisable Success 100 11:18:40 AM 11:18:40 AM
commonPurgeDeletedItem Success 100 11:18:22 AM 11:18:22 AM
vdcDeleteVdc Success 100 11:18:22 AM 11:18:22 AM
jobDisable Success 100 11:18:17 AM 11:18:17 AM
vdcCreateVdc Error 100 11:02:57 AM 11:07:58 AM
jobVcStartConnection Success 100 10:50:50 AM 10:50:50 AM
rclPrepareHost Success 100 10:48:42 AM 10:50:40 AM
jobCrosshostEnable Success 100 10:50:26 AM 10:50:40 AM
jobInstall Success 100 10:48:42 AM 10:50:26 AM
jobVcStartConnection Success 100 10:50:11 AM 10:50:11 AM
jobVcStartConnection Success 100 10:50:09 AM 10:50:09 AM
rclPrepareHost Error 100 10:46:39 AM 10:48:14 AM
jobInstall Error 100 10:46:39 AM 10:48:14 AM
rclPrepareHost Error 100 10:44:03 AM 10:45:43 AM
jobInstall Error 100 10:44:03 AM 10:45:43 AM
rclPrepareHost Success 100 10:41:43 AM 10:43:33 AM
jobCrosshostEnable Success 100 10:43:17 AM 10:43:33 AM
jobInstall Success 100 10:41:43 AM 10:43:17 AM
Get-Task : 5/24/2013 1:54:49 PM Get-Task There is an error in XML document (33, 769).
At line:1 char:9
+ get-task <<<<
+ CategoryInfo : NotSpecified: (:) [Get-Task], VimException
+ FullyQualifiedErrorId : SdkUtil10_ErrorHandledStream_GetWrappedEnumerable,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetTask
Is there anyway to trim the amount of tasks in that list? Either via the database or from the vcloud cell. I've tried using Get-Task | select id -First 100 but it still evaluates all values. I must have a corrupt entry?
Any ideas?
Thanks!