Refreshing/Restarting PowerShell session w/out exiting

powershell, restart, session

Solution

You can just do `. $profile` to source the profile again.

Problem

I have been tweaking some of the scripts in my PowerShell profile and it has got annoying to exit powershell then restart it so it will load any changes I have made to the scripts in my profile. Is it possible to restart the powershell session without exiting?

Original source