I use linux, but the following can be easily translated to Windows:
I have a bunch of script in a Dropbox folder (in order to have them synchronized), and then, I just check for the machine name in order to setup environment variables.
As an example, take a look to my setup of the PS1
variable:
case $HOSTNAME in
wilderkrieger)
PS1='\[\e[3;33m\]\u@\h\[\e[0m\]:\[\e[1;34m\]\W\[\e[1;32m\]`__git_ps1`\[\e[0m\]\$ ';
;;
notparallel)
PS1='\[\e[3;33m\]\u\[\e[3;36m\]@\[\e[3;33m\]\h\[\e[0m\]:\[\e[1;34m\]\w\[\e[1;32m\]`__git_ps1 " (%s)"`\[\e[0m\]\n\$ '
;;
*)
PS1='\[\e[0;31m\]\u\[\e[0m\]@\[\e[1;31m\]\h\[\e[0m\]:\[\e[1;34m\]\W\[\e[1;32m\]`__git_ps1`\[\e[0m\]\$ '
;;
esac
I invoke those scripts from the .bachrc
file so they run automatically on each login, you could create a link from your home folder with mklink
and the just invoke the command each time you start a console.