Difference between revisions of "PowerShell"

From DevOps Notebook
Line 3: Line 3:
 
[[Windows Command Line snippets]] <br>
 
[[Windows Command Line snippets]] <br>
 
[[How to check .NET version using PowerShell]] <br>
 
[[How to check .NET version using PowerShell]] <br>
 +
=== Run powershell script from bat file ===
 +
<pre>
 +
C:\ Powershell.exe -executionpolicy remotesigned -File  C:\Scripts\myScript.ps1
 +
</pre>

Revision as of 10:29, 22 October 2020

Set DNS with powershell
Rename multiple files with powershell
Windows Command Line snippets
How to check .NET version using PowerShell

Run powershell script from bat file

C:\ Powershell.exe -executionpolicy remotesigned -File  C:\Scripts\myScript.ps1