Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 546

PowerShell • Executing .bat files in powershell remotely

$
0
0
How to run a .bat file on a remote computer with invoke-command?

Example: Invoke-Command -ComputerName $textbox4.Text -FilePath \\Server1\c$\\Fic.bat

Code:

Statistics: Posted by CAFMAINE-ET-LOIRE — Wed Oct 09, 2024 2:40 am



Viewing all articles
Browse latest Browse all 546

Trending Articles