PowerShell 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 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 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: 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 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 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 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 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 – 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 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 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 ArticleHard 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 ArticleFaster Web Cmdlet Design with Chrome 65
If you’ve been following my blog for a while, you know that I LOVE making PowerShell cmdlets, especially ones that consume an API or scrape a web site. However when it comes to tools that peruse the...
View ArticleMaking an Azure Function Reddit Bot
Around the time I was celebrating my 100th post, I made a big to-do about opening my own subreddit at /r/FoxDeploy. I had great intentions, I would help people in an easier to read format than here in...
View ArticleGlorious PowerShell Dashboards
I’ve covered the topic of dashboards on this blog a few times before, from layering CSS on PowerShell’s built-in HTML capabilities, to hacking together HTML 5 templates with PowerShell, as the hunt...
View ArticleIgnite, decompressed
Ignite Orlando WAS AWESOME! In this post, I’ll give you some of my fun memories and commentary about the event, and then end with a bunch of the best videos from Microsoft Ignite 2017. My sessions We...
View ArticleAt Microsoft Ignite? Come find me!
I’m speaking at Microsoft Ignite again this year! Come find me at the PowerShell Community Meetup and the Intro to PowerShell sessions to talk code, scripting, OSD, automation or beer! Here are the...
View ArticleUse PowerShell to take automated screencaps
I saw a post on Reddit a few days ago, in which a poster took regular screenshots of weather radar and used that to make a gif tracking the spread of Hurricane Irma. I thought it was neat, and then...
View ArticleQuickStart PowerShell on Red Hat
Configuring PowerShell on RHEL 7 Hey y’all. There are a lot of guides out there to installing PowerShell on Linux, but I found that they expected a BIT more Linux experience than I had. In this post,...
View ArticleWindows 10 Must-have Customizations
I’ve performed a number of Windows 10 Deployment projects, and have compiled this handy list of must-have customizations that I deploy at build time using SCCM, or that I bake into the image when...
View Article