Skip to main content

I was curious if it's possible to add multiple lines of commands here? The box only shows a single text field rather than a multi-text field so I wasn't sure if I was to copy a script with multiple lines would run?



Thanks.

I think you can separate commands in the box with a semicolon to run more than one.


Yep, you can separate commands with semicolons, basically treating them as line breaks.


I use the box to run multiple commands using he semicolon all the time. This allows a policy to work even when a distribution point is unavailable (and a script cannot be downloaded). If a script only has a few lines, this is my preferred way to run it. For long scripts, I use the traditional method of uploading a file (or now pasting directly into the web GUI).


Excellent, thanks guys.