Browse by Tags

All Tags » ConfigMgr » PowerShell (RSS)

How To: List all servers used by your ConfigMgr Infrastructure by gramsey

Here's a quick PowerShell script to show all servers used in your ConfigMgr Hierarchy: 1: $myServers = get-wmiobject SMS_SystemResourceList ` 2: -namespace...
Filed under: ,

How to: Expire a Custom Update in WSUS Using PowerShell by gramsey

The Queen of SCUP and I had some Orphans in WSUS that needed to be cleaned up. Not just one or two, but for fun let’s say “More than 10”.  First,...
Filed under: ,

Error "“CMPDBConnection::Init(): IDBInitialize::Initialize() failed with 0x80004005” on a ConfigMgr 2007 site by gramsey

So, we started out with a rough day yesterday…Our offloaded NLB management point was having trouble connecting to our offloaded SQL server for one of our...
Filed under: ,

How To: Properly Remove Items from ConfigMgr Client Cache by gramsey

Here is an example PowerShell script to demonstrate how to properly remove items (Packages, Software Updates, etc) from  the ConfigMgr Client Cache...

How to: Enable the "Suppress Program Notifications" Checkbox using VBScript by gramsey

The Source Code download for the SMS 2003 Recipes book provided a few example scripts for modifying the ProgramFlags Property of the SMS_Program class...

Removing Drivers From the Driver Store in ConfigMgr Using PowerShell by gramsey

A sample script for viewing Drivers in the driver store for site LAB, on server MyConfigMGRLABServer, that start with the path "C:\testdrivers\"...

How To: Remotely Show Machine Advertisement Information for a ConfigMgr Client using PowerShell by gramsey

Here's a quick example for how to query advertisements from a remote (or local) system. Just replace "myComputerName" with the computer name...

ConfigMgr and PowerShell - the RepairClient Method by gramsey

Here's an example of a handy function to initiate a client repair remotely using PowerShell: function repairclient([String] $strComputer) { $SMSCli...
Filed under: ,

How to Compare two ConfigMgr Distribution Points Using PowerShell by gramsey

One of the nice features for ConfigMgr is the Copy Packages Wizard . Using the wizard, you're able to select packages to copy to a distribution point...
Filed under: ,

How to Trigger ConfigMgr Hardware Inventory using PowerShell by gramsey

Here's a brief "How To" for initiating hardware inventory on a remote system using Windows PowerShell. Here it is in simple form: $SMSCli...

SCCM and PowerShell - for starters... by gramsey

This is the start of several examples for leveraging PowerShell with Systems Center Configuration Manager (ConfigMgr). We'll start slow, and work our...
Filed under: ,
Powered by Community Server (Commercial Edition), by Telligent Systems