Popular recipes tagged "powershell"http://code.activestate.com/recipes/tags/powershell/popular/2012-11-01T18:39:55-07:00ActiveState Code RecipesInvoking PowerShell script from batch file (Batch)
2012-11-01T18:39:55-07:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578316-invoking-powershell-script-from-batch-file/
<p style="color: grey">
Batch
recipe 578316
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/powershell/">powershell</a>).
</p>
<p>I'm not sure that there is a way do it without temporary files and why it need at last, maybe for tuning PowerShell host at start? This sample demonstrates how to launch PowerShell host inside CommandPrompt session and change it caption on clock. (Note: be sure that you have enough rights to execute PowerShell scripts - Get-ExecutionPolicy).</p>