POSH: Using ~ for your home directory

Out of habit I used

cd ~

in the Powershell ISE today. Lucky for me Powershell then showed me that you can actually use ~ for your home directory. Just enter the following command:

(get-psprovider 'FileSystem').home = "P:\ath\to\Home"

As soon you have done this you’ll never have to break out of habit to get to your main folder.