【发布时间】:2014-10-27 15:18:24
【问题描述】:
我正在尝试从 SCCM 中的集合中获取成员/计算机列表。当我运行下面的命令时,我没有收到任何错误,大约需要 2 分钟才能完成,但它从不显示任何输出?只是回到提示。任何想法为什么它不会向我显示任何输出?谢谢
import-module 'C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1'
$GetDevices = Get-CMDevice -CollectionName "All Systems" | Select Name
【问题讨论】:
标签: powershell powershell-2.0 sccm