Scripts

Installing the Failover Cluster Feature and Tools in Windows Server 2012

First published on MSDN on Apr 06, 2012 In this blog we will discuss the changes in Windows Server 2012 as well as the different options for installing the Failover Clustering feature.  This applies to Windows Server 2012, Windows Server 2012 R2, and Windows Server 2016. Windows Server 2012 continues with the Roles and Features model. All […]

Installing the Failover Cluster Feature and Tools in Windows Server 2012 Continue Reading

Exporting and Importing User Roles and Notifications in SCOM 2007 and SCOM 2012

First published on TECHNET on Dec 12, 2013 A customer of mine is migrating from SCOM 2007 to a new SCOM 2012 installation and would like to migrate User Roles and Notifications instead of recreating all of them manually. Note that both User Roles and Notifications both reference objects that are defined in Management Packs

Exporting and Importing User Roles and Notifications in SCOM 2007 and SCOM 2012 Continue Reading

Powershell Commands to configure Gateway Server / Agent Failover

First published on TECHNET on Jul 23, 2010 UPDATE:  Some of these commands have been changed for OpsMgr 2012, so I’ve created updated scripts at the bottom of this post that should work in 2012. I’ve assisted a few customers with configuring Gateway Servers/Agents for failover lately, so I figured I’d post the commands that

Powershell Commands to configure Gateway Server / Agent Failover Continue Reading

Monitoring a service for State and StartMode

First published on TECHNET on Aug 09, 2008 I recently had a customer that wants to get an alert when a specific service is not Disabled and/or not Stopped.  I used the following steps to accomplish this using a “Timed Script Three State Monitor”.  Even if you do not have this specific need, these steps

Monitoring a service for State and StartMode Continue Reading

Free PowerShell Monitoring MP

First published on TECHNET on Oct 26, 2017 The following is a special guest blog from Squared Up As part of our continuing commitment to the SCOM community we’re excited to announce a new PowerShell Monitoring Management Pack, freely available to the community, available to download from our site and open-sourced via GitHub. Firstly, a

Free PowerShell Monitoring MP Continue Reading

MSIX – The MSIX Packaging Tool – signing the MSIX package

First published on MSDN on Sep 06, 2018So, as we noticed a certificate is needed to sign the MSIX package. Especially for those with a history in packaging, signing an AppX/MSIX-package could potentially be the first time you’re ever faced with the requirement. So…. Why should we sign packages? Signing code or binaries nowadays is

MSIX – The MSIX Packaging Tool – signing the MSIX package Continue Reading

App-V Auto Sequencing Part 4 – Automate the sequencing process further

App-V Auto Sequencing Part 1, the blueprint App-V Auto Sequencing Part 2 – Preparing the Host and VM App-V Auto Sequencing Part 3 – Auto Sequence Applications App-V Auto Sequencing Part 4 – Automate the sequencing process further Now we are able to use the sequencer using PowerShell cmdlets, we can take this a step

App-V Auto Sequencing Part 4 – Automate the sequencing process further Continue Reading

How to query Azure resources using the Azure CLI

TL/DR: The Azure CLI can be used to query data from Azure. For more information on how to use the Azure CLI query functionality, see the Azure CLI Query documentation. The Azure CLI can be used to not only create, configure, and delete resources from Azure but to also query data from Azure. To do

How to query Azure resources using the Azure CLI Continue Reading

Analyzing wait statistics on Managed Instance

Wait statistics are information that might help you understand why the query duration is long and identify the queries that are waiting for something in database engine. In this post, I will show to you how to identify why the workload is waiting and what are the queries that are waiting on some resources. Azure

Analyzing wait statistics on Managed Instance Continue Reading

Measuring file io performance on Managed Instance using QPI

Checking file performance and comparing performance characteristics between SQL Server database engines in Azure cloud and your on-premises environment might be tricky and require some better knowledge of DM objects. In this post, you will see how to use one open-source library that can help you to analyze and compare file performance. SQL Server and

Measuring file io performance on Managed Instance using QPI Continue Reading