[OpsMgr] Useful SCOM 2007 R2 Web Console shortcuts

Posted: September 18, 2011 in SCOM, SCOM 2007

as response to this community post i’ve investigated a bit heart of Web console and found the following useful shortcuts
HOW TO: URL links to individual systems

StateView for single object
http://web_console_url:51908/default.aspx?DisplayMode=Pivot&ViewType=StateView&PmoId=objectId

HeathExplorer for single object
http://web_console_url:51908/ResultViews/ViewTypeHealthExplorer.aspx?targetId=objectId

Diagram view, direct link
http://web_console_url:51908/default.aspx?DisplayMode=Pivot&ViewType=DiagramView&PmoID=PmoId

To get objectId use this PoSh snippet

Get-MonitoringClass | ?{$_.Name -match 'Microsoft.(Unix|Windows).Computer$'} | Get-MonitoringObject | select Id,Name, DisplayName

To get PmoId use this PoSH snippet

get-managementpack | %{$MP=$_.DisplayName;$_.GetViews()|?{$_.DisplayName -match '****VIEW_NAME****'}} | select @{name='Id';expression={$_.id}},@{Name='DisplayName';expression={$_.DisplayName}},@{Name='MP';expression={$MP}}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s