Topics include checking SCCM patch compliance, a little regex, some more AoC, a deep dive into $null, and PowerShell…streaming?… You betcha!
Content pulled together by Brett Bunker, Robin Dadswell, and Mark Roloff
From all of us, we hope you enjoyed your holidays! Our sabbatical is over and things have been understandably quiet the last couple of weeks, so we’re adding a little more this week to help make it up to you.
by Kevin Marquette on December 23rd
Kevin’s deep dives deserve their own special place in your bookmarks. Carve out some free time and read on to become a $null expert.
by Mathias R. Jessen on December 25th
Here’s another take on the first two AoC challenges, with some really nice explanations for why you should avoid the += operator in favor of more performant alternatives.
Identifying and Installing SCCM Client Software Updates Remotely with PowerShell and trigger a VMware Snapshot before Remediation – Part 1 of 3
by Ben Whitmore on December 28th
In charge of managing patching in your environment? Ben has a great post that dives into using PowerShell to audit patch compliance on SCCM clients.
by Alexander Holmeset on December 29th
As the Teams module moves along through development, you may wonder when it’s appropriate to use the module vs using the Graph API. Alex does a quick comparison to help you see how and where they line up.
by Anthony Bartolo on January 2nd
Regex is an elusive beast that plenty of us are probably less acquianted with than we should be. We can correct that by just a little with these examples of using it to check the first or last characters in a string.
by Tim Addison on December 24th
Suppose you’ve got an expensive function thats needs to be called multiple times. Tim has a clever method for allowing a function to cache its results, thus allowing you to call it repeatedly without going through the initial workload again.
The applications for PowerShell in a professional environment are legion. But what about at home? And for meal planning? /u/n3rden wrote a script for just that.
Worth mentioning… If the thought of watching livestreams of PowerShell coding is appealing, look no further. A handful of figures in the community are now on Twitch, which can be a good glimple into the thought-process behind their projects. Also be sure to follow the channel on Twitter @PowerShellLive
From @devblackops, here’s a brief sample of using GitHub Actions to run PSScriptAnalyzer on a pull request. This could be useful as a quick litmus test for public or group projects.
PSDay.UK happened back in October but videos from the event are up on YouTube now. This playlist has a ton of great content that’s well worth your time!