MHC Azure Stack Hub: Test-AzureStack -Group UpdateReadiness fails: String was not recognized as a valid DateTime
Summary: MHC Azure Stack Hub: Test-AzureStack -Group UpdateReadiness fails: String was not recognized as a valid DateTime.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Inside AzureStack_Validation_Summary, Errors and Exceptions for Azure Stack Infrastructure Clocks are seen.
Error getting time information from
Error getting time information from
****.LOCAL : Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
Cause
The current PEP session was started without the "-SessionOption."
Resolution
To address this issue:
- Close current PEP session.
- Open a new PEP session with -SessionOption.
$cred = Get-Credential
$pep = New-PSSession -ComputerName <IP_address_of_ERCS> -ConfigurationName PrivilegedEndpoint -Credential $cred -SessionOption (New-PSSessionOption -Culture en-US -UICulture en-US)
Enter-PSSession $pep
$pep = New-PSSession -ComputerName <IP_address_of_ERCS> -ConfigurationName PrivilegedEndpoint -Credential $cred -SessionOption (New-PSSessionOption -Culture en-US -UICulture en-US)
Enter-PSSession $pep
- Run test-azurestack on the new PEP session again.
- If the same error persists, engage Microsoft support.
Affected Products
Integrated System for Microsoft Azure Stack Hub, Integrated System for Microsoft Azure Stack Hub 13G, Integrated System for Microsoft Azure Stack Hub 14GArticle Properties
Article Number: 000189236
Article Type: Solution
Last Modified: 11 May 2022
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.