expanded parameters, bug fixes

few changes i missed on original commit. changed default parameters to my liking as well and added a few new parameters for more functionality.

I'm an idiot. Script isn't screwing up the local/domain users. Just a bad test sample.

and powershell's case insensitivity is really starting to fuck with me!