如何使用WMIC连接到远程机器并输出netstat到文件?

我试图远程发出以下命令:

netstat -ano> C:\ output.txt

但无法弄清楚如何与WMIC做到这一点! 任何想法?

我有:

process call create netstat.exe 

工作,但我不知道如何通过-ANO或输出。 请帮助 :)

发出远程命令时,引用整个string来执行,如:

 wmic /node:remote_computer process call create "netstat.exe -ano > C:\output.txt" 
 wmic /node:remote_computer process call create "cmd /c \"pushd \\remote_server\c$ && netstat -nao > n.txt && popd\""