Archive for the ‘System Center 2012’ Category

How to: Add computer to security group with ConfigMgr 2012 during OSD

In some cases you’ve to add computer to a Active Directory security group. For example Direct Access laptops. In this example I’ve created a VBS script for adding a computer to an Active Directory security group during OSD in ConfigMgr 2012 R2.

1.)  Create a new package within ConfigMgr 2012 R2 without a program
2.) Distribute the new package to you distribution point(s)
3.) Copy the script “ADgroup.vbs” to the source location of your new package
4.) Add a step “Run Command Line” to your task sequence
5.) Add the command line: cscript.exe adgroup.vbs [name of your AD group]
6.) Select the package “Scripts”
7.) Select a account with enough privileges to add (new) computer object to the Active Directory
8.) Deploy your task sequence to a collection

You can download the script here. (Right-click and save…)

2014-12-12_15h53_47    2014-12-12_15h58_35    2014-12-12_15h59_14

2014-12-12_15h59_50    2014-12-12_16h42_54    2014-12-12_16h43_11

2014-12-12_16h43_34    2014-12-12_16h43_48

Powershell Deployment Toolkit GUI available

Working with System Center products is one of my favorite things!! A great solution I’m using is the Powershell Deployment Toolkit (PDT). The PowerShell Deployment Toolkit (PDT) is a set of scripts and knowledge for automated deployment of System Center 2012 SP1/R2, including SQL all prerequisites, and all automatable post-setup integration. PDT is written by Rob Willis.

Download the Powershell Deployment Toolkit (PDT) here.

Because Powershell Deployment Toolkit contains some Powershell scripts and XML files, this is not a easy thing for everyone! To make this powershell scripts just more powerfull, the Powershell Deployment Toolkit GUI is created!! This is a graphical user interface for the Powershell Deployment Toolkit. The original PDT is created and maintained by Rob Willis from Microsoft Corporation. The PDT GUI is created and maintained by German Microsoft Partner ‘Elanity Network Partner GmbH’ and is not an official Microsoft Product. The PDT GUI helps to create fast PDT Configuration-Files (Variable.xml) for Zero Touch System Center Deployments. PDT GUI creates and validates the configuration files for PDT, it does not alter the existing PDT in any way. An installed PDT is neccessary for a succesful PDT Deployment.

Download the Powershell Deployment Toolkit GUI here.

Benedict Berger (Hyper-V MVP and Hybrid Cloud Geek) and Kamil Kosek (Powershell Geek and Automation IT Pro) teamed up end created this free tool. Special credits to this guys, great job!!

2014-05-15_09h09_31    2014-05-15_09h09_35    2014-05-15_09h09_40

2014-05-15_09h09_45    2014-05-15_09h09_57    2014-05-15_09h10_01

2014-05-15_09h10_34    2014-05-15_09h10_38

 

Free ebook: Microsoft System Center: Integrated Cloud Platform

Microsoft System Center: Integrated Cloud Platform
David Ziembicki and Mitch Tulloch, Series Editor
April 2014
80 pages

This book is organized by cloud type and begins with a short overview of the Cloud OS strategy from Microsoft and a high-level hybrid cloud architecture. It also covers the design and deployment of private cloud solutions using Windows and System Center to deliver the software-defined datacenter where storage, network, compute, and management are all virtualized and delivered by the Microsoft platform.

Download the PDF
Download the EPUB file
Download the Mobi for Kindle file

2014-05-01_08h11_24

How to: Install the Hyper-V Integration Components with ConfigMgr 2012 R2 during OSD

When you’ve to install an operating system in you’re environment, it is easy and usefull to test your OS deployment first in a virtual environment. In my case, it is an Microsoft Hyper-V host server, where I can deploy some virtual machines using ConfigMgr 2012 R2.

One of the important things when deploying a virtual machine within Hyper-V, are the Integration Components (Integration Services). These components installs all the necesarry drivers for that VM. Maybe you want to perform this action during the OS deployment fase (OSD). What steps do you need to make?

1.) First install a new clean Windows 7 VM (in my case it is Windows 7 Service Pack 1)
2.) Insert the Integration Services Setup Disk
Action / Insert Integration Services Setup Disk
3.) Navigate to your Windows Explorer and open the mounted disk
4.) Navigate to the right folder of your architecture, x86 or x64. In my case it is x64.
D:\support\amd64
5.) Copy all the files in this to your Configuration Manager Site Server. In my case E:\Sources\Applications\Level 0\Hyper-V Integration Services x64
6.) The silent installation is not that hard. Just execute setup.exe /? to see all the options.
7.) Create a new package within ConfigMgr 2012 R2 with a normal program
8.) The source location is the location to your folder created in step 5
9.) The command line to perform is setup.exe /quiet /norestart
10.) After succesfully created to new package, don’t forget to distribute it to your distribution point(s)
11.) Now open you task sequence and at the end create a new folder called “Install Applications”
12.) Add a new package to install and select the wright package and program
13.) All you need to do now is deploy a virtual machine
14.) After your virtual machine has succesfully deployed, look at your device manager. All the components are installed.

INTSER_01    INTSER_02    INTSER_03

INTSER_04    INTSER_05    INTSER_06

INTSER_07    INTSER_08

How to: Find MAC addresses using PowerShell

Today I had to install a new System Center Configuration Manager 2012 R2 environment. One of the features this customer is going to use is OS Deployment. In this environment we are using the Build & Capture task sequence voor deploying a Master Image of Windows 8.1. The Master Images will be deployed in Hyper-V. One of the important steps is to import the “Master VM” into the ConfigMgr database. Two things you’ve to know are….PC name and the MAC address. With this PowerShell command you can find all the MAC addresses very easy!

1.) Open Microsoft PowerShell on your Hyper-V server
2.) First list all the VM’s
Get-VM
3.) List the name of the VM, MAC address, Virtual Switch name and IP address

get-vm -Name SC2012R2-PC0002 | select -ExpandProperty networkadapters | select vmname, macaddress, switchname, ipaddresses

4.) Import the VM into ConfigMgr

 

2014-03-12_20h26_23    2014-03-12_20h26_28      2014-03-12_20h43_31

2014-03-12_20h49_46    2014-03-12_20h51_22    2014-03-12_20h53_10

How to: Install Update 1 for System Center Virtual Machine Manager 2012 R2

A couple of weeks ago Microsoft has released Update 1 for System Center Virtual Machine Manager 2012 R2. This update requires a extra step to succesfully upgrade your SCVMM invironment. You have to install the MSI and you have to run a SQL script.

1.) First download the files and the SQL script.
http://support.microsoft.com/kb/2904712
2.) Check the version of your VMM environment
3.) Install the update on your VMM server
4.) Open the SQL Management Studio
5.) Select the database of VMM and open a new query
6.) Copy and paste the SQL script in the query
7.) Select “Execute
8.) Check the new version of your VMM invironment.
9.) Now your VMM 2012 R2 environment is succesfully upgraded with Update 1

2014-02-25_20h53_41    2014-02-25_20h59_01    2014-02-25_20h59_37

2014-02-25_21h00_29    2014-02-25_21h02_36    2014-02-25_21h03_42

2014-02-25_21h04_06    2014-02-25_21h05_24

The Hydration Kit for ConfigMgr 2012 R2 is available for download

If you want to save some time installing all the System Center 2012 R2 products within your production environment or demo lab environment, the HydrationKit is just the way to go!! System Center guru Johan Arwidmark has created a fully automated installation upon MDT 2013! Within just a few minutes, you’re ready to rock!!

Download the HydrationKit for System Center 2012 R2

Special thanks to Johan!! Please visit his blog at http://www.deploymentresearch.com and leave a message for him!!

HDK_01

Update Rollup 1 for System Center 2012 R2 available

Microsoft released Update Rollup 1 for System Center 2012 R2 with updates and fixes for Virtual Machine Manager, Data Protection Manager and Operations Manager.

Components that are fixed in this update rollup

• Data Protection Manager (KB 2904687)
• Operations Manager (KB 2904678)
• Virtual Machine Manager (KB 2904712)

microsoft-system-center-2012-logo1