Roll Out New Configuration Manager Distribution Point with PowerShell

Here is a quick example how to install new Configuration Manager Distribution Point with PowerShell. As you see we have many options to expand this script. We can install Windows Server features, reboot it remotely, install additional software etc. It all depends how you wanna install and configure it. #Import the Module Import-Module $env:SMS_ADMIN_UI_PATH.Replace("\bin\i386","\bin\configurationmanager.psd1") $SiteCode […]

Category: Configuration Manager, Configuration Manager 2012, Configuration Manager 2012 R2, Configuration Manager 2012 SP1, Configuration Manager R3, Powershell, Scripting  |  4 Comments

December 2nd: Part 2: Uninstall Java (or any other software) with ConfigMgr Compliance Baselines

It’s December 2nd and Christmas is just around the corner! Yesterday Jakob kicked off the Coretech December Calendar with a great post about “Triggering a webhook from a SharePoint workflow using Out-of-the-box Activities” (Check out his blog post here: http://bit.ly/1N16fte).  That was the  first, this is the second post in the Coretech blog series that will continue […]

Category: Compliance Baselines, Compliance Items, Configuration Manager, Configuration Manager 2012, Configuration Manager 2012 R2, Configuration Manager 2012 SP1, Powershell, Scripting, Tips and tricks  |  6 Comments

Part 1: Uninstall Java (or any other software) with ConfigMgr Compliance Baselines

Compliance Items and Compliance Baselines in ConfigMgr is so powerful! And with some PowerShell magic you can almost use it to do anything you like on a Windows based computer – Only your imagination that will be the showstopper! Here I will show how you can uninstall software using WMI and Compliance Items in SCCM. […]

Category: Compliance Baselines, Compliance Items, Config Mgr. SP2, Config Mgr. Tools, Configuration Manager 2012, Configuration Manager 2012 R2, Configuration Manager 2012 SP1, Powershell, Software distribution, Tips and tricks  |  8 Comments

Troubleshooting: An error occurred when creating the WSUS Signing Certificate (Secunia)

Lately I have been doing some Secunia integrations with System Center 2012 R2: Configuration Manager (SCCM/ConfigMgr 2012). When you are setting up the connector between Secunia CSI and WSUS one of the first things the wizard is asking you to do is to Configure a WSUS Self-Signed Certificate, the WSUS signing certificate is required to […]

Category: Config Mgr. R2 integration, Config Mgr. SP2, Config Mgr. Tools, Configuration Manager, Configuration Manager 2012, Configuration Manager 2012 R2, Configuration Manager 2012 SP1, Custom Updates, Home, Security, Software Updates  |  1 Comment

How to: Create custom SQL- based Reports in System Center 2012 R2: Configuration Manager

A customer asked me  for a “how-to” on how to Create reports in SCCM 2012, so why not share with everyone. This post is not intended to show how to write or design queries, but show you have to create  a report based on a SQL query you might already have. Even-though we are skipping […]

Category: Config Mgr. Inventory and Reporting, Configuration Manager 2012, Configuration Manager 2012 R2, Configuration Manager 2012 SP1, Home, Microsoft SQL, SQL Reporting services  |  1 Comment

Wsyncmgr.log: The request failed with HTTP status 503

Kent have blogged about WSUS maintenance before – its important so that we don’t hit problems like the one I’m about to share with you, so make sure you do something about it – Link. “The request failed with HTTP status 503: Status Unavailable” in this case the source is a stored procedure running (Microsoft.UpdateServices.Internal.ApiRemoting.ExecuteSPGetUpdatesThatSupersedeUpdate). […]

Category: Configuration Manager 2012, Configuration Manager 2012 R2, Configuration Manager 2012 SP1, Software Updates  |  Comment

Configuration Manager 2012 SP1 and R2 PowerShell Provider

Updated 23.03.2015! As you might have already noticed that Configuration Manager PowerShell Provider is lot like Active Directory, Registry etc. provider. To run a cmdlet you need to be inside CMSITE. If you are still using SP1+, then: 1. you can´t use New-Item cmdlet to create folders 2. you can´t set the location to sub […]

Category: Configuration Manager, Configuration Manager 2012 R2, Configuration Manager 2012 SP1, Powershell, Scripting  |  Comment

How to add Configuration Manager Distribution Point Remotely with PowerShell

If you are trying to add a Configuration Manager Distribution Point remotely you may end up with issue: WARNING: The self-signed certificate could not be created successfully Validation of input parameters failed. Cannot Continue Code example Invoke-Command -ScriptBlock { #Step 1 Import-Module $env:SMS_ADMIN_UI_PATH.Replace("\bin\i386","\bin\configurationmanager.psd1") #Step 2 $SiteCode = Get-PSDrive -PSProvider CMSITE #Step 3 Set-Location "$($SiteCode.Name):\" #Step […]

Category: Configuration Manager, Configuration Manager 2012, Configuration Manager 2012 R2, Configuration Manager 2012 SP1, Powershell, Scripting  |  2 Comments

Software Updates won’t sync after Expanding Primary Site to CAS

After expanding a stand-alone Primary Site to CAS, Software Opdate point fails to synchronize

Category: Configuration Manager 2012 SP1, Software Updates, WSUS  |  3 Comments

Configuration Items and Baselines, Using Scripts (Powershell Example)

In the previous blog post i used file and registry settings for my Configuration Item. Another way to define your Configuration Item setting are scripts. And in CM2012 we have 3 scripting options: JScript PowerShell VBScript (The same goes for the use of scripts in Detection Methods when we create Application Deployment Types.)   Since […]

Category: Application Virtualization, Configuration Manager, Configuration Manager 2012 SP1, Security, Tips and tricks  |  1 Comment