The source command uses command script files to source commands as if they were entered at the prompt. For more information about command scripts, see Command Scripts. This command is also used to specify a file as the source of an operation when executing other commands. This file can be used for information that is shared by more than one script, or to keep secure information separate.
The wait command is used in command scripts where many commands are run almost at the same time, and a command must wait to be executed until the job launched by the previous command is completed. For more information about command scripts, see Command Scripts. This command can be used from within any mode at any time or from the main command line.
The syntax usage and description for all mode subcommands are included in the man page. This command can be used from within any mode at any time or from the main command line. To display the man page for a specific mode, enter man in the command prompt. For example, to learn about the gear command:
Invoke-Command is preferable if you are writing the executed commands now, as you retain intellisense in your IDE whereas Invoke-Expression would be preferable if you wanted to call another script from within your current one. 59ce067264