我有以下power-shell脚本,我想在其中获取我们服务器的ServiceTag:-((Get-VMHost|Get-View).Hardware.SystemInfo.OtherIdentifyingInfo|?{$_.IdentifierType.Key-like"ServiceTag"}).IdentifierValue但我注意到,对于某些服务器,我会得到2个代表服务标签的值,这正常吗?如果是这样,那么我可以使用哪个来识别服务器?编辑当我运行这个脚本时:-((Get-VMHost|Get-View).Hardware.SystemInfo.OtherIdentifyingInf