& in powershell script

The & operator is only needed when calling executables that must be enclosed in quotes, e.g.:

& “C:\Program Files\MyProg Dir\My Prog.exe” parameter1 parameter2 etc.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment