powershell - Powersehll script to execute an exe with multiple arguments and gets the argument information from excel -
i'm newbie powershell script world, need powershell script call executable has 5 arguments.
in command prompt execute exe below , single application. want automate multiple applications. application information (application name, version, env, filepath, reportname" stored in excel spread sheet.
executer.exe --applicationname='application1' --version='20.2.1 -env="" --filpath="c:\path" -reportname="report.pdf" --> single application.
the script should execute exe arguments excel spread sheet , run application rows available in spread sheet.
i tried different options nothing working out. please help.
sounds simple, did u try this?
$path = c:\path\executer.exe &$path --applicationname='application1' --version='20.2.1 -env="" --filpath="c:\path" -reportname="report.pdf"
if works substitute single parameters variables excelsheet.
Comments
Post a Comment