Hi,
I am new to Powershell and arguments in Execute Command
I have a powershell script which saves a .txt file like this:
# Path to the output file
$outputPath = "C:\Test\Braille\output.txt"
I would like the script to save with dynamic filenames, named after the incoming file:
$outputPath = "C:\Test\Braille\[Job.NameProper].txt"
Can someone show me what my argument line should look like to send this information to my script
My current argument line only contains this:
-Nologo -WindowStyle hidden -executionpolicy bypass -file "C:\Scripts\duxbury.ps1"
Best Regards
Lars
Powershell arguments
- magnussandstrom
- Advanced member
- Posts: 510
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Powershell arguments
Hi Lars, maybe this app will help you out: https://www.enfocus.com/en/appstore/pro ... and-friend