0 commentsM365PowershellSCOM 2016M365Microsoft Graph APIpowershell

Microsoft Graph API test script for M365 Services

Here’s an easy snippet for doing some basic testing of M365 services via Microsoft Graph. Don’t forget that your app registration permissions must be correct before you will find any success with this test. App Registration Permission App registration permissions shown below at the time of this writing.NOTE:  Message Center Reader role is required as ….  Read More

0 commentsPowershellMaintenancepowershellscom

Run Remove-SCOMDisabledClassInstance Without Confirmation Prompt

Summary of Remove-SCOMDisabledClassInstance In System Center Operations Manager (SCOM), there are instances where certain class objects become disabled and need to be removed to maintain a healthy management environment. The Remove-SCOMDisabledClassInstance function automates the process of cleaning up these disabled class instances. This is particularly useful for administrators who manage large SCOM environments and need to regularly clean ….  Read More

0 commentsSCOM 2016

Add Custom Kusto KQL Syntax Highlight to OneNote

1) Install NoteHighlight2016 https://github.com/elvirbrk/NoteHighlight2016/tree/master 2) Modify Ribbon file “C:\Program Files\CodingRoad\NoteHighlight2016\ribbon.xml“ Add this line as shown in the screenshot: 3) Create custom .lang file for your language Understanding the .lang File Markup The .lang file is a configuration file used by the NoteHighlight extension to highlight the syntax of code. Here’s a breakdown of the structure: ….  Read More

0 commentsAuthoringManagement PacksTroubleshooting

SQL MP Debug Logging – On/Off with a Simple Agent Task

Sometimes you need to activate SQL Management Pack debugging. The SCOM product group makes it relatively easy; by creating a registry key to instantly begin writing debug information to the Operations Manager event log. ‘HKLM:\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\SQL Management Packs\EnableEvtLogDebugOutput\SQL Server MP’ To make things even easier, here are two tasks: Enable: Disable Logging should begin ….  Read More