October 2017
Intermediate to advanced
440 pages
11h 47m
English
Refer to the following table:
|
Statement separator |
; |
Get-Command Get-Process; Get-Command Get-Help |
|
Call operator |
& |
& ‘Get-Process’ # Invoke the string as a command& { Get-Process –Id $PID } # Invoke the script block |
|
Dot-source operator |
. |
. C:\script.ps1 # Execute the script in the current scope (instead of its own scope) |
Read now
Unlock full access