By popular demand, I uploaded a bunch of my scripts to my SkyDrive. Included are:
- Set Powershell Home – this is actually a zip file that contains the profile redirect script. Unzip this in your Documents folder and change the path in Microsoft.PowerShell_profile to where ever you want your profile and home directories to live.
- _profile – my “real” profile script. Note, the su function requires the Script Elevation PowerToys in order to work. Also, all the various aliases are hard coded to their location on my machine. You’ll probably want to change them.
- prompt – my prompt script
- prepend-path – a script to add a directory to start of my path
- append-path – like above, but adds the directory to the end of the path
- append-path-perm – like append-path, but permanently updates the path in the registry
Enjoy.
Comments: