-
Notifications
You must be signed in to change notification settings - Fork 31
Description
As the title says, the script apparently ran successfully saying Operation result: Success, but has errors in it, is there a way to know if it was actually successful? Thank you
Here is an screenshot or see the text copied below, thanks.
PS C:\ConsumerESU> .\Consumer_ESU_Enrollment.ps1
Evaluate ESU Eligibility state ...
Eligibility Status: Eligible
Eligibility Result: SUCCESS
Obtain MSA Token ...
Exception calling "Wait" with "1" argument(s): "One or more errors occurred."
At C:\ConsumerESU\Consumer_ESU_Enrollment.ps1:258 char:3
- $netTask.Wait(-1) | Out-Null
-
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : AggregateException
Operation Failed.
Acquire Consumer ESU License regardless enrollment...
Exception calling "Invoke" with "2" argument(s): "The service has not been started. (Exception from HRESULT:
0x80070426)"
At C:\ConsumerESU\Consumer_ESU_Enrollment.ps1:212 char:2
-
$hRet = $IALM.GetMethod("EnsureLicenseForApplicationDeployment"). ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : COMException
Exception calling "Invoke" with "2" argument(s): "The service has not been started. (Exception from HRESULT:
0x80070426)"
At C:\ConsumerESU\Consumer_ESU_Enrollment.ps1:219 char:2
-
$hRet = $IOLM.GetMethod("ActivateLicenseForContent").Invoke($ComO ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : COMException
Operation result: Success