Post Views: 78     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 Continue Reading

Post Views: 220     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 Continue Reading

Post Views: 146     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 Continue Reading

Post Views: 120     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 Continue Reading

Post Views: 103     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 Continue Reading

Post Views: 104     We need to use the following Switch which will recover the management servers.   Setup.exe /silent /AcceptEndUserLicenseAgreement /recover /EnableErrorReporting:Never /SendCEIPReports:0 /UseMicrosoftUpdate:0 /InstallPath:”D:\Program Files\System Center 2016\Operations Manager” /DatabaseName:OperationsManager /SqlServerInstance:<server\instance> /DWDatabaseName:OperationsManagerDW /DWSqlServerInstance:<server\instance> /DASAccountUser:<domain\username> /DASAccountPassword:<password> /DatareaderUser:<domain\username> /DatareaderPassword:<password> /DataWriterUser:<domain\username> /DataWriterPassword:<password> /ActionAccountUser:<domain\username> /ActionAccountPassword:<password> /ManagementGroupName:MGName​