ConfigMgr 2012 Script to retrieve source path locations

Here’s a PowerShell script we recently wrote to show the source path location for all the content that we put into ConfigMgr. The Script lists all the content source paths for the following CM objects. Applications Driver Packages Drivers Boot Images OS Images Software Update Package Groups Packages The output is as shown in the example below. before executing the script, connect to your site.

Thanks to Claude Henchoz for helping me out with Read More …

Configuration Manager – DCM Import Error

While importing a Configuration Manager Configuration Baseline within our lab infrastructure  that I had previously exported from our production environment I received the following error: “The following files could not be imported because they contain incorrect or missing configuration data: …..CAB – The cab file references missing content or contains a circular reference” This configuration baseline contains several configuration items, but sadly the error message doesn’t provide a clear message about which item causes a Read More …

SCCM 2012 SP1 Client Settings only configurable within the Default Client Settings

While preparing and documenting the System Center Configuration Manager 2012 SP1 Client settings for our clients and servers I noticed that there are a few settings that cannot be configured within custom client settings meaning they can only be configured within the Default Settings. The following table lists the settings I identified as only configurable within the Default Client Settings. Agent Setting Compliance Settings Schedule compliance evaluation Hardware Inventory Maximum custom MIF File Size in Read More …

How to change the SCCM 2012 Package Source Path with PowerShell

Let’s assume you’ve just created a larger number of packages within SCCM 2012 and then you’re asked to move the package sources to a different location. I guess no-one on earth would want to visit each package and update the data source manually, So I wrote 2 scripts that automate this task. It could actually be done with one script, but when it comes to changing such things I prefer to validate things. As you Read More …

PowerShell: Script to Retrieve SCCM 2012 Client Settings

To make documenting the configured SCCM Client configuration settings a bit easier I wrote a small script that retrieves all the configured settings for the Default and custom  configuration settings. To run this script the Configuration Manager powershell module must be loaded and connected to the site.

Integrating DaRT 8.0 SP1 Remote Connection into the SCCM 2012 OSD Process

While preparing for an SCCM 2012 upgrade, I thought it might be a good idea to consider implementing some of the best practices that are around such as integrating the DaRT Remote Connection tool into the OSD deployment process. I’m sure it comes in handy when having to troubleshoot OSD related tings, as it allows us to access the client remotely without having to give lengthy instructions to an onsite engineer. I know others have Read More …

How to automate SCCM 2012 Task Sequence Media Creation

Just recently I went through the CM12 Console Task Sequence media creation wizard several times a day, so at some point I thought, this is a good candidate for automation. If you have CU1 for SCCM 2012 SP1 already installed, you can take advantage of the new cmdlet New-CMTaskSequenceMedia Below an example. CreateTaskMedia.ps1

If you haven’t installed CU1 yet, no worries. the command line tool CreateMedia.exe located in the SCCM Administrator Console’s bin directory Read More …

How to install System Center 2012 Endpoint Protection on a standalone client

Suppose you have a need to deploy System Center 2012 Endpoint Protection to a number of clients that later run in standalone mode, meaning that they are not joined to a domain, can’t be managed by SCCM and operate in a network that is not connected to your corporate network. The installation source scepinstall.exe for the System Center Endpoint Protection agent is stored within the SCCM 2012 client installation folder on the SCCM 2012 SP1 Read More …

How to create a custom antimalware policy in SCCM 2012 for your App-V sequencing clients

Today I wanted to start sequencing an application for App-V within my lab environment where I have deployed SCCM 2012 SP1 including Endpoint Protection. As I went through the Sequencing Wizard I got the well-known warning that I have Antivirus software running. Not an issue, just turn it off right?. Well since I have configured a custom Antimalware policy that is applied to all my clients to not allow configure the real-time protection settings, this Read More …

How to generate random computer names for lab deployments using SCCM OSD

For my lab environment I use the below described approach to generate random computernames for my clients. The script does the following: Read the Task Sequence Package Name Based on the name set the appropriate prefix Generate a random number between 100 and 1000 Generate the new computer name based on Prefix + random number To implement this do the following: Put the script listed below into a package Add the script to the TS Read More …