Special characters

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)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.188.238