Post Views: 819     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,409     I have made the Orchestrator database maintenance activity automated. You can get the following Script in the below GitHub repository.   https://github.com/souravmahato7/Codes/blob/SCORCH/DatabaseMaitenanceScript.PS1   ################################################################## #Author: Sourav Mahato #Created Date:09/25/2019 #Purpose: Script for grooming the data for Orchestrator database # Please save the Script in the […]

Post Views: 400     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: 458     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: 645     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 […]