My Profile Photo

duffney.io


DevOps Engineer | Pluralsight Author | Speaker | Blogger | PowerShell Advocate


  1. Setting up an HTTP Pull Server for DSC

    Applies to: Windows PowerShell 5.0 In this blog post, we’ll be walking through how to setup and configure an HTTP pull server for Desired Stat Configurations. HTTP is only one of the three pull methods, the other two are SMB and HTTPS. It is not recommended you setup HTTP for production, but will work for a Lab without having to configure PKI (public key infrastructure). Belows lists the steps we’ll take to accomplish setting up...…


  2. Disable ADComputer in Action

    Applies to: Windows PowerShell 3.0+ Cleaning up Active Directory isn’t something every organization does or does well, but it’s very important. For semi obvious reasons it’s best practice to disable computers after X amount of days and is part of any System Administrators job. The script in this blog post will help automate the disabling and moving of objects to a specified OU. This task is fairly easy to script out within a simple foreach...…


  3. Move all Members of an ActiveDirectory Group to being just Members with PowerShell

    Applies to: Windows PowerShell 3.0+ Recently my team and I discovered an Active Directory group that was causing token bloat within our environment. The reason was due to someone place 246 objects in the members of section of the AD group, when they should have been in the members section. Active Directory Administration tool makes removing them from the member of easy, but add them to the members section first not so easy. To solve...…


  4. Change System Center Configuration Manager Client Cache Size with PowerShell

    Applies to: Windows PowerShell 3.0+ The only way to set the Configuration Manager client cache size is by specifying it at installation. This was troublesome for me as I left it the default 5GB at install, but then was requested to deploy some AutoDesk packages that where of course over that 5GB limit. Knowing I could not rely on the end user to change their cache size, I knew I had to find a better...…


  5. Fix 0KB Driver Packages in System Cennter Configuration Manager 2012 with PowerShell

    Applies to: Windows PowerShell 3.0+, SCCM There is a known issue with System Center Configuration Manager 2012, where after importing or creating a driver package the size could be 0KB. The problem is, it causes a task sequence that is using the driver package to fail. Since the size is 0, it thinks that the driver package isn’t distributed to the distribution points. To resolve this you must perform the following actions in the console....…