MHC Azure Stack Hub: Test-AzureStack -Group UpdateReadiness fails: Рядок не визнавався дійсним DateTime

Summary: MHC Azure Stack Hub: Test-AzureStack -Group UpdateReadiness fails: String не визнавався дійсним 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

У AzureStack_Validation_Summary з'являються помилки та винятки для годинників інфраструктури стеку Azure Stack.

Помилка отримання інформації про час з
****.LOCAL : Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."

Cause

Поточна сесія PEP розпочалася без «-SessionOption».

Resolution

Щоб вирішити цю проблему:
  1. Закрити поточну сесію PEP. 
  2. Відкрийте нову сесію PEP за допомогою -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. Знову запустіть test-azurestack на новій сесії PEP.
  2. Якщо та сама помилка залишиться, зверніться до підтримки Microsoft.

Affected Products

Integrated System for Microsoft Azure Stack Hub, Integrated System for Microsoft Azure Stack Hub 13G, Integrated System for Microsoft Azure Stack Hub 14G
Article Properties
Article Number: 000189236
Article Type: Solution
Last Modified: 11 مايو 2022
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.