Archive site from 2010 and earlier
Powershell Scripts
Some fun/interesting powershell scripts.
- A tool to remove projects from a generated msbuild .proj file. Described elsewhere.
- Guess the number of skittles!
- I like having right click context menus in my explorer for opening a command prompt, or a powershell prompt, and starting in the folder I right clicked on. I wrote a powershell script to automatically add these items for me if they don't already exist. :)
-
SysInternals provides many very useful tools. I recommend them highly; Microsoft thought so much of them that they bought them :).
I've found it hard to accept their Pop-up Eula window when running tools like junction.exe, or handle.exe in a remote/automated environment, so I wrote a little powershell utility to accept the eula. To use the function, just pass in the name of the SysInternals utility that you want to accept the eula for in the -Program parameter. The default is "Junction".