Make Chef::Util::Powershell::Cmdlet Ruby 1.8.7 friendly

Use 1.8 hash syntax
Explicitly convert the symbol to a string for comparison