Azure Monitor

In this session we take a look at Azure Monitor and its capabilities.

Azure Monitor Overview

6:08 – Alerts
11:00 – Alerts – Create a New Rule
11:50 – Alerts – Create a New Rule – Step 1
15:46 – Alerts – Create a New rule – Configuring Signal Logic
20:00 – Alerts – Create a new rule – Define Action Groups
25:50 – Metrics
30:21 – Logs
36:20 – Service Health
42:29 – Insights – Application Insights

44:25 – Insights – Virtual Machines (Preview)

48:53 – Insights – Network Watcher

56:12 – ‘More’ Insights
58:12 – Diagnostic settings, AutoScale, Cost, etc


Estimated Usage and Cost


Operations Management Suite Overview

In this session, we will take a look at the ‘current’ Microsoft Operations Management Suite (OMS) Portal and discuss several of the available solutions.

  • Overview of the UI
  • Enabling OMS Solutions
  • AD and SQL Health Checks
  • Log Analytics
  • Security and Audit
  • Data Plan Options
  • Downloading and Installing Agents
  • Connected Data Sources – Storage Accounts, Log Data from Agents, SCOM, SCCM, AD, WSUS
  • Windows Telemetry data ingestion
  • Collecting Windows Event Logs and Performance Data
  • Collecting Linux Performance Counters


Note: It appears the OMS Portal will eventually be fully integrated within the Azure Portal. So some features you see in the OMS Portal may not currently show up in the Azure Portal, and some features in the Azure portal may not show up in the OMS Portal while the service is in this in-between transitional period.

Note: Even if you are on the FREE data plan, some solutions have a COST after a 60 day or less trial period. In particular the Security and Audit feature, now integrated within the Azure Security Center feature has a cost after the expiration of the trial period.

Using the SCOM Powershell modules without installing the Console

Today we will be exploring how to use the SCOM Powershell modules without installing the console. By default when you install the SCOM Console on a server or workstation the SCOM PowerShell modules also get installed. Normally, this is the only way to gain access to most of the SCOM Powershell modules. However, by manually copying over the requisites pieces and a few OS tweaks you can use the SCOM PowerShell modules without installing the console.

In order to get started you will need the following:

  • An existing server/workstation with the SCOM Console already installed
  • An existing server/workstation running a supported OS

In this example I will be using a Windows Server 2012 R2 system to deploy the SCOM PowerShell modules. The SCOM environment is a SCOM 1801 deployment. The folders and path may vary if you are using a SCOM 2012, 2012 R2, or 2016 deployment but the steps are essentially the same.

Step 1

Create a temporary folder on your target workstation/server. In my case I am creating a folder named E:\SCOM-Powershell.


Step 2

Connect to a server/workstation that has the full SCOM console already installed and copy the [Install-Drive]:\Program Files\ Microsoft System Center\Operations Manager\PowerShell folder to your temporary folder from Step 1 ex: E:\SCOM-PowerShell.  In this case, I am connecting to the server via a network share and copying the files over from the SCOM-SAC1 server which is a management server that also has the SCOM Console installed.

Note: Your path may vary slightly if you are running SCOM 2012, 2012 R2, or 2016 in all steps.

Step 3

In the temporary folder from Step 1, create a folder named Console and a folder named Server.

Step 4

You will need to copy the following (3) DLLs from your source computer:

  • Microsoft.EnterpriseManagement.Core.dll
  • Microsoft.EnterpriseManagement.OperationsManager.dll
  • Microsoft.EnterpriseManagement.Runtime.dll

The path will vary depending on if the source computer in question is a SCOM management server or a workstation with the console installed and also depending on if it is for SCOM 2012, 2012 R2, 2016, or 1801.

If you are using a SCOM management server browse to the following path:  [Install-Drive]:\Program Files\ Microsoft System Center\Operations Manager\Server\SDK Binaries

If you are using a workstation with the console installed browse to the following path:  [Install-Drive]:\Program Files\ Microsoft System Center\Console\SDK Binaries

Copy the (3) DLLs to your temporary folder from Step 1. ex: E:\SCOM-PowerShell

Step 5

After you have copied the folder, created the empty folders, and copied the DLL files you should have a temporary folder that looks something like this:

Now, on your target workstation, open an Administrator PowerShell command prompt or the Administrator PowerShell ISE and copy and paste the PS code below.  Replace the $TargetFolder variable with the path to your Temporary folder. This will register the DLL’s on your system.

# Replace the TargetFolder with your Temp Folder Path
$TargetFolder = "E:\SCOM-PowerShell"
[Reflection.Assembly]::LoadWithPartialName("System.EnterpriseServices") | Out-Null 
[System.EnterpriseServices.Internal.Publish] $publish = New-Object System.EnterpriseServices.Internal.Publish



Step 6

Lastly, you need to add the SCOM PowerShell module path to the local environment variables. In PowerShell run the following command against your workstation replacing the path with your temp folder.

$CurrentValue = [Environment]::GetEnvironmentVariable(“PSModulePath”, “Machine”)
[Environment]::SetEnvironmentVariable(“PSModulePath”, $CurrentValue + “;$TargetFolder\PowerShell\OperationsManager”, “Machine”)
Import-Module $TargetFolder\PowerShell\OperationsManager\OperationsManager.psd1

Step 7

Close and reopen your PowerShell command prompt or PowerShell ISE session, now The SCOM PowerShell modules should be available and accessible on the target workstation/server. You can test by opening a PowerShell window and attempting to run the following SCOM cmdlets using an account that has permissions within the Management group:

import-module OperationsManager
New-SCOMManagementGroupConnection [EnterAManagementServerNameHere]
Get-SCOMAlert -resolutionstate 0

The (3) commands above will attempt to connect to a SCOM management server and display all of the alerts with a resolution state of ‘New’.

Let me know if you have trouble with any of this with various OS/PowerShell versions/SCOM versions. This has been tested using a SCOM 1801 environment with a Server 2016 and Server 2012 R2 as the target workstation.







LAB Build Out – Part 12 – Installing SCO 1801 from VHD

In part 12 of this series, we will be installing System Center Orchestrator 1801 (SCO) from the VHD evaluation media.

SCO 1801 is the 1st semi annual channel release for SCO. The System Center suite of products now come in (2) distinct support branches.

The Semi-Annual-Channel branch (SAC) will:

  • Receive all new updates planned for the product
  • Be supported for 18 months
  • Have new releases every 6 months

The Long-Term-Servicing Channel (LTSC) branch will:

  • Receive UR (Update rollups) releases that will primarily focus on fixes and not new features.
  • Supported for 5 years in mainstream support

Read more about the System Center 1st Semi Annual Channel Release here:

Download System Center Evaluations:

Please read the guide included with the evaluation download for details on how to create a new virtual machine to accept the VHD disk. I will not be covering this during the session.