We are migrated to vCenter to 8.0.1.00000 and we have problem with export VM via PowerCLI
Script which works until migration now finish with error
ParameterBindingException
+ FullyQualifiedErrorId : MissingArgument,VMware.VimAutomation.ViCore.Cmdlets.Commands.ExportVApp
Export-VApp : Missing an argument for parameter 'Format'. Specify a parameter of type
'VMware.VimAutomation.ViCore.Types.V1.VAppStorageFormat' and try again.
At line:1 char:50+ get-vm $newVM | export-VAPP -destination "D:\VM" -format
+ ~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Export-VApp], ParameterBindingException
+ FullyQualifiedErrorId : MissingArgument,VMware.VimAutomation.ViCore.Cmdlets.Commands.ExportVApp
Problem appeared after 13 minutes of export.
Powershell generate "Windows error report" with these information
Fault bucket 1479629047939780698, type 5
Event Name: PowerShell
Response: Not available
Cab Id: 0
Problem signature:
P1: powershell.exe
P2: 10.0.17763.3770
P3: System.NullReferenceException
P4: es.V1.ErrorHandling.VimException.ViError
P5: unknown
P6: ViCore.Impl.V1.Host.Storage.NfcLease.RenewNfcLease
P7: unknown
P8:
P9:
P10:
We tried without success
change "WebOperationTimeoutSeconds" to -1
update source ESXi from 7.0.3 to 8.0.1
upgrade PowerCLI from 12.7.0.20091289 to 13.1.0.21624340
Can you help us ?