Broken SCOM Web Console URLs?

I come across a situation where when i click on the web console URL from a SCOM notification email such as this one: http://<SCOM Web Server>/default.aspx?DisplayMode=Pivot&AlertID=%7b07aac5b0-4cf8-411f-b5a0-cb0075dc0f31%7d I get a HTTP 500 error: I had to change the URL from http://<SCOM Web Server>/default.aspx?DisplayMode=Pivot&AlertID=%7b07aac5b0-4cf8-411f-b5a0-cb0075dc0f31%7d to http://<SCOM Web Server>/default.aspx?DisplayMode=Pivot&AlertID={07aac5b0-4cf8-411f-b5a0-cb0075dc0f31} to make it work. It’s quiet painful as %7b and %7d comes as a part of SCOM WebConsole Link variable… For this particular environment, I found out it was caused by Forefront TMG server was blocking encoded URLs for this website. After unticking Verify normalization and Block high bit characters in the TMG rule, the

SCOM Console Crashes

When I connect SCOM console to one of my clients SCOM 2007 R2 environment, under Authoring Pane, if I change the display scope of Monitors or Rules to “View all target” and select everything: the console crashes. – Maybe there are too many objects for it to handle. After the crash, when I re-launch the console, I cannot go back into Authoring Pane. It crashes everytime I click on “Authoring”. To fix it so I can go back to Authoring Pane, I had to delete this registry key: HKEY_CURRENT_USER\Software\Microsoft\Microsoft Operations Manager\3.0\Console\Navigation\MonitoringConfigNavSettings\ScopedClasses I started the console again after the deletion and

PowerShell Script: Test-SMTP

I wrote this simple script last week to test SMTP server by sending a testing email. Usage: .\Test-SMTP.PS1 -smtp smtp.xxxx.com -port 25 -from test@xxxx.com -to recipient@xxxx.com If the email is successfully, the recipient will receive an email similar to this: The email contains the following information: Originating Computer: Where the script was run from SMTP Server Address: The SMTP server that sent this email SMTP Server Port: default SMTP port is 25 Return (sender) address: This does not have to be a real address Recipient: Where the email is sent to.

PowerShell Script: Setting NTFS Permissions in Bulk

Today I wrote this PowerShell script to apply a same set of NTFS permission for a particular user or group to a list of folders. It reads the list of folders from a file that is specified from a parameter, apply the permission which is also specified  from parameters. The useage is as follow: .\BulkSet-NTFSPermissions.ps1 -FolderListFile x:\xxxx\xxxx.txt -SecIdentity “Domain\Group” -AccessRights “FullControl” -AccessControlType “Allow” FolderListFile: a flat text file containing the list of path that need to apply the NTFS permission. It needs to list one folder per line. the path can be a absolute local path such as C:\temp or a UNC path

Using SCOM to Automatically Stop MOM Agent Service

I’m currently working on a MOM 2005-to-SCOM 2007 migration project for a client. after months of work, we are finally ready to stop MOM service. We created a new GPO to set MOM service (MOM agent) to “Disabled” and linked to the top of the domain. we also wanted to make sure all MOM service are actually STOPPED on domain member servers AS WELL AS standalone SCOM agents. Traditionally, I’d create a package in SMS/SCCM with a script that firstly detect if SCOM agent service (HealthService) is running, and secondly, if so, stop MOM service. However, this particular client I’m currently

Windows Scheduled Tasks inventory – Using PowerShell

I originally posted this script here. It is to audit and inventory all scheduled tasks created for all windows computers under a specific OU in AD. It has become useful for me again this week while I was working on a client’s SCOM environment. This particular client had no control over scheduled server reboots and they are not using SCOM Maintenance mode at all. Therefore there are a lot of SCOM alerts generated… This script came in handy and it’s a good starting point to get all scheduled tasks and find out which ones are causing servers to reboot so

Morning Check SCOM Alerts – Automated using PowerShell Script

A Powershell script to assist server BAU team to perform morning check using SCOM…

%d bloggers like this: