My Experience of Using Silect MP Studio During Management Pack Update Process

Thanks to Silect’s generosity, I have been given a NFR (Not For Resell) license for the MP Studio to be used in my lab last November. When I received the license, I created a VM and installed it in my lab straightaway.  However, due to my workloads and other commitments, I haven’t been able to spend too much time exploring this product. In the mean time, I’ve been trying to get all the past and current MS management packs ready so I can load them into MP Studio to build my repository. Today, one of my colleagues came to me

Continue reading

Writing PowerShell Modules That Interact With Various SDK Assemblies

Over the last few months, there have been few occasions that I needed to develop PowerShell scripts needed to leverage SDK DLLs from various products such as OpsMgr 2012 R2, SCSM 2012 R2 and SharePoint Client Component SDK. In order to be able to leverage these SDK DLLs, it is obvious that prior to running the scripts, these DLLs must be installed on the computers where the scripts are going to be executed. However, this may not always be possible, for example: Version Conflicts (i.e. OpsMgr): The OpsMgr SDK DLLs are installed into computer’s Global Assembly Cache (GAC) as part

Continue reading

Updated Management Pack for Windows Server Logical Disk Auto Defragmentation

Background I have been asked to automate Hyper-V logical disk defragmentation to address a wide-spread production issue at work. Without having a second look, I went for the famous Autodefrag MP authored by my friend and SCCDM MVP Cameron Fuller. Cameron’s MP was released in Octorber, 2013, which is around 1.5 year ago. When I looked into Cameron’s MP, I realised unfortunately, it does not meet my requirements. I had the following issues with Cameron’s MP: The MP schema is based on version 2 (OpsMgr 2012 MP schema), which prevents it from being used in OpsMgr 2007. This is a

Continue reading

Session Recording for My Presentation in Microsoft MVP Community Camp Melbourne Event

Last Friday, I presented in the Melbourne MVP Community Camp day, on the topic of “Automating SCOM Tasks Using SMA”. I have uploaded the session recording to YouTube. You can either watch it here: If you’d like to watch it in full screen, please go to: https://www.youtube.com/watch?v=QW99bVFKg80   Or on YouTube: https://www.youtube.com/watch?v=QW99bVFKg80 You can also download the presentation deck from HERE. And Here’s the sample script I used in my presentation when I explained how to connect to SCOM management group via SDK: #Script Name: Sample-ConnectMG.ps1 #Load SCOM SDK DLLs from GAC [System.Reflection.Assembly]::Load(“Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”) [System.Reflection.Assembly]::Load(“Microsoft.EnterpriseManagement.OperationsManager, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”)

Continue reading
%d bloggers like this: