You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW, this was only tested with 2012R2. Maybe something needs to be changed to work with 2012, but I will not even try to do that, as that windows version is too old.
Hi.
Using the following configuration:
It fails with the following error
11:04:53 vsphere-clone.updates: ERROR: Element not found. (Exception from HRESULT: 0x80070490)
11:04:53 vsphere-clone.updates: ERROR: at , C:\Windows\Temp\packer-windows-update-elevated.ps1: line 60
11:04:53 vsphere-clone.updates: ERROR EXCEPTION: System.Runtime.InteropServices.COMException (0x80070490): Element not found. (Exception from HRESULT: 0x80070490)
11:04:53 vsphere-clone.updates: ERROR EXCEPTION: at System.Management.Automation.ComInterop.ComRuntimeHelpers.CheckThrowException(Int32 hresult, ExcepInfo& excepInfo, ComMethodDesc method, Object[] args, UInt32 argErr)
11:04:53 vsphere-clone.updates: ERROR EXCEPTION: at CallSite.Target(Closure , CallSite , ComObject , Object )
11:04:53 vsphere-clone.updates: ERROR EXCEPTION: at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
11:04:53 vsphere-clone.updates: ERROR EXCEPTION: at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
11:04:53 vsphere-clone.updates: ERROR EXCEPTION: at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
11:04:53 vsphere-clone.updates: ERROR EXCEPTION: at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
11:04:59 vsphere-clone.updates: ERROR: Element not found. (Exception from HRESULT: 0x80070490)
The same passes on WS2016
Thanks.
The text was updated successfully, but these errors were encountered: