【发布时间】:2014-05-14 06:46:54
【问题描述】:
Exchange 2013 的 powershell 中的 Test-ServiceHealth 提供以下输出:
Role : Mailbox Server Role
RequiredServicesRunning : True
ServicesRunning : {IISAdmin, MSExchangeADTopology, MSExchangeDelivery, MSExchangeIS...}
ServicesNotRunning : {}
Role : Client Access Server Role
RequiredServicesRunning : True
ServicesRunning : {IISAdmin, MSExchangeADTopology, MSExchangeIMAP4, MSExchangeMailboxReplication...}
ServicesNotRunning : {}
使用format-table 选项,我如何分离正在运行的服务,删除大括号和逗号,并将它们显示在另一个下方?
【问题讨论】:
标签: powershell format output exchange-server