Update Rollup 2 for System Center 2012

25.07.2012

This rollup includes updates for App Controller, Data Protection Manager (DPM), Operations Manager (OpsMgr), Orchestrator, Service Manager (SCSM) and Virtual Machine Manager (VMM). Download links, installation instructions and the list of issues fixed for each component are documented in the following KB:

KB2706783 – Description of Update Rollup 2 for System Center 2012 (http://support.microsoft.com/kb/2706783)


Windows PowerShell – Ask to Proceed

25.07.2012

I was asked to create a Windows PowerShell script [easy enough for me, the scriptingnoob]. This script needed to create a blue-print of Active Directory sub-OU’s within several OU’s.

|- Organization1
              |- Accounts
              |- Groups
              |- Resources
|- Organization2
              |- Accounts
              |- Groups
              |- Resources

First I wanted the script to accept variables from the cmdlet;

c:\script.ps1 Organisation1 “Organisation1_description”

By starting the script with param, Organisation1 will be set as variable $org_name, and “Organisation1_description” will be set as $org_descr.

param($org_name,$org_descr)

This can be used later in the script..

New-ADOrganizationalUnit -Name $org_name -Path “DC=domain,DC=local” -Description “$org_descr”
New-ADOrganizationalUnit -Name “Accounts” -Path “OU=$org_name,OU=Organizations,DC=domain,DC=lan”

Secondly I wanted to build an “ask-to-proceed” function within the script, because this is a script that should not be used lightly. Also because “it was possible” 🙂 [nl- omdat het kan]

#The Question
$message = “Do you want to continue?”

#Option1 with explanation
$yes = New-Object System.Management.Automation.Host.ChoiceDescription “&Yes”, `
    “If you choose yes, we will continue”

#Option2 with explanation
$no = New-Object System.Management.Automation.Host.ChoiceDescription “&No”, `
    “If you choose no, we will stop”

#Show the options
$options = [System.Management.Automation.Host.ChoiceDescription[]]($yes, $no)
$result = $host.ui.PromptForChoice($title, $message, $options, 1)

#What happens after the chosen

switch ($result)
    {
        0 {“You selected Yes.”}
        1 {“You selected No.”}
    }

If you paste the following in a ps1-file then you will be asked to continue, with the options for help.


Make your Visio Drawing Active with SCOM 2012

18.07.2012

Last week I was asked by a customer to connect SCOM 2012 with the Visio integration onto their SharePoint Enterprise 2010 Server. Below you can find a summary of my installation.

This Visio 2010 Add-in will enable diagrams to show health states of System Center 2012 – Operations Manager managed objects within the Visio diagram. This live health state functionality is available both when viewing the document in Visio 2010 and in SharePoint 2010.

Installation and Requirements

The next thing is to get SharePoint installed. Within the customer environment SharePoint 2010 was already implemented. If the SharePoint farm is running SharePoint Foundation 2010, you can only deploy the web part in the same domain as the web console and you cannot use shared credentials. After a successful installation of SharePoint, you can add the Web Parts. The following TechNet article explains the steps that need to be taken.

http://technet.microsoft.com/en-us/library/hh212924.aspx

clip_image002

Visio 2010 Add-in

The next part (configuring the Visio integration) is also pretty straightforward. It’s tedious, but I didn’t have any issues walking through setup guides that come with the Visio/SharePoint Add-In that you have already downloaded.

clip_image004

These are the 3 files you’ll find in the zip file you’ll download. Just follow the directions to get the add-in installed on the client (after Visio is installed of course) and then extract the server side files on the SharePoint server and do what the “Manually Installing the SharePoint Data Provider” file tells you to do.

http://www.microsoft.com/en-us/download/details.aspx?id=29268

Creating a Visio 2010 Drawing from SCOM 2012

Within the SCOM Console you were already able to save a Diagram View to a “Visio VDX file”. This can give a great starting point for the drawing. After the installation of the Add-in you will see the extra tab “Operations Manager” on the ribbon of Visio 2010.

clip_image006

This Add-in needs to be configured.

clip_image007

After configuration you can insert shapes of various Classes.

clip_image009

After inserting the shapes, “Add Status” will add a dialog containing the status and date/time. When you are finished with your drawing you need save it to the SharePoint server as a VDW “Visio Web Drawing” file. This will make the Shapes dynamic. Result of this example is shown below.

clip_image010

clip_image012


System Center 2012 Service Pack 1 CTP2 VHD downloads

01.07.2012

Microsoft has published for download System Center 2012 Service Pack 1 CTP2 in form of a VHDs. Every VHD enables you to create a virtual machine to evaluate the different System Center components. Here are the download links: