I'm getting into PowerShell scripting and am impressed by its muscle, flexibility and grit, especially compared to Microsoft`s classic DOS command line implementations. Basically I want the community to gain quick wins from your experience with it.
What is your best PowerShell hyper-productivity script?
Rules of engagement for the script:
- only one script per answer - your best,
- preferably short and sweet,
- general enough to apply to the masses otherwise it probably won't get many votes for applicability,
- also provide any context needed to use your script. Thx.
The decision for emitting this question is based on this question and this question because neither specifically targets PowerShell.
I look forward to using the scripts you provide and know others will too, especially the fact the best ones will be voted to the top for easy picking - a great use of community evaluation.
Disclaimer: I realize the merits of questions like this are often highly debated, but will post and let the community decide. Thanks.