Post Views: 4,221 The PowerShell Grid Widget displays the results of a Windows PowerShell script in a grid. The script is run when the dashboard is opened and each time the component is refreshed. Here are few example which will help to create a custom dashboard. 1. Populating Dashboard from […]
Post Views: 2,295 This Script will return all the Rules which are Monitoring or collecting any events in SCOM. $Cur = Get-Location Import-Module OperationsManager $Rules = Get-SCOMRule $RuleNames = $Rules.Name foreach ($Rule in $RuleNames) { $RuleName = Get-SCOMRule -Name “$Rule” $Configuration = $RuleName.DataSourceCollection $RuleConfig = $Configuration.Configuration If […]
Post Views: 4,974 Today I will discuss here how we can connect to SCOM SDK from a remote computer where we don’t need to copy the SDK binaries. I am going to use ScriptBlock to connect the PowerShell of the remote machine. Please find the sample piece of […]
Post Views: 3,883 This is one of the most demanded features in SCOM. As a SCOM admin, we were eagerly waiting for it and Microsoft had introduced this feature in SCOM 2016 for the first time and is available on the latest version of the SCOM products […]
Post Views: 3,683 In this blog post, I will share with you how I automated the Orchestrator database maintenance activity using a PowerShell script. This script can help you optimize the performance and reliability of your Orchestrator environment by cleaning up the database from old and unused data. You can […]
Post Views: 1,186 Please find the Script in the below location: https://github.com/souravmahato7/Codes/blob/Windows/System_Info.PS1 ################################################################## #Author: Sourav Mahato #Created Date:01/05/2015 #Purpose: Script to get the details of the System with a Single PowerShell Script###### ################################################################## $Cur = Get-Location if (Test-path “$cur\SystemInfo.xlsx”) { Remove-Item -Path “$cur\SystemInfo.xlsx” -Force } if […]
Post Views: 2,153 You can get the Script from the below link. https://github.com/souravmahato7/Codes/blob/SCOM/Get_All_The_ServiceMonitor.PS1 ################################################################## #Author: Sourav Mahato #Created Date:08/26/2019 #Modified Date:12/22/2019 #Purpose: Script for get all the service Monitor in SCOM #How to run: You just need to run it from SCOM Management Server and create Temp […]
Post Views: 1,414 $Alert = Get-SCOMAlert -Name “Alert Name” $MonitorID = $Alert.MonitoringRuleId $MonitorName = Get-SCOMMonitor -id $MonitorID $managementpack = $MonitorName.GetManagementPack() $managementpackname = $managementpack.DisplayName $managementpackname
Post Views: 2,628 I have seen many posts in common forum and it seems that many of you are having challenges when it comes to moving the SCOM database to a new SQL database instances. The process is bit complex, so it’s become a bit challenges to […]
Post Views: 2,504 Solution 1: You can run the PowerShell Script which is located here: https://github.com/souravmahato7/Codes/blob/SCOM/GroupInfo.PS1 ##################################################################<#Purpose: This script will help you to identify in how many groups the server is part of #># You need to copy this GroupInfo.PS1 file to a location on your […]