我有一个 powershell 脚本,可以将Instance
、ParentNode
和Value
导出到我导出到 CSV 文件的列表中。我在多台机器上运行它并将它们附加到主列表中。例子:
Server1
Instance ParentNode Value
----------------------------------------
InstanceA BatchName BatchX
InstanceA SourceFolderPath \\server\feeds\BlahBlah
InstanceA DestinationLocation \\Server\archive\BlahBlah
InstanceA DestinationLocation \\Server\consumption\BlahBlah
InstanceA BatchName BatchT
InstanceA SourceFolderPath \\server\feeds\i.BlahBlahFailed
InstanceA DestinationLocation \\Server\archive\i.BlahBlahFailed
InstanceA DestinationLocation \\Server\consumption\BlahBlahFailed
ServerB
----------------------------------------
InstanceC BatchName BatchX
InstanceC SourceFolderPath \\Server\archive\i.BlahBlahFailed
InstanceC DestinationLocation \\Server\archive2\BlahBlah
InstanceC DestinationLocation \\Server\consumption2\BlahBlah
现在,其中一些是SourceFolderPaths
其他服务器上的目的地的次数增加了 100 次以上。最终目标是能够从头到尾获得一个提要路径列表。任何语言都可以 C#、PHP 等...