看看PowerShell 2的remotin功能.它将在远程系统上运行完整的脚本(或同时在许多远程系统上运行相同的脚本).
http://blogs.msdn.com/wmi/archive/2009/07/24/powershell-remoting-between-two-workgroup-machines.aspx
http://blogs.msdn.com/wmi/archive/2009/07/24/powershell-remoting-between-two-workgroup-machines.aspx