
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2021
01:55 PM
- last edited on
‎06-30-2023
03:39 PM
by
ErikT
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.
Labels:
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2021 03:14 AM
If i'm following correctly what you're trying to do you would use the command action, not installer.
Using the below command.
This will run the referenced ps file on the remote computer.
Using the below command.
Powershell.exe -executionpolicy bypass -file "{PackageShare}\copy.ps1"
This will run the referenced ps file on the remote computer.
