Dot sourcing operator

suggest change
. .\myScript.ps1

This runs .\myScript.ps1 in the current scope, so functions and variables it creates are available in the current scope. & .\myScript.ps1 runs the same file in its own scope instead.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents