【发布时间】:2021-08-29 00:06:22
【问题描述】:
当我运行 Update-VSanHclDatabase 时,我收到以下错误:
Update-VsanHclDatabase : 6/12/2021 7:09:35 AM Update-VsanHclDatabase Specified argument was out of the range of valid values.
Parameter name: i
At line:1 char:1
+ Update-VsanHclDatabase
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Update-VsanHclDatabase], VimException
+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.Storage.Commands.Cmdlets.Vsan.UpdateVsanHclDatabase
我使用的是 Windows 2012 Server 和 vSphere 版本 7。
【问题讨论】:
-
你能确认你先用过
Connect-VIServer吗?如果您仍然需要帮助,请在运行失败的命令后立即将您的 PowerShell 版本以及Get-Module -Name VMware* -ListAvailable | Select Name,Version和$Error[0].Exception.PSObject.Properties | select Name,Value | FL *的输出添加到您的帖子中。 -
还请使用您正在运行的完整命令/代码或MRE更新您的帖子。
标签: powershell automation vmware rest powercli