4 minute readApplies to: v4

Using object properties in the Squared Up URL

This article explains how specify an object property in a Squared Up URL to return an object page.

Using the value parameter in the Squared Up URL

When simply specifying a display name as the value this prioritises more common results such as server objects and groups (in the same way that the Squared Up search works). If you want to return an object that is not a server, then you can specify the property and classId you require, see below

  1. Create a URL in the format below, using the object's display name:

    http://SquaredUpServerName/SquaredUpv4/drilldown/scomobject?value=DisplayName

    where DisplayName is the display name of the object whose page you wish to show,

    and where SquaredUpServer is the name of the server where Squared Up is installed.

    For example to show the Databases group page:

    http://SquaredUpServer1/SquaredUpv4/drilldown/scomobject?value=databases

    Or to show a particular application:

    http://SquaredUpServer1/SquaredUpv4/drilldown/scomobject?value=Sales App

  2. Paste the URL into a browser and test that it shows the page you required.

Creating a desktop shortcut to a server page in Squared Up

You may like to add a shortcut on a server desktop which will take users to that server's page in Squared Up. This can be used to encourage users to put a server into maintenance mode before starting work, because they can use the shortcut to quickly and easily access the right page in Squared Up and then click the [Maintenance Mode]((/v4/Reference/Procedures/HowToPutAGroupOrApplicationIntoMaintenanceMode) button in Squared Up, as shown below.

Maintenance Mode Button

  1. Create a URL using the display name of the server in the following format, and test that it works:

    http://SquaredUpServerName/SquaredUpv4/drilldown/scomobject?value=DisplayName

    where DisplayName is the display name of the server whose page you wish to show,

    and where SquaredUpServer is the name of the server where Squared Up is installed.

    For example:

    http://SquaredUpServer1/SquaredUpv4/drilldown/scomobject?value=Server2.squaredup.com

  2. Create a shortcut on the server desktop using this URL and test it.

    Server Shortcut

  3. If you wish, you can use Group Policy to deliver the shortcut and use the %COMPUTERNAME% environment variable in the URL. For example:

    http://SquaredUpServerName/SquaredUpv4/drilldown/scomobject?value=%COMPUTERNAME%&property=NetbiosComputerName&classId=ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd

    For example:

    http://SquaredUpServer1/SquaredUpv4/drilldown/scomobject?value=%COMPUTERNAME%&property=NetbiosComputerName&classId=ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd

For more information about using Group Policy to deploy shortcuts to desktops see Server 2012 Deploy Desktop Shortcuts using Group Policy

Specifying a property and class ID

If the default page returned is not the correct object, then you should specify the property and the class ID that the property belongs to:

http://SquaredUpServerName/SquaredUpv4/drilldown/scomobject?value=Server1&property=NetbiosComputerName&classId=ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd

You can view object properties on the Monitored Entity perspective in Squared Up, but you will need to change the property name to start in upper case. For example, dnsName as shown on the Squared Up Monitored Entity Properties should be DnsName when using in the URL:

http://SquaredUpServerName/SquaredUpv4/drilldown/scomobject?value=Server2.squaredup.com&property=DnsName&classId=ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd

Monitored Entity Properties

For more information about which properties belong to which class see the System Center Management Pack Catalog

How to put SCOM objects into maintenance mode in Squared Up

Squared Up Ltd. (c) 2018Report an issue with this article