This works fine, apart from some of the installs fail due to the script not running as an administrator (if I log on, right-click and select "Run as Administrator" the script runs and installs successfully. Hi all, Is there any solution to run a batch file from a UNC path on a remote computer by using wmic? I run this one works: ... Powershell to run batch file on multiple remote PCs. To do this, I am using PSExec. On Windows I use PuTTY to log in to a remote server via SSH. This is basically what you are looking for: Hi all, Is there any solution to run a batch file from a UNC path on a remote computer by using wmic? 3 Enter the user name and password for the user account on the remote computer (if required). So, you are using RDP and remotely logging into the computer? I want to use a batch script to SSH to the remote server using PuTTY. ... Get-Content to get the computer names from the file. Is it possible that I could setup a GPO list for newly installed computers with many batch files (mainly file moving) and these would run only once and never again? CATUTIL (on Windows) or ./catstart -run CATUTIL (on UNIX) The Batch Monitor opens. I explain both why you would want to call a PowerShell script from a batch file and how to do it in my blog post here. Hi, I just wanted to launch a simple batch file (echo.bat) with PSEXEC on a remote computer. The file immediately runs, performing its intended task. Hello, I have a powershell script that I would like to exceute several batch commands on a remote computer. I explain both why you would want to call a PowerShell script from a batch file and how to do it in my blog post here. I am trying to run a batch file (to install some software) on a remote computer. ... How a batch file runs on a remote machine started by ... Run an executable on a remote computer with a batch file. ... Get-Content to get the computer names from the file. Is it possible that I could setup a GPO list for newly installed computers with many batch files (mainly file moving) and these would run only once and never again? 4 Double-click on the batch file to be executed. Is it possible to use psexec to run a local bat file on a remote computer (windows 7)? I'm attempting to run a (Windows) batch file from within a SQL Server agent job under SQL Server 2008 R2. I run this one works: ... Powershell to run batch file on multiple remote PCs. I saw the "cmd.exe" process http://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/ On Windows I use PuTTY to log in to a remote server via SSH. I want to run a The server is running a You cannot remotely run a batch file or any other file on a remote computer without first copying the file to the remote computer. You cannot run a task in a remote user session so you cannot map a drive for a user. This is basically what you are looking for: I'm attempting to run a (Windows) batch file from within a SQL Server agent job under SQL Server 2008 R2. Batch files can be incredibly useful scripts to run on your computer but a batch script will always show the console output window even when you don't want it to. I am trying to run a batch file (in the batch file I have just written 'notepad') on a remote PC through PSExec. In addition, using the network location \\computer\sharedfolder\test.bat. The server is running a Linux-based OS. Hi all, Is there any solution to run a batch file from a UNC path on a remote computer by using wmic? Hello, I have a powershell script that I would like to exceute several batch commands on a remote computer. CATUTIL (on Windows) or ./catstart -run CATUTIL (on UNIX) The Batch Monitor opens. I saw the "cmd.exe" process Simply run the bat file from the remote computer. Run exe on computer in network through batch file. or would I have to first copy it over to the remote location and then run it? To configure Windows PowerShell to receive remote commands in DEV. I want to use a batch script to SSH to the remote server using PuTTY. The easiest way to do this is with Group Policy. Batch files can be incredibly useful scripts to run on your computer but a batch script will always show the console output window even when you don't want it to. If that's the case, you should be able to put the batch file The GP engine can execute a batch file at startup. Hi, I just wanted to launch a simple batch file (echo.bat) with PSEXEC on a remote computer.