MHC Azure Stack Hub: Test-AzureStack -Group UpdateReadiness fails: String was not recognized as a valid DateTime

Résumé: MHC Azure Stack Hub: Test-AzureStack -Group UpdateReadiness fails: String was not recognized as a valid DateTime.

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Symptômes

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."

Résolution

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.

Produits concernés

Integrated System for Microsoft Azure Stack Hub, Integrated System for Microsoft Azure Stack Hub 13G, Integrated System for Microsoft Azure Stack Hub 14G
Propriétés de l’article
Numéro d’article: 000189236
Type d’article: Solution
Dernière modification: 11 May 2022
Version:  2
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.