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 a user?  Quick and easy way to make the PowerShell ISE available for you to test running your scripts as System.  Nope, it’s not PSExec… this is even easier.

Super Simple, almost feel it’s not even blog worthy, but here it is anyway.

  • Make a Package, no Content (PowerShell ISE x64)
  • Make a program (RunAsSystem)
    • Command: %SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe –command "ise"


Then Deploy it to a user or user group, very limited test group, as this gives anyone with this deployment full system access to their machine.


When you click Install, you’ll see the black command window for a second, then the ISE start launching. Once Launched, you’ll see it is running as System.


Now you can test your script under the same context that CM would run this.  I use this all the time to test things I plan to load into the scripts node.


WaaS–Post 2–In Place Upgrade TS

WARNING... WORK IN PROGRESS...  This has been in my drafts for a couple months, I'm pretty busy so I don't know when I'll get to polish it, so for now, just publishing it with intent to go back and update it.  Since I wrote this, there has been several changes already, due to advances in CM, finding bugs, etc.  Anyway, because this is really never going to be 100% done, just going to click publish now, so you can start playing with it...
PS.. Mike Terrill is working on a very detailed blog post that will hopefully answer many of your questions as well, but he is waiting for making his more polished, he takes more pride in his blog posts than I do. 🙂

Download the Task Sequences and Content ---> HERE <---  I will try to keep that updated as I update my Lab's TS

Ok, so about a couple weeks ago, I posted the Pre-Cache Compat Scan Task Sequence, in Part 1, now it’s time to go over the IPU.  It’s taken a couple weeks as I keep updating, refining, and finally came to the realization, I could keep tweaking this forever and never get around to posting.  So, I figured, I should just post this, even if it’s not 100% complete.  Just this should be pretty helpful to many.

Read more

So whats up with GARYTOWN, where you been?

Hey Everyone, sorry I haven't had time to do any blogging lately.  I recently transitioned from my position at the State of MN, and started working at Wells Fargo, where I have the privilege of working with several amazing people on a daily basis, like Mike Terrill & Keith Garner.  There are several others there too that I have the privilege of working with occasionally, and to be honest, it's quite overwhelming the amount of talent Wells Fargo has on staff, and I feel honored to be in their ranks.

I no longer have access to the same plethora of equipment, and many of the solutions I've worked on at a smaller / medium business don't scale up well to the size of Wells Fargo.  I used to be under the mindset of getting out of the Management Business, let the vendor tools automatically do the work for you, give up control of the little things (BIOS updates, Drivers installs and updates, Windows updates, 3rd Party software auto updates, etc) to focus on the big things. (Windows as a Service, keeping environment updated, implementing new tech).  However in an environment like this, we need complete control at all times over every little detail.  As I try to change paradigms of workstation management, I'm unsure how that will effect my blog.  Not having access to the same resources as before I'm sure will impact my writing, as well as many of the things just aren't in my new job responsibilities, so I won't be working with them on a daily basis any longer.

As I find time between work, being the best husband I can be, parenting 5 children under the age of 9, being active in our local church community, and assisting with Home Schooling responsibilities at home and in our Co-Op, I'm planning to build out a lab at home, and hopefully get my hands on some Dell equipment. It's been a pleasure contributing to the community, and hopefully I'll be more active again soon, but for at least the immediate future, I hope you find my website valuable, and look forward to chatting on Twitter.


Gary Blok

New blog thanks to peer pressure

Just finished up a great MMS #mmsmoa conference today.  I was challenged to blog several solutions for Windows deployments, among other useful things I've come up with over the past few years.  So at their request, I've resurrected my old domain name and will now use it to blog about technology.

I've created this instance of WordPress and blog post from my phone, so I'm going to keep this short.

Look for several posts to come soon about Windows 10 deployments, among other OSD centered content.

Thanks to all the MVPs that made it to MN for MMS.