Testing User-Defined HTML-Views

Tests if the specified User Defined HTML-View Object(s) exist, and returns true if the test succeeds and false if it fails.


Hint: The execution of these examples requires a connected PowerShell drive.

In the most trivial example, you can test through calling Test-EmdbUserDefinedHtmlView without any parameters, if at least one User-Defined HTML-View exists in your environment:


The following example checks, if the User-Defined HTML-View "Asset Management" exists:

Test-EmdbUserDefinedHtmlView "Asset Management"

Note: Note that User-Defined HTML-View objects are not part of the context rootDSE and therefore they can be referenced without a full qualified path resp. an absolute path.