此脚本正常工作以获取操作系统版本。我需要知道谁得到仅限Microsoft Windows 10临的结果获取计算机操作系统版本
$Computers = Get-Content C:\computerlist
Foreach($Computer in $Computers)
{
Get-WmiObject Win32_OperatingSystem -ComputerName $Computer -ErrorAction SilentlyContinue | Select-Object CSName, Caption | sort CSName
}
是的,这是我需要完成的感谢Ocaso。我很抱歉我的英语不好。 –