Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run a PowerShell script file in a client computer

Engaged Sweeper
Please assist - I have a ps1 file that copies data from A - B, need to run the PowerShell file using lansweeper on multiple pc's. Can you please advise methods to do this? If I am doing it right so far, what do I put after {PackageShare} under Install File in Edit Steps? Exported XML is attached. But this doesn't work.

Engaged Sweeper III
If i'm following correctly what you're trying to do you would use the command action, not installer.

Using the below command.

Powershell.exe -executionpolicy bypass -file "{PackageShare}\copy.ps1"

This will run the referenced ps file on the remote computer.