tag:help.appveyor.com,2012-11-13:/discussions/questions/2638-way-to-do-powershell-and-command-scriptsAppVeyor: Discussion 2018-10-19T08:18:01Ztag:help.appveyor.com,2012-11-13:Comment/407918472016-09-19T23:49:46Z2016-09-19T23:50:18ZWay to do Powershell AND command scripts?<div><p>Hi Brian,</p>
<p>You can do all from PowerShell like this:</p>
<pre>
<code>$job1 = Start-Job -ScriptBlock {<your_PowerShell_code>}
cmd /c <your_cmd_code></code>
</pre>
<p>Also you can you job object to check it’s status and
eventually stop job if needed</p>
<p>--ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/407918472016-09-20T01:12:14Z2016-09-20T01:12:14ZWay to do Powershell AND command scripts?<div><p>Thanks! You all are the best.</p></div>brian