【发布时间】:2015-07-31 02:53:23
【问题描述】:
我执行了一个命令,其中我使用了“fl”格式列表。输出为“fl”不被识别为内部或外部命令。我也遇到了与“Get-WmiObject”相同的问题。如有任何其他信息,请随时发表评论。
C:\Windows\system32>powershell.exe -Command Get-WmiObject -query "select * from msiscsi_nicconfig where Instancename LIKE '%ROOT\\ISCSIPRT\\0000_0%'" -namespace "root/wmi" | fl MacAddress
输出:
'fl' is not recognized as an internal or external command,
operable program or batch file.
【问题讨论】:
标签: windows powershell command