Install System Center Update Rollup Silently

Install System Center Update Rollup Silently

During writing an ARM deployment for Data Protection Manager 2016, i found the need to install UR2 silently as part of the custom script extension. The installer for the DPM UR2 update didn’t have any silent switches or unattended functionality out of the box, so i had to find another way. The PowerShell below allows […]

JSON Azure deployment: Create PowerShell script during CSE to allow scripting to continue after a reboot

JSON Azure deployment: Create PowerShell script during CSE to allow scripting to continue after a reboot

While working on a JSON Azure deployment we came across a scenario where we were needing to script after a reboot from the Custom Script Extension (CSE). This can’t be done out of the box as once the server reboots, the CSE module stops running. To work around this we used the RunOnce, and AutoAdminLogon […]

PowerShell deployment of Riverbed SteelHead for Azure Resource Manager deployment model

PowerShell deployment of Riverbed SteelHead for Azure Resource Manager deployment model

I have been working on various cloud transformation projects using Riverbed SteelHead appliances for WAN optimisation. Below is an example of using PowerShell to deploy a Riverbed SteelHead appliance into ARM: # Tenant and Subscription details $TenantId = ” $SubscriptionId = ” # Authenticate Login-AzureRmAccount -TenantId $TenantId -SubscriptionId $SubscriptionId Select-AzureRmSubscription -TenantId $TenantId -SubscriptionId $SubscriptionId # Deployment […]

Configure SQL Monitoring Low-Privilege environment for SCOM (Part 1)

Configure SQL Monitoring Low-Privilege environment for SCOM (Part 1)

Part of my job as Cloud Consultant to configure System Center 2012 R2 Operations Manager environments including Management Packs. The one which causes most of the headaches is the Management Pack for SQL servers. The reason is that Microsoft changed the default permissions for LocalSystem when they release SQL Server 2012. Before that, LocalSystem (other […]

Get-SCOMGroup returns error message “The query processor ran out of internal resources…”

Get-SCOMGroup returns error message “The query processor ran out of internal resources…”

Recently I have been working with several large System Center 2012 R2 Operations Manager (SCOM) environments where the number of groups have been creeping over 1000 which has led to some issues with certain cmdlets. The Get-SCOMGroup -DisplayName XXX cmdlet is one of those that has been causing problems for some of our automation efforts. […]

Scripting Shared Nothing Live Migration

I was working with a customer recently to replace their existing Windows Server 2012 Hyper-V clusters and System Center 2012 SP1 Virtual Machine Manager (VMM) installation with new Windows Server 2012 Hyper-V clusters and System Center 2012 R2 Virtual Machine Manager installation. The customer was concerned about downtime for moving their Virtual Machines (VMs) from […]

PowerShell problems when setting failover SCOM Management Servers

PowerShell problems when setting failover SCOM Management Servers

I have recently been writing a couple of System Center Operations Manager maintenance scripts to configure failover and came across a PowerShell issue that I had not realised before. The script I was to loop through all of the agents reporting to one of my management servers and set the secondary management server to the […]