Hard to test cases in Pester
Recently at work I have finally seen the light and begun adding Pester tests to my modules. Why is this a recent thing, you may ask? After all, I was at PowerShell Summit and heard the good word...
View ArticleClientFaux – the fastest way to fill ConfigMgr with Clients
Recently at work, we were debating the best way to handle mass collection moves in ConfigMgr. We’re talking moving 10,000 or more SCCM devices a day into Configuration Manager collections. To find...
View ArticleFaster: ConfigMgr Collection Manipulation Speed Test
Recently at work, we had a task come up which saw us needing to move tens of thousands of devices between collections in CM. We decided to run some tests to find the fastest way! We compared: The SCCM...
View ArticleQuickie – Join video files with PowerShell and FFMPEG
While I’m working on some longer posts, I thought I’d share a quick snippet I came up with this weekend as I was backing up a number of old DVDs of family movies. FFMPeg has the awesome ability to...
View ArticleLife after Write-Debug
Hey y’all. I’ve been getting verrrry deep into the world of Asp.net Model View Controller and working on some big updates to ClientFaux, but I saw this tweet and it spoke to me:...
View ArticleQuickie: ConvertTo-PSCustomObject
Do you ever need to quickly hop between PowerShell tabs in VScode, or have data you want to move from one session to another? Sure, you could output your data into a .CSV file, a .JSon file, or one of...
View ArticleClientFaux 2.0 – Completely re-written, faster than ever
As mentioned on the stage at MMSMOA, ClientFaux 2.o is now available. Completely re-written with as a WPF GUI with automated certificate generation, multi-threading, and all the bells and whistles....
View ArticlePowerShell – Testing endpoints that perform Anti-forgery verification
First off, big thanks go to Ryan Ephgrave, an incredibly talented and easy to work with PowerShell and dotnet god I have the pleasure to learn from over at #BigBank (its a great thing LinkedIn doesn’t...
View ArticleProgressive Automation: Part I
In this series, I thought it’d be fun to walk through the common phases of an automation initiative and specifically show how I love to handle this sort of situation when it arises today. We’ll walk...
View ArticleYouTube Video Metadata Scraping with PowerShell
Trigger Warning : I discuss eating disorders and my opinions pro-eating disorder media briefly in this post. If this content is difficult for some, I recommend scrolling past The Background and...
View ArticleProgressive Automation Pt II – PowerShell GUIs
In our previous post in the series, we took a manual task and converted it into a script, but our users could only interface with it by ugly manual manipulation of a spreadsheet. And, while I think...
View ArticlePowerShell quickie – function to make your Mocks faster
In C#, writing unit tests is king, and Moq is the hotness we use to Mock objects and methods, like the MockObjects we get with Pester in PowerShell. But one rough part of it is the syntax for Moq,...
View Article