Refreshing scripts in Package Manager Console Refreshing scripts in Package Manager Console powershell powershell

Refreshing scripts in Package Manager Console


When a script is executed without dot sourcing the variables, functions, etc. defined in that script are not added to the parent scope. By adding a period in front of the command will dot source the script and therefore add things in that parent scope.

In your specific case the command will be:

. $profile