Adding Intune to your ConfigMgr lab – Gotchyas!

After Brad Anderson’s speech at System Center Universe 2015 about ConfigMgr and MDM, it seemed time to start seriously looking at Intune and MDM. Guides I was following the very in-depth guides below. Thanks Matt, Kenny, Tim, Pierre, and Benoit for the great guides! Matt Hinson – Blog –  Setting Up Windows Intune/ConfigMgr 2012 R2 with ADFS On-Prem and Azure Lab...

Read More»

Windows PowerShell DSC – classes – resource basics (part 2)

In part one of this miniseries I explained some principals around using the new class keyword in Windows PowerShell DSC resource modules. If you haven’t read that article yet, go find it here: http://www.david-obrien.net/2015/02/windows-powershell-dsc-classes-introduction-part-1/ This part 2 will concentrate on the enum keyword and the three main functions in each resource class. Enum -erate input One of the most important things in every script (no matter what language) is error handling. PowerShell and DSC is no exception here. For me, part of error handling is also to validate input  users can provide your script or application with. Enum is used to implement constant values inside of a variable. A limitation […]

Read More»

Using a PowerShell Script with AfterBackup.bat in Configuration Manager 2012 and 2007

By Garth Jones In 2011, I created a batch file to keep 7 days’ worth of a Configuration Manager backup directory on another server (http://smsug.ca/blogs/garth_jones/archive/2011/01/13/afterbackup-bat.aspx). This batch file makes one directory for each day of the week using the first 3 characters of the date format. It still works great, but only if your date format is the same as...

Read More»

Script for creating Maintenance Windows in SCCM2012 with an offset to patch Tuesday

Since there is no built in way to create a Maintenance Window with an offset to patch Tuesday I have created a script that will do if for you. Patch Tuesday is always the second Tuesday in the month but what if you want to patch on Wednesday after Tuesday? Look at April 2015 for example, the month starts with...

Read More»

Azure PowerShell IaaS – Notes from the field

I was tasked to write a bunch of PowerShell scripts to deploy a new Active Directory Domain Services (ADDS) Server onto Azure. The end goal would be to have some kind of synchronisation running between the off-premises and the on-premises environment, the off-prem basically being the Test/Dev environment for that customer. Over the last couple of days I wrote down some notes on about what I did and what curiosities I found. If you haven’t yet started using the Azure PowerShell SDK, go check out http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/ . This will help you get started. PowerShell SDK for Azure as with everything you are trying to automate, it helps a lot to have a […]

Read More»

Desired State Configuration (DSC) Training

On February 25th Microsoft will hold a free all day training on Desired State Configuration (DSC). This will be from 9AM to 5PM PST on Microsoft Virtual Academy. Here us the Course Outline: Getting Ready for DSC Performing a Push Deployment Configuring Pull Servers for Deployment​ Deploying Configurations Using a Pull Server Resource Roundup Writing […]

Read More»

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 [crayon-54afae865b366193407282/]  

Read the complete blog: http://thedesktopteam.com/blog/raphael/sccm-2012-powershell-for-creating-ios-store-apps/

Read More»

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…

Read the complete blog: http://thedesktopteam.com/blog/heinrich/sccm-2012-r2-powershell-basics-part-1/

Read More»

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…

Read the complete blog: http://thedesktopteam.com/blog/raphael/sccm-2012-powershell-for-creating-baseline-for-sw-upd/

Read More»