ICYMI: PowerShell Week of 9-November-2018
Topics include replacing the MDT final summary, Azure Functions, dumping wifi passwords from your computer, code golf, and more...
Curated by Brett Bunker, Robin Dadswell, and Mark Roloff.
by Joel Francis on November 2nd
What do you do when you're in a remote session and you need to bring a custom function over? You could write it up on the remote side but that sounds a lot like work. What about passing it through as an object? Joel shows us how we can earn some street cred at the water cooler with these cool tricks.
by Damien Van Robaeys on November 5th
When's the last time you thought of PowerShell and MDT together? Kicking off a series, Damien demonstrates how we can replace that boring final summary with a jazzed-up PowerShell one.
by Adam Bertram on November 6th
If you sometimes find yourself in need of a database and don't have an instance on hand, or maybe you just want to show how quick and easy it is to stand one up in Azure, Adam's got you covered. Using just three cmdlets, you can have a SQL database in the cloud ready to go faster than a finance intern locking their AD account after a password change.
by Darren Robinson on November 6th
Darren is working on an IoT project that requires looking up vendor names from MAC addresses. In this post, he details his approach to creating a list of vendors easily consumable by PowerShell, plus setting up an Azure Function to handle querying this list with a REST API.
by Emmanuel Demillière on November 5th
If you're running a Windows machine, it's exceedingly easy to retrieve the passwords for any remembered wireless networks. Whether you're pen-testing or you just forgot the password and somebody needs it, Emmanuel has written up a nice PowerShell function that wraps around the netsh command to give you a nice collection of objects containing network names and their passwords.
For all you code golf fans, the PowerShell subreddit hosts occasional "Shortest Script Challenges" that always bring out some interesting solutions. The latest is no exception. Browse through to see the various methods people used to randomly generate mazes.
Mathias Jessen has made a handy little tool for folks that have a need to consume Event Logs with PowerShell. His function will take your event log records and convert them into easy-to-work with objects.
Coming from the SoCal PowerShell user group this week, Kevin Marquette gives a presentation on advanced functions. This is great material to familiarize yourself with if you're looking to take your functions up a notch or two.