Today I got an interesting question - Is it possible to gather the sizes for all packages referred by a OS deployment task sequence? I have a script that will find all package sizes for any group of packages you select, but not specifically for a task sequence. But I found it can be done quite … Continue reading Calculate the Total Size of all Packages in a ConfigMgr Task Sequence
Category: Powershell
Run ConfigMgr Client Cycle Actions on Multiple Clients with PowerShell
Not a script that hasn't been done before, but this is my version which allows pipeline input of the computer name so that you can run one of the ConfigMgr Client Cycle actions on multiple computers, or include it as a function in a script etc. The following actions are supported and are equivalent to … Continue reading Run ConfigMgr Client Cycle Actions on Multiple Clients with PowerShell
Checking for Failed Package Distributions in ConfigMgr with PowerShell
Recently when I checked the status of my Content distributions in the Monitoring node of the ConfigMgr console, I noticed some where the compliance was not reporting as 100%. This means there was a failure in the distribution which needs to be addressed, usually by redistributing. However, ConfigMgr does not notify you of such distributions failures, … Continue reading Checking for Failed Package Distributions in ConfigMgr with PowerShell
How to Quickly Retrieve Errors from OS Deployment Logs with PowerShell
I saw an interesting post yesterday by Keith Garner on using PowerShell's "Select-string" to search OS deployment logs and find errors by searching on the entry type instead of the usual way that the CMTrace utility does it - by highlighting keywords. I decided to take the idea further and create a script that will search … Continue reading How to Quickly Retrieve Errors from OS Deployment Logs with PowerShell
Calculate the Size of Multiple Packages in ConfigMgr with PowerShell
Have you ever wanted to select a group of applications or packages in ConfigMgr and find out the total size of the content files for all those packages? Or maybe you have your packages organised into folders in the ConfigMgr console, and you want to find out the total content size of all the packages … Continue reading Calculate the Size of Multiple Packages in ConfigMgr with PowerShell
Get the Total Size of All Application Content Files in an SCCM Console Folder
Today I was installing a new ConfigMgr distribution point on a remote site and wanted to start distributing packages to it. But since the network bandwidth is only 4Mbps to that site, rather than distribute all the required packages in one go I wanted to distribute groups of packages out of working hours when the … Continue reading Get the Total Size of All Application Content Files in an SCCM Console Folder
WSUS Database Maintenance for SQL Express
To perform database maintenance (defragmentation, re-indexing) on a WSUS database that is installed using SQL Express, I use the following solution. Because SQL Express has no SQL Server Agent, you cannot create jobs or maintenance plans, but we can use Powershell with a Scheduled Task to perform regular maintenance. I am using SQL Express 2012. Download … Continue reading WSUS Database Maintenance for SQL Express
WSUS Server Cleanup Report
There are a few scripts out there that will perform a cleanup of your WSUS server/s, but here's my contribution 🙂 It uses the Invoke-WSUSServerCleanup cmdlet only available in Windows Server 2012 / Windows 8 onwards, so for previous versions try something like Kaido Järvemets' script. This script will perform the WSUS cleanup for any … Continue reading WSUS Server Cleanup Report
Deploying Custom Office Templates with ConfigMgr Compliance Settings
Note: This blog post is out of date and has been replaced with a new solution which you can find here. If you use Custom Office templates in your organisation, you can deploy them to your computers using Compliance Settings in ConfigMgr. This also provides a mechanism for updating those templates if necessary, and ensuring … Continue reading Deploying Custom Office Templates with ConfigMgr Compliance Settings
Automating the Management of Checked-out Projects in Project Server
If you're a Project Server administrator, you've probably had to deal with Projects that seem to remain checked out for a long time. Sometimes this could be the result of a check-in failure and sometimes Project Manager forgetfulness, but whatever the cause, as an admin you have to periodically force check-in those Projects for good housekeeping. … Continue reading Automating the Management of Checked-out Projects in Project Server