invoke-command -computername RemoteServer {start-process c:\install\.bat}


i running invoke command pc run .bat file on remote server. see output of .bat file run in powershell window on local pc. tips on this?

i have @ moment

invoke-command -computername server {start-process c:\install\.bat}

however completes without showing  me anything. can see output of .bat file on local pc?

thanks in advance

seems running trick. removed start-process command.

invoke-command -computername server {c:\install\.bat}

also had adjust maxmemorypershellmb limit on server.thanks



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2