Well, if you want to automate something, PowerShell can be one of the best methods to do so. You can see the actual commands being run before trying it (versus having something compiled that you can't peak into).
Depending on what the PowerShell script will be doing, you can often using simple parameters like -WhatIf and -Confirm for cmdlets that have a impact on the system (that delete, move, etc.).
-WhatIf provides: Output that indicates the action that would be normally undertaken if the command was run. You can see the actions that would be undertaken.
-Confirm: Before an action would be actually undertaken, you are basically asked "are you sure you want to do xyz".
With -WhatIf, if all your information scrolls off the screen, you can simply use Start-Transcript to start a log of your console session, then you can review that log to carefully look at all the actions that would have been taken. That way you can make sure your commands are correct before running them.