Browsed by
Tag: powershell

Using PowerShell to Help Clear a ConfigMgr Inbox Backlog

Using PowerShell to Help Clear a ConfigMgr Inbox Backlog

(Originally posted 11/10/2015. Reposting for reference)   While working with a client recently, I noticed that the ConfigMgr console was not showing up-to-date information for things like Endpoint Protection status and several other timely sets of data.  Having been through the fun that is Inbox backlogs before, I went ahead and checked to see if there were any file backlogs. I certainly wasn’t about to browse through all of the inbox folders to look for large numbers of files…not when…

Read More Read More

ConfigMgr 2012 – Retrieving Objects in a Folder with PowerShell

ConfigMgr 2012 – Retrieving Objects in a Folder with PowerShell

(Originall posted 3/21/2014. Reposting for reference)   The introduction of folders in the ConfigMgr 2012 console made for a great way to organize content within the ConfigMgr site.  To see what objects might be under any given folder in the console is simple…but what if you want to do it programmatically with PowerShell? Folders in ConfigMgr can be accessed through the WMI namespace for the site (Root\SMS\Site_XXX) in two classes: SMS_ObjectContainerNode – Contains the list of all folder objects in…

Read More Read More

Matching ConfigMgr Software Updates to a Deployment Package with PowerShell

Matching ConfigMgr Software Updates to a Deployment Package with PowerShell

The content side of Software Updates in ConfigMgr can be a bit confusing. Unlike Packages and Applications, in which the entirety of the content is downloaded to the local cache, when the client downloads Software Updates it only downloads the individual update.  As such, the Deployment Package is nothing more than a means of getting groups of individual updates out onto the Distribution Points to make them available for download.  The Deployment Packages are created independently of the Software Update Groups though,…

Read More Read More

Running 64-bit PowerShell Scripts in the ConfigMgr 2012 Environment

Running 64-bit PowerShell Scripts in the ConfigMgr 2012 Environment

(Reposted for reference) Ran into this issue recently and wanted to document it in case anyone else ran across the same problem. Scenario: I have set up a ConfigMgr 2012 Task Sequence to deploy Windows Server 2012 R2 and I want to customize the server with some Roles and Features after the OS comes down.  I have created a PowerShell script (including some basic logging) to add some of the ConfigMgr DP prereqs… …and I’ve created a legacy Package and Program to…

Read More Read More