Monthly Archives: January 2015

SCCM 2012 – Web Redirect is evil

Hi All, recently i was at a customer site performing the Build & Capture and it was failing when the Install Application step was invoked. Customer was running WS2012R2, SCCM 2012 R2 with CU3, so the latest updates 🙂 because we were doing the B&C for Windows 8.1, the hotfix for Windows 7 did not apply, so there problem had to be something else. Looking at the client logs, I saw: ClientLocation [CCMHTTP] ERROR: URL=http://xxxxxx, PORT=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE LocationServices Workgroup Client is in unknown location Failed to execute LSExecuteTask [CCMHTTP] Error: URL=http://xxxxx, PORT=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE Raising event: instance of CCM_CcmHttp_Status{ ……………….. Successfully sent location services HTTP failure message Error sending HEAD request. HTTP code 401, status ‘Unauthorized’ CertificateMaintenance MP xxxx does not allow client connections matching the client connection type StatusAgent HandleFSPCcmHttpStatus – Failed to retrieve assigned MP. Assuming ‘xxxxxx’ is not a relevant MP So, looking at…

SCCM 2012 – Powershell for Creating iOS Store Apps

Hi All, Have you ever need an application/dt based on an iTunes link? if yes, you know how time consuming it is and the experience is not great. Based on this, i’ve created this powershell that will, from a itunes link, identify the name of the application, publisher, category and create a new application (if needed) as well as a new deployment type called iOS, also if needed. to use this powershell, you need to pass the sdkserver and the sitecode as well as a text file with the iTunes links (1 per line) the text file should look like the following: https://itunes.apple.com/gb/app/microsoft-word/id586447913?mt=8 https://itunes.apple.com/gb/app/microsoft-powerpoint/id586449534?mt=8 https://itunes.apple.com/gb/app/microsoft-excel/id586683407?mt=8 the command line would look like: .\ImportiTunesApplication.ps1 -sdkserver “SRV0007” -sitecode “CLC” -filename “c:\temp\ituneslist.txt” at the end, you’ll see all apps being created

 

SCCM 2012 R2 – PowerShell Basics (Part 1)

Players, I’m not sure where I read it, but I’m pretty sure someone once said “Learn PowerShell or become obsolete”. It’s pretty much a key skills requirement for most roles in infrastructure these days and besides System Center 2012 is basically all PowerShell under the hood, so at least understanding it puts the odds in your favour. But lets keep things in perspective, there are lots of “very important” I.T professionals who really push the PowerShell envelope. I’m not one of them, I do agree its a key skill that’s needed. Will you become obsolete? No. Probably not. Lets face it, if you “Google” hard enough you can find out how to do just about anything. Including PowerShell. I have to do loads of hand-overs and document configurations etc for SCCM, so doing certain jobs via PowerShell actually makes the mundane documentation process a little easier. I’ve also been asked…

SCCM 2012 – Powershell for Creating baseline for SW Upd

Hi All, how often you arrive at a customer site and need to create the baseline for software update and distribute it to a DP group? I see this need often and when i create baseline, i create 1 per product, so, if you have 3 products, 3 baselines, but if you have over 10+ products? the work that need to be done is time consuming ins’t it? based on this, i’ve created the bellow powershell. it basically, will connect to your site, select all products you have selected on the software update and will create a software update group for each product. it will also download the files from the internet and create a deployment package (you’ll need to specify the folder where the files are going to be copied to) and distribute the content to a DP Group array. if you’re small company, maybe you have 1 or…