Select Page

Tag: Scripts

All Latest

How to Force a #SCCM Task Sequence to Fail

Task Sequences are used heavily in Operating System Deployment (#OSD), but they are also used to control the workflow of installing applications, migrations, updates and even patching. Just like any piece of work in the IT world, we need to go through a Dev, QA, Prod lifecycle while developing these. More often than not, even the simplest Task Sequence needs a little debugging. Perhaps in your own Task Sequence you’ve developed, or perhaps you inherited the Task Sequence.

Read More

Copy AD Group Members in a different Domain to Another Domain #PowerShell #MVPHour

This sounds scenario sounds pretty simple, and theoretically it is. It’s also a common request. Someone comes to you and says, I have members in one group and I need them copied to another group. Sure, no problem. But what they forgot to mention is that the source group is in a different domain and has users and groups from the same or different domain than their target group.

Read More

Active Directory – When was this user/computer Created #PowerShell #MVPHour #

A pretty simple request came across my desk today. I was requested to send a report of users that were created after a specific date. Do you remember the Windows Server 2003 and prior? Before PowerShell? We had to use what I’ll term loosely as “wonderful” LDAP queries. Also the query result was pure text, we couldn’t do anything easily with it short of magical text parsing! Well here is my PowerShell script I quickly whipped up!

Read More

#PowerShell – The Patch Solution – Part 5

Having an email in your inbox outlining which machines in your organization that are going to be patched in the next day or two is every service owner/managers dream. So simple and proactive. The email also outlines when the machines are going to be patched and displays how many outstanding updates there are. This is a summary of what will happen in the days to come. Keep reading to see how you can dive into seeing the details of what is about to happen in your organization.

Read More

PowerShell – The Patch Solution – Part 4

The previous posts on The Patch Solution have outlined the though process and goals to a patching strategy. Now it’s time to start taking that strategy and putting it into practice. Now that we have defined some of our goals (See

The Patch Solution – Part 3 post), we can start looking at how we reach those goals. In my opinion, one of the easiest goals to attain is reporting. This gives you an attainable goal which is completely measurable and trackable. Simply run a report, see where you’re at, update a few machines, run a report and see where you got to. The solutions that we try and come up with at TriCon Elite is all about being free and giving back to the community. We like to strive for secure and simple. For The Patch Solution, we opted to use Windows Server Update Services (WSUS).

Read More

SCCM PowerShell and Connect to Multiple SCCM Sites at once (DEV/Prod)

There have been quite a few times that I’ve needed to do some comparisons, or even move some objects from one SCCM environment to another. The System Center Configuration Manager console has quite a few options for exporting objects, or saving things to CSV, but then you still need to import it. Check out the rest of this blog post to see how easy it is to report, compare or recreate things between your SCCM environments with PowerShell.

Read More
Loading