【发布时间】:2014-01-09 13:54:24
【问题描述】:
如何重新组织这个 powershell 命令的输出?
Get-WmiObject -Class Win32_Service -Property Name,StartMode,State -Filter "Name='Fax'"|findstr /r /c:'^[A-Z]'
输出:
Name : Fax
StartMode : Manual
State : Stopped
所需的输出:
Fax;Manual;Stopped
我必须使用,设置命令?或者我可以在命令行上做其他事情?
提前致谢
【问题讨论】:
-
这样可以将信息保存在分号分隔的文件中吗?
-
是的,我可以将输出保存到文件中
标签: powershell output