Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

How do I write a command in a .batch file written in NOTEPAD to run a powershell command?

$
0
0

How do I write a command in a .batch file written in NOTEPAD to run a powershell command?

Example:

powershell -Command "& {Update-Help;}"

would this be a correct command to put in a .batch file to update help information in powershell.

All I want to know is how to write a windows powershell command in a .batch file.

Multi-Commands

Single-Commands

Charles Wright


Viewing all articles
Browse latest Browse all 11941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>