You may have seen the great post by Microsoft's Matt Shadbolt on how to create an add-on for the Powershell ISE that will import the ConfigMgr module for you. This is very useful if you are working on the Site Server itself, or have a fast remote connection to it, but in my environment, I work an a … Continue reading PowerShell ISE Add-on for Remote ConfigMgr Session
Category: Powershell
Deploying KB3025945 Using the ConfigMgr Package Model
We recently had some reports of IE9 crashing after installing a MS patch KB3008923 released December 9th, 2014. A few days ago on January 22nd, 2015 MS released an update that fixes the issue, KB3025945. Unfortunately at the time of writing, the update is not available on WSUS, so it must be manually downloaded and deployed. I decided … Continue reading Deploying KB3025945 Using the ConfigMgr Package Model
Monitoring the Project Server Job Queue with PowerShell
!UPDATE! 20-Jan-2015. Updated the SQL query to also query for jobs that do not have a completion date, as these can also indicate a problem with the queue. Recently we had an issue with our Project Server where there were some jobs stuck in the queue that were preventing other jobs, such as Project checkins, … Continue reading Monitoring the Project Server Job Queue with PowerShell
Schedule and Monitor ConfigMgr Package Distributions with PowerShell
Update! (22-Nov-2014) Updated the script to include a prompt for which distribution point group to use and a couple of minor improvements Have you ever wanted to have the capability of scheduling a package distribution in ConfigMgr to occur at a specific date / time? Or perhaps you want to monitor your package distributions an receive an … Continue reading Schedule and Monitor ConfigMgr Package Distributions with PowerShell
Re-Triggering a ConfigMgr Application Install
Ok, so let's say you've deployed an Application in ConfigMgr, but you're testing the Application - making sure that it works, that it installs correctly. If it does, great. But then you make some changes on the target client and you want to install it again to make sure that it still works, without making … Continue reading Re-Triggering a ConfigMgr Application Install
Get the Deployment Status of ConfigMgr Packages and Task Sequences with PowerShell
In my last post, we looked at how to report on the deployment status of ConfigMgr Applications using PowerShell. Of course, you can get this information from the built-in ConfigMgr SSRS reports too, but our aim here is to report this data quickly by using PowerShell to query the ConfigMgr database directly. It enables you to … Continue reading Get the Deployment Status of ConfigMgr Packages and Task Sequences with PowerShell
How to Get the Deployment Status of ConfigMgr Applications with PowerShell
PowerShell and SQL server. It's a combination I'm liking more every day 🙂 In this post, I give you a PowerShell script that will query your ConfigMgr SQL server and return the deployment status of a ConfigMgr Application. It will return data for each deployment of the application, giving you the names of the deployment … Continue reading How to Get the Deployment Status of ConfigMgr Applications with PowerShell
Monitoring Disk Space and Content Directories on ConfigMgr Distribution Points
Recently I noticed that the available disk space on my ConfigMgr distribution points was getting low. Since they are mostly VMs using SAN storage it’s fairly easy to increase the disk space, but it got me thinking about how I could monitor the DPs for available free space, as well as the sizes of the … Continue reading Monitoring Disk Space and Content Directories on ConfigMgr Distribution Points
Querying ConfigMgr – WMI vs SQL
There is more than one way to get data from ConfigMgr. Some data you can get directly from the ConfigMgr Console. But if you want more detailed and customised information you usually need to go a bit deeper, for example by using the ConfigMgr PowerShell cmdlets, querying WMI with PowerShell or some other tool, or … Continue reading Querying ConfigMgr – WMI vs SQL
Monitor OS Deployments with PowerShell
If you have access to your ConfigMgr database, you have access to a wealth of information, including the detailed steps of your OS deployments. Below is a PowerShell script that will query the ConfigMgr database and return the detailed steps of your deployments. You can specify a particular machine that is being or has been deployed, the … Continue reading Monitor OS Deployments with PowerShell