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.

Acest articol se aplică pentru Acest articol nu se aplică pentru Acest articol nu este legat de un produs specific. Acest articol nu acoperă toate versiunile de produs existente.

Symptoms

Inside AzureStack_Validation_Summary, Errors and Exceptions for Azure Stack Infrastructure Clocks are seen.

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:
  1. Close current PEP session. 
  2. 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
  1. Run test-azurestack on the new PEP session again.
  2. If the same error persists, engage Microsoft support.

Produse afectate

Integrated System for Microsoft Azure Stack Hub, Integrated System for Microsoft Azure Stack Hub 13G, Integrated System for Microsoft Azure Stack Hub 14G
Proprietăți articol
Article Number: 000189236
Article Type: Solution
Ultima modificare: 11 May 2022
Version:  2
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.