Wes Ellis./ a personal notebook
Technology. Stories. Side projects.
A few things worth writing down.

A thread · 6 notes · Script Library

Packaging with ConfigMgr.

Building packages and programs, silent uninstalls, power plans, Group Policy refreshes and edition upgrades.

  1. 1
    Script Library2 min read · Script

    Create an MECM Package and Program from PowerShell

    Turn "wrap this script in a package and push it to the DPs" into one command, with a dry run before anything gets created.

  2. 2
    Script Library2 min read · Script

    Silently Uninstall Any App by Name with a ConfigMgr Package

    One uninstall script for every retired app. Give it a display name and it finds the right uninstall command, MSI or not, and runs it quietly.

  3. 3
    Script Library2 min read · Script

    Setting a High Performance Power Plan with an SCCM Package

    Switch workstations to High Performance (or Ultimate Performance) by GUID, restore the plan if the image hid it, and don't end up with five copies of it.

  4. 4
    Script Library2 min read · Script

    Forcing a Group Policy Refresh with PowerShell and SCCM

    A gpupdate wrapper that checks the domain trust first, never bounces anyone's session, and reports a real success or failure back to ConfigMgr.

  5. 5
    Script Library2 min read · Script

    Upgrade a Windows Edition with a MAK Key from PowerShell

    Install a product key, activate it and confirm the edition actually changed, without the key ever landing in a script file or a log.

  6. 6
    Script Library2 min read · Script

    Count KACE Devices by Location from a CSV Export

    Export your KACE device inventory to CSV and get a per-location (or per-label) device count, optionally just the machines added this week.