Why Doesn’t GetNumResults() Work?

The SCCM provider comes with some useful methods in particular for collections. You can view them using WBEMtest: We’ve already used one of these in a previous function. The add-SCCMcollectionrule that Michael Niehaus defined in one of his blog posts uses the addmembership method. Another use is in the add-dirUserCollectionRule defined in our last post…

2

More Powershell “Cmdlets”

Following on from our last post on Powershell for SCCM here are some more “cmdlets” (functions really). The Add-SCCMCollectionRule that Michael Niehaus provided can only add computer objects to a collection but one of my customers has been distributing software to users so we needed to be able to add users to collections: function Add-DirUserCollectionRule…

1

More On SCCM and Powershell

I thought I would add to our previous post on Powershell. Powershell can make SCCM admin far easier for repetitive tasks.  To make life really easy we can start creating our own “cmdlets”. Anyone can write their own cmdlets for Powershell but it’s heavy duty coding so we’re going to fake it by adding functions…

5

Client Network Traffic tests

These postings are provided “AS IS” with no warranties, and confer no rights. The following information is for example purposes only. Do not rely on this information for a production deployment. These are meant to show the areas you should test for when evaluating ConfigMgr client activity impact on your network before going into production….

5

What AI data is in your database?

Ever wonder what’s in the Asset Intelligence (AI) catalog on your site server’s database?  I wrote the following query for a customer to show the value of AI and the data this is in there (and convince them to deploy AI Sync Point).  It summarizes data to a list of Publishers and an sum of…

0

Client Activity Summary Report

The following T-SQL query will generate a report that shows the status of ConfigMgr clients.  It uses various sources for this information, including: Last Hardware Inventory timestamp Last AD Discovery agent timestamp ConfigMgr 2007 R2 Client Health views data, including: Last Heartbeat DDR Last HW Inventory Last SW Inventory Last Policy Poll to the MP…

1

Useful ConfigMgr Resources

The following is a list of useful information on ConfigMgr, pointing to various resources and sources of information.  ConfigMgr Resources/Information: Learning: TechCenter on TechNet: http://technet.microsoft.com/en-us/configmgr/default.aspx Features (Technical Content): http://technet.microsoft.com/library/bb680550.aspx Virtual Labs: http://technet.microsoft.com/en-us/configmgr/bb539977.aspx Webcasts: http://www.microsoft.com/events/series/technetmms.aspx?tab=webcasts&id=42364 Audiocasts (WMA): http://technet.microsoft.com/en-us/configmgr/bb727202.aspx TechNet Virtual Labs, ConfigMgr: http://technet.microsoft.com/configmgr/bb539977.aspx Download Service Pack 2 Here: http://www.microsoft.com/downloads/details.aspx?FamilyID=3318741a-c038-4ab1-852a-e9c13f8a8140&displaylang=en (Upgrade download, Full Evaluation download available here). …

0

ConfigMgr and Powershell

Hello, This is my first blog post so I thought I would make it something vaguely interesting (to certain people).  Powershell has been around for a while, though for most ConfigMgr people it remains a dark area.  This is primarily due to the lack of samples explaining how to access the ConfigMgr WMI Provider on…

0

Using Enhanced System Discovery 2007 R2 For Speedy Software Distribution

I’ve been working with a customer on a way to improve their software distribution to computers through Configuration Manager.  Currently, with ConfigMgr, if you use query based collections on group membership for software distribution, then distribution can be slow.  For example: Configure AD System Group Discovery to run at midnight. Create an AD Group ‘G_SWD_Microsoft_Project’….

1

Setting Default Domain Name in Operating System Deployment

In Configuration Manager Operating System Deployment, it is desirable to change the default logon to the domain the computer is joined to, from the default which is the local computer.       The standard way of doing this is to change the registry keys under HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon, namely: Value Data DefaultDomainName Domain Name AltDefaultDomainName Domain…

2