|
Running scripts and commands |
|
|
With the console, you can run commands and scripts remotely. You can prepare scripts yourself or use the script library (see Script library). Example commands
Running on one device You can: •Enter commands and scripts manually in the console window – to show syntax hints, start typing a command and press Tab •Paste them in the console window (with Ctrl+V or the Paste command from the context menu) and confirm with [ Paste ] To run a command or script, press Enter. Running on many devices To run a script or command on several devices at once: 1.In the console with the tabs of many devices, click on [ Run on all ]. 2.In the window that opens, enter or paste the content of the script or command. 3.Click on [ Run script ]. Console session The PowerShell console keeps the session continuous, so you can create variables in it. To end the session, close the console window. To stop only the running command and keep the session, press Ctrl+C. |