November 2005 - Posts
One of the LUA tasks I found very frustrating was detecting whether or not I was running as an Admin in a .BAT script. It's very difficult to do this correctly and the best way I found was to write a separate program that would determine this for me.
Read More...
Determine if a command exists in your path. Very helpful when you are writing scripts for mulptiple machines. $local:cmd = get-command doesnotexist -ea SilentlyContinue if ( $null -eq $cmd ) { # Action if command does not exist } else { # Action if command
Read More...
I spent a bit of my college days in *nix land. Much of that time was spent writing and maintaining scripts for my various shell accounts. After I switched to primarily developing on Windows, I was frustrated by the Windows CMD shell and eventually lost
Read More...