“Fix Windows ADK version 1809 issue with crashing WPF applications” during a Task Sequence

Ok, so basically this information is completely stolen from Nickolaj Anderson, Twitter: @NickolajA, the files required and original blog post and credit can be found HERE. I even stole 75% of the blog post title. I recommend you read that if you haven’t as it gives more detailed information to what is actually going on.   … Read more

Task Sequence Variables

Update 2018.12.24 – Johan Schrewelius has updated the gather.ps1 script on Technet .He has added several more variables, including the ones I was still needing to completely move away from MDT.  I’ve updated the screen captures to included the additional variables. 2024.4.5 – Updated variable script here: Gather-Script-For-ConfigMgr-TS/Gather.ps1 at main · Josch62/Gather-Script-For-ConfigMgr-TS (github.com) —- Recently … Read more

Run PowerShell ISE as System to Test scripts… From Software Center

Yet another post caused by my recent rebuilding of my lab from scratch after I totally hosed my last CM Server.  This time I’m documenting (blogging) a few additional things. So you write a lot of scripts for ConfigMgr?  Notice that they sometimes don’t perform quite as expected because they run as system instead of … Read more

Tweet from PowerShell… Customized for a TS

Ok.. another one that’s been in my drafts for the past 3 months, Seems to work fine, however if you run it in a TS over and over and over again because you’re testing constantly, it seems to skip some, like Twitter blocks duplicate Tweets. Anyway, here ya go.  If you have any improvements, please get ahold of me.

—–

Hey Folks, so I am at MMS right now, and I saw a lot of demos were people were tweeting from at Task Sequence using Orchestrator. I was like, um.. that seems like a lot of work to just tweet, I don’t want to support another server, hopefully it’s actually doing more than just tweeting. I set this up a while back for fun, and forgot to blog it, so here it goes. The hardest part… was already done by Adam! I stole his work, and built on top of it. You’ve probably noticed that is a theme on my blog, I like to borrow the hard work of other and twist it for my own purposes, of course giving credit where credit is due. I hope you are doing the same to my blog, and please give me a shout out if you take something I’ve done and add to it, and then blog it for everyone else to use!
So I started here, Adam’s  Blog.  This provided the connections to Twitter.  I created a new account specifically for my blog (@garytownblog) and set it up in his script, which he explains in great detail.  So Part 1 … Go there and do that..

Read more

Automatically Capture Hard Blocker

This was one of Keith S. Garner’s (@keithga1) gifts to me before he parted ways on his new adventure.  I asked him for a script to automatically pull the Hard Blocker from the compatdata XML file created during the Windows 10 compatibility scan.  After I gave him my request, he hit me up on skype about 2 hours later and said he didn’t write a script, he wrote me a 1 liner.  Keith knows how much I like 1 liners.  Why?  Task Sequences!  If I don’t have to have content to accomplish a step, all the better!  I’ve been known to build scripts on the fly using echo >> script.bat then running the script.bat file just so I don’t have to have content.

So what’s this magic 1 line of code?  I’m getting to that.

Read more