I use psake for deployments so its quite nice to be able to use -whatif to see what would happen if you pulled the trigger. Currently psake gets in the way a little too much and the script variables end up not being set correctly so the -whatif misreports.
I've added -WhatIf:$false -Confirm:$false to the relevant Set-Item calls in psake so the build script can execute correctly.
Also fixed: #57 (the error message is only swallowed if psake is not executing a nested build.)
Added Thumbs.db to gitignore
Nested builds that fail should fail the parent
Fix nested build failure not reported to tester
Failing tests to check the whatif preference is not handled correctly
Ignore the whatif preference for psake internals
Nice to see someone else had the same thought. I have made these changes to my psake module and it's helping out a lot.