Fixed broken powershell scripts

Turns out there was only a problem with manage_app_pool, but the stuff I added hastily to the others I also removed.