Service Management Automation (SMA) Child runbook not found when starting parent runbook if runbooks published out of order

Imagine a scenario where you have two runbooks; one that is the “parent” and one that is the “child” because the parent runbook calls the child runbook synchronously during execution. If these two runbooks are imported and published in the wrong order, associations between the two runbooks are not made correctly and the parent runbook cannot run.

Read the rest of this entry »


PowerShell: Physical CPU count and Motherboard Manufacturer

Getting how many physical CPU sockets are in the machine:

$myArray = @()
$myArray += Get-WmiObject win32_processor

Geting the motherboard manufacturer:

Get-WmiObject win32_computersystemproduct

This returns something like this:

IdentifyingNumber : MXQXXXXXXXX
Name              : ProLiant DL360 G6
Vendor            : HP
Version           :
Caption           : Computer System Product