.
) runs a script in the current scope. &
) that executes code in child scope so that the current scope remains unchaged. . p:\ath\to\script.ps1 . .\script.ps1
. .\script.ps1
, the first dot is the operator, the second dot is part of the relative path and indicates the current directory.