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