(CROSS POST) Service Manager – Create List Items using Enum Builder

I have created a new tool for Service Manager called Enum Builder. This tool will allow you to create an unsealed MP just like Enum Creator that was posted by Travis a few years ago.

Head over to the Concurrency Blog to get the download link and full details.

Advertisements
Posted in SC 2012 R2, SC 2012 SP1, SCSM | Tagged , | Leave a comment

New Blog Site to Follow me on!

There has been a lot of changes in my life over the past two months. Two major changes have been my wife and I welcomed our first child into the world and I took a position at Concurrency, Inc. I am very excited about both of these changes in my  life!  My position at Concurrency is focused on System Center, Service Manager and Orchestrator are the main technologies I am working on currently. If you can’t tell from my previous blog post here, I love working on all of the System Center products. Since Concurrency encourages their employees to blog on their blog, I have started posting my blog post their blog site, you can find my future post here. I still plan to blog about any of the system center products when I find topics that have not been covered by others in the community.  I encourage you to take a look at the whole blog and see some of the other awesome post by my coworkers, it is a great resource that I used even before I was an employee.

I may cross post items here still, I have not ruled that out yet, we will see but with the new baby my spare time is limited.

I already have two new post on the Concurrency blog:

How to install Orchestrator Integration Toolkit without WiX v3.5

Deploying User Experience Virtualization with ConfigMgr 2012

and currently working on a few other topics, one of them will be a Service Manager Activity you can add to your user deactivation process in Orchestrator or Service Management Automation, optimized for SMA  and I plan to cover some tips for working with PowerShell workflows.

If you need some help with your System Center deployment or other Microsoft technologies look me up on twitter or use the contact us page at Concurrency’s web site.

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

How to Install Service Provider Foundation

In this blog post I have documented the steps to install Service Provider Foundation (SPF). I have also included the PowerShell command to install all of the prerequisites windows features and links to the required downloads. If you want to learn more about SPF you can find the TechNet Library documents here.

 

image

image

image

Install Prerequisites if you have not yet:

PowerShell command to install the Windows Features : Add-windowsfeature Web-server, Web-Scripting-Tools, Web-Basic-Auth, Web-Windows-Auth, Web-Net-Ext45, NET-WCF-HTTP-Activation45, ManagementOdata

WCF Data Services 5.0 for Odata V3 – http://www.microsoft.com/en-us/download/details.aspx?id=29306

ASP.Net MVC 4 – http://www.microsoft.com/en-us/download/details.aspx?id=30683

VMM Console you will need to get from you VMM Media.

image

image

image

image

image

image

image

image

image

image

Posted in SC 2012 R2, SC 2012 SP1, SPF | Tagged , , | Leave a comment

How To install Service Management Automation Runbook Worker

This blog post could be considered part 2 in covering the installation of SMA, In my previous post I showed you how to install the Web Service. In this post I am going to cover the installation of the SMA Runbook Worker.

image

image

image

image

image

I selected the same SQL server as I did for the Web Service Install

image

image

image

image

Posted in SC 2012 R2, SMA | Tagged , | Leave a comment

How to Install Service Management Automation Web Service

In this blog post I have documented the steps to install the Service Management Automation Web Service, I have also included the PowerShell command to install all of the prerequisites windows features. If you want to lean more about Service Management Automation you can find the Technet Library documents here and the Building Clouds Blog also has blogged about SMA recently.

 

image

image

image

image

image

 

Add-windowsfeature Web-Net-Ext45, Web-WebServer, Web-Basic-Auth, Web-Windows-Auth, Web-Url-Auth, NET-WCF-HTTP-Activation45

 

image

image

image

image

image

image

image

image

 

Watch the Cireson App store for their SMA Connector they are building for Service Manager. If you read this blog post before 9am PST 11/27/2013 you can join the SCSM.US User Group and get a preview of the connector.

Posted in SC 2012 R2, SMA | Tagged , | Leave a comment

Fully Automate deployments of GoToMeeting Updates – Part 2

In Part 1 of this blog post we covered the main control runbooks. In this post I am going to cover the main PowerShell script that will check if there is an update available on the Citrix website and download the update if a new version is found.

we will be creating the runbook that I called “Check for Update” in runbook 2

 

image

Check for new Version and download

image

 

########################################################################################################

# Author:Rob Plank

# Date: 5/2/2013

# Purpose: Download the current Goto Meeting MSI 

#

# Note: Unless Citrix changes the web site don't change anything besides the first two variables

########################################################################################################

 

$DownlaodPath = "C:\_IT\gotomeet.zip"                                    #Download File Name and Path

$VersionFile = "C:\_IT\gotomeeting.txt"                                  #Version File used to check for new Versions 

 

# Don't Edit Below

$CurrentVersion = 0                                                      

$Version = 0

$Build = 0

$URI = "http://support.citrixonline.com/gotomeeting/all_files/GTM020012" #Goto Meeting MSI Download page

 

function UpdateVerFile ($VerNum,$BuildNum,$File)

{

    #Delete the file if it exist

    if(Test-path -path $File) {Remove-item $File}

    #add current data to the file

    Add-Content $File $VerNum

    Add-Content $File $buildNum

}

 

function GetDownloadURL ($uri)

{

    $count = 0

    $downloaduri = ""

    #Open URL

    $hsg = Invoke-WebRequest -Uri $uri

    #Get Links with "Gotometting v"

    $MSILinks = $hsg.Links | Where {$_.innerhtml -like 'GoToMeeting v*'}

    Foreach ($Link in $MSILinks)

    {

        #Check for the first link

        if($count -eq '0')

        {

            $count ++

            #get the href from the link

            $NewURI = $Link.href

            #Open the URI

            $dlpage = Invoke-WebRequest $NewURI

            #Get the Download link

            $downloaduri = $dlpage.Links | Where {$_.outerText -eq 'click here'} | Select href

        }

    }

    #Return and add the prefex to the URL that is not in the link

    Return "http://support.citrixonline.com" + $downloaduri.href

}

 

function Downloadfile ($url,$path)

{

    #Download URL to the Path Provided

    $url = $url.replace('&','&')

    $client = new-object System.Net.WebClient

    $client.DownloadFile($url,$path)  

}

 

#open Web page

$hsg = Invoke-WebRequest -Uri $URI

#Get Links on the Page that have "GotoMeeting v"

$MSILinks = $hsg.Links | Where {$_.innerhtml -like 'GoToMeeting v*'}

Foreach ($Link in $MSILinks)

{

    #Check for the first link

    if($Version -eq '0')

    {

        #get internalHTML to String

        $interhtml = $Link.innerHTML.ToString()

        #Split the string for Version and Build numbers to store to variable

        $A = $interhtml.Split(',')

        $Version = $A[0].ToString().TrimStart('GoToMeeting v')

        $Build = $A[1].ToString().trimStart('build ')

    }

}

#Get Version from the last run if script has been run before

if((test-path -Path $VersionFile)) {$CurrentVersion = Get-Content $VersionFile}

#Check Version and Build numbers and if we should proceed with download

if(($Version -gt $CurrentVersion[0]) -or ($Build -gt $CurrentVersion[1])) 

{

    $downlaodurl = GetDownloadURL $URI

    Downloadfile $downlaodurl $DownlaodPath

    UpdateVerFile $Version $Build $VersionFile

    $Updated = $true

}

In the above powershell script I am downloading the current version of the GoToMeeting client and checking to see if the version number is newer than the last downloaded version, if it is newer we flip a bool variable to equal true. We return this variable and use it as a filter in the main control Runbook.

Return Data

image

Posted in GoToMeeting, Powershell, SCO, SCORCH | Tagged , , , | 1 Comment

Fully Automate deployments of GoToMeeting Updates – Part 1

In this multi-part blog post I am going to show you have I have fully automated the deployment of the GoToMeeting Client each time there is an update.

In Part 1 we are going to go build three Orchestrator runbooks

  1. the first runbook will monitor when the process should run
  2. the second runbook will be the main control runbook
  3. the third runbook will Unzip the zip file if there was an update downloaded with the runbook we will build in Part 2

Runbook 1

image

details of the Monitor date/time activity – I have it setup to check every 7 days

image

the invoke runbook activity will point to runbook 2

Runbook 2

image

Runbook 2 is the workflow runbook that calls all of the other runbooks that do the real work. You will need 5 invoke runbooks and a .net script, I will come back to this runbook after we have build all of the other required runbooks.

.Net Script

image image

Runbook 3

image

Initialize Data                                                                   

image             

Set SCCM Source Files

image

$SCCMsourcefilepath  is the directory that the zip file will be extracted too.

Unzip                                                                                 

image             

Get MSI

image

Return Data

image

Watch for part 2 of this blog post where I will go over the PowerShell script that checks for new versions of GoToMeeting.

Posted in ConfigMgr, GoToMeeting, Orchestrator, Powershell, SCCM, SCO, SCORCH | Tagged , , , , , , | Leave a comment