MHC Azure Stack Hub:Test-AzureStack -Group UpdateReadiness 失敗:字串未識別為有效的日期時間
Summary: MHC Azure Stack Hub:Test-AzureStack -Group UpdateReadiness 失敗:字串未識別為有效的日期時間。
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
若要解決此問題:
- 關閉目前的 PEP 工作階段。
- 使用 -SessionOption 開啟新的 PEP 工作階段。
$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
Enter-PSSession $pep
- 再次在新的 PEP 工作階段上執行 test-azurestack 。
- 如果相同的錯誤仍然存在,請聯絡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 14GArticle 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.