I recently had the task of creating a PowerShell script to call REST API for adding Networks to an uplink set in HP OneView. A quick overview of the environment. Our enclosures have 4x FlexFabrics, 2 used to plumb an access port to the LOMs and 2 used
Read moreCategory: System Center
All things System Center
Disable all alerts for a SCOM management pack using PowerShell
So use this wisely… This script will use Out-Gridview to prompt the operator for the management pack to disable the alerts for and the override management pack to save those overrides in. Enjoy! Dan First, the script to do this for all monitors: Import-module operationsmanager $SCOMServer = “<SCOMServerName>” New-SCOMManagementGroupConnection -ComputerName
Read moreCreate empty overrides Management Pack for SCOM via PowerShell
Along the same line as this post, the below will create an empty overrides management pack based on a source management pack and client number These are meant for the SCOM operators to use for consistent management pack naming. Enjoy Dan! $ManagementServer = “SCOM01” $orgmanagementpackname = read-host “Enter Search Criteria”
Read moreCreate empty custom Management Pack from SCOM via PowerShell
Found this one in my toolkit recently and thought I’d share. It’s a little old so the code could do with some optimizing.. What it does: Prompts the script runner for a client number and then asks them to confirm the name for new management pack. If the operator types
Read moreSCVMM and Datastores
Was cleaning out some old PS scripts recently and found this one in my toolkit. This one will appease some of those out there who came to Hyper-V from another virtualization technology and are familiar with the term datastore… We use SOFS storage so our VM paths are all SMB shares but I’ve
Read moreCreate empty Management Pack from SCOM via PowerShell
Found this one in my toolkit recently and thought I’d share. It’s a little old so the code could do with some optimizing.. What it does: Prompts the script runner for a client number and then asks them to confirm the name for new management pack. If the operator types
Read moreHyper-V Cluster LBFO method for VM Guest switches – Hyper-V Port is best!
Just a quick note to share my experience in NIC teaming algorithm with 2012 R2 hosts and Hyper-V and hopefully dispel some myths.. Many documents/blogs recommend the load balancing algorithm to be Dynamic by default. In my experience this is not the optimal configuration. For NIC teams that are
Read moreSCOM 2016 Console ‘An object of class ManagementPackFolder with ID xxxxxxx’– SC 2016 bug – FIX
EDIT: an unofficial fix is appended below 🙂 Fast publish… So, if any of you are using SCOM 2016 and have recently deployed the console, you may be getting this error below: An object of class ManagementPackFolder with ID <MP GUID> On the sick client, you will find
Read moreAzure Connector for WAP(Pheonix) fails to create VM “Error in CheckCheckVmCreation()”
Another quick one (becoming a habit..) In deploying and testing Azure Connector for Windows Azure Pack found here, deploying a virtual machine can sometimes fail with an obscure status message of: “Error in CheckCheckVmCreation()” This is because the parameters of the resource creation are rejected.
Read moreNVGRE Rebuild – Warning 26926
Had a quirky one recently where by a client was rebuilding a NVGRE gateway (as per this post) failed with the below warning. Warning (26926) Unable to set up Remote Access server to support multi-tenancy mode. (Remote Access server and the host are not configured for multi-tenancy.
Read more