Create a new user in Azure AD with all licenses assigned

I’ve done some work with a customer recently where there was a requirement to provision new users in Azure Active Directory and assign all available licenses during the provisioning process (e.g. Office 365, Windows Intune).

It’s fairly straightforward to do with PowerShell. The code below looks for the Azure subscription’s default domain (*.onmicrosoft.com) but you […]

Create an OS Deployment Task Sequence in Configuration Manager 2012 with PowerShell

This code is designed to create the framework for the Windows 8.1 OSD Task Sequence used in Chapter 11 of “Learn ConfigMgr 2012 in a Month of Lunches“.

The PowerShell cmdlet doesn’t perform the full amount of customisation which the reader does in the book’s lab environment, but it sets up the structure of the […]

Create a Package in ConfigMgr 2012 R2 with PowerShell

This PowerShell code is designed to create a new Configuration Manager Package for Notepad++ as well as an installation Program for the new Package, as per Chapter 8 in “Learn ConfigMgr 2012 in a Month of Lunches“.

While the code is specific for the lab environment, it will work for any Program in Configuration Manager […]

Set ConfigMgr client Inventory Settings with PowerShell

This PowerShell code is designed to create new custom Device client settings and then enable and configure those settings for Software Inventory, as per Chapter 6 in “Learn ConfigMgr in a Month of Lunches“.

A few things to note about this code:

Similar to the PowerShell code used to create and configure Active Directory Group […]

Manage ConfigMgr Organizational Folders with PowerShell

This code is designed to create the organizational folders for Device Collections in Chapter 5 of “Learn ConfigMgr 2012 in a Month of Lunches“.

Because we’re creating multiple folders of the same type all at once, I chose to create a new array called $Folders, and then loop the creation command through each entry in […]