I've recently dived into learning PowerShell and while I've got some coding experience, I'm shaking off the rust. I'm looking for guidance on modern best practices specifically for PowerShell 5-7. Are there any particular books, websites, or courses that teach effective automation techniques? I want to focus on tasks related to application deployment, uninstalls, and basic data analysis in a Windows environment. Also, I'd love to know about common pitfalls to avoid, like I've heard that querying installed applications with Win32_Product is a bad practice. Any tips or resources would be greatly appreciated! Thanks and have a great day/evening!
2 Answers
I primarily use POSHUD which has nudged my team towards PowerShell 7, but for stock Windows servers, I still write in 5.1. Use the right tool for your needs!
You might want to check out 'The Book of PowerShell Gotchas' which goes over common mistakes and how to avoid them. Also, 'PowerShell in a Month of Lunches' is a great book to pick up for foundational practices. Some best practices are just shared through blogs, like the evil of using Win32_Product for polling installed applications. Trust me, hands-on practice and learning through doing is really valuable too!
Are you referring to Universal Dashboard with POSHUD?