Post Views: 2,146     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: 1,052     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: 1,969     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: 2,295     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 […]