Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Remote Run CMD file to install applications

$
0
0

I have added the following lines to a powershell script. When I run it I get the following error. Any help would be greatly appreciated. Thanks.

Code:
psexec.exe -s \\Computername c:\windows\system32\cscript.exe c:\Windows\Temp\QUICKTIME_7_7_3_BL_V1_2\QuickTime_7_7_3.cmd install manual

 

Error:
Input Error: There is no script engine for file extension ".cmd".
c:\windows\system32\cscript.exe exited on Computername with error code 1.

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles