Deploy Nano Server with a SCCM Task Sequence

One of the cool features that came with Server 2016 is Nano Server. This is a completely stripped down version of Server 2016 that has no UI components and is designed for speed, agility, and lower resource consumption. I decided to try and see if I could deploy this with SCCM. In my investigation, I found out Nano server does not support the SCCM client, so we can not push updates or manage it. So, I’m stuck and can’t continue … Continue reading

Building a SCCM Lab with 1606

One of the things I do pretty often is rebuild my lab. I do this with a series of scripts I posted to GitHub called the EphingLab. I decided to post about my SCCM 1511 install script that not only installs SCCM, but also updates it to the latest version (1606 currently). If you’d just like to get the script and try it out yourselves, the link to SCCM script is here. I’m not going to cover the entire script … Continue reading

How to use PowerShell to start ConfigMgr updates in current branch

I’m one of those people who rebuilds their test lab often. I like to tinker with WMI and all sorts of other things, so I rebuild to wipe all my configuration changes and start fresh. Current Branch has put a wrinkle in this because I could never start the updates automatically with my build script. Well, I’ve figured out how to start the SCCM updates with a script!

The above code will start the KB3174008 update: You can now … Continue reading

Azure Automation Week Concludes! Let’s put it all together!

Whew, this week flew by! We learned how to set up Azure Automation, how to run a runbook with the REST API, how to do a more advanced offline domain join, and how to get input from the SCSM portal. Today, we are going to put all that we learned into a task sequence! First off, we just need a task sequence that installs Windows 10 Enterprise. I used the default task sequence but am joining the computer to a … Continue reading

Azure Automation Week: Advanced Offline Domain Join With Azure Automation!

Azure automation week continues! Today we are going to look at joining computers to a domain through Azure Automation. I always liked the idea of offline domain join, but never really used it since I don’t prestage computers. I then got the idea, what if I could join a computer to the domain from offsite without having to prestage it first? To do this, we will need to set some things up! First off, if you want the domain joined … Continue reading

Azure Automation Week: Run a Runbook Without the Cmdlets!

Now that I have an Azure Automation account, and a user with the correct permissions, I have the ability to run Azure Automation runbooks without relying on the cmdlets or webhooks. I don’t want to have to rely on cmdlets in WinPE, and I also don’t want to have to rely on webhooks because you cannot get the results back from them. Before I can start, I need a runbook to test! So, let’s fire up and select our … Continue reading

Azure Automation Week!

This week is Azure Automation week here at EphingAdmin! This week you will find new posts every day on cool things you can do with Azure Automation, SCSM, and SCCM. On Friday, you’ll see everything come together in a dynamic offline SCCM OSD task sequence! Today, we will go over the setup. We will need an Azure AD Subscription, Azure AD Service Account, OMS Account, and an Azure Automation account. Don’t worry, all of this is free and easy to … Continue reading

The Automatic Packager!

One of the highlights of MMS for me was the hackathon. It wasn’t just because I won a Surface, but also because we got to see our ideas come to life in 3 days! One of the ideas that wasn’t coded was to automatically create packages from folders. This was a great idea, but neither the Microsoft Product Team or Coretech decided to take it on. I decided to take it on with my new Surface, and was able to … Continue reading

Find Devices With No Boundary

Ever wonder if all of your devices are in a boundary? Six months ago I wrote a script to help solve this problem. I told no one about it and forgot about it until someone on the mailing list mentioned that they made a SQL query to do something similar. Not to be outdone, I decided to share my script with the world! This script is pretty simple to run. It only needs the parameters SiteServer and SiteCode. You can … Continue reading

Automagically Clear Expired Updates From Software Update Groups

I’ve seen a number of right click tools out there that remove expired updates from SUGs. Seeing as I’m so against right click tools, I thought I’d figure out a better way to do this! First off, I need a way to remove expired updates from SUGs. For that I turn to VBS! Just kidding, it’s in Powershell… Who still uses VBS for their ConfigMgr automation? Anyway, here is the script:

Change $SiteCode to your site code and it’s good! … Continue reading