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»

Remediate Registry String Array Values Using Compliance Settings and PowerShell

Shortly after our Windows 7 Migration awhile back, we started encountering some erratic behavior regarding printing to network printers from Windows 7 clients. After months and months of troubleshooting, we traced it back to the registry. Each print driver has a registry key. The key(s) for the affected printer(s) would have their Dependent Files value changed to be Null. Deleting...

Read More»

How to: Extract Status Message Information from ConfigMgr 2012 R2

During MMS 2014, Wally Mead and I presented a session about state and status messages. This post describes one of the scripts that I demonstrated, which uses PowerShell to display status messages in a human-readable-friendly manner. This is similar to using the ConfigMgr status message viewer or SSRS reports, in that it displays the full sentence and description […]

Read More»

Configuration Manager Remote Control via IP

Have you ever had trouble accessing a computer via Remote Control from the Configuration Manager console? While many factors can cause this, one major issue can be DNS-related. If the computer is not correctly registered, or perhaps the machine is on a VPN connection which doesn’t have that adapter registered in DNS, you may not be able to get in....

Read More»

Install Windows features through PowerShell – by clicking

 Rebuilding my home lab with PowerShell I am currently rebuilding my home lab (again! This time properly, I promise.) and my goal is to use as much PowerShell as possible. I am building everything on a Dell XPS 15 laptop with a 1TB Samsung SSD and 16GB RAM. Enough for a mid-size mobile lab. The host runs Windows Server 2012 R2, what else? On top of that I have also installed the Windows Management Framework 5 November Preview in order to use all the latest and greatest features of PowerShell, for example Desired State Configuration in its latest version. Of course, I have also downloaded the DSC Resource Kit in … Continue reading

Read More»

Import users to Azure and Office 365 with PowerShell

Mass import of users into a cloud directory with PowerShell By now you should already know that PowerShell should be the default tool for every IT Pro nowadays. Every new product and every new release of an existing product out of Microsoft is shipped with a PowerShell module, that’s a clear sign. It’s not only Microsoft, VMware, Citrix, Amazon, all big vendors make their products and services manageable via PowerShell. So get used to it This article will show you an end-to-end example of a PowerShell script that does a mass import of users into a Microsoft Azure Active Directory or Office 365 directory via PowerShell. Azure Active Directory won’t … Continue reading

Read More»

Update SQL Always On Cluster with ConfigMgr and Powershell

How to update a cluster with a cluster-ignorant tool I’ve recently been tasked to create a process to patch SQL Always On Availability Groups (I guess calling it a cluster is not really accurate?!) with just the tools I had available, no new implementation of stuff. This meant to do a proper patching cycle (Operating System AND SQL) with graceful failovers of SQL roles from one node to the other, no data loss. So, quick inventory; what did I have? ConfigMgr 2012 R2 PowerShell Phew, PowerShell, you can do a lot with PowerShell. ConfigMgr, mhhh, ConfigMgr can do Software Updates and execute stuff on machines when it is told to … Continue reading

Read More»

Recover deleted users in Azure Active Directory

You know of the recycle bin in Active Directory, right? I guess this feature has probably saved a bunch of people already big time. Anyways, even the cloud can’t save you from stupidity, failures or “Are you sure? Of course I’m sure!” situations when, for whatever reason, user accounts get deleted when they should not have been deleted. This scenario will specifically show how you can recover deleted user accounts both from Office 365 and also from Azure Active Directory. Azure Active Directory You can’t view deleted users in your Azure Portal (unless you can show me where!), too bad. Gone is gone. PowerShell to the rescue. Connect your PowerShell … Continue reading

Read More»

RDCMan v2.7 Unknown disconnection reason 3848

Last week Microsoft released Remote Desktop Connection Manager version 2.7 (aka RDCMan).  It has some really cool features and supports Windows 8.1 and Windows Server 2012 R2.  This tool is essential if you run a lot of virtual machines.  One of the new features allows the ability to connect directly to virtual machines (called virtual machine connect-to-console support).  […]

Read More»