Test-TSTMGMTObjectExists

Test if an object exists within the Management Platform.

Written by Giuseppe

Last published at: August 20th, 2020

Test if an object exists within the Management Platform


SYNTAX

Test-TSTMGMTObjectExists

        -ObjectName <string> [-Interface <guid>] [-Timeout <int>]


DESCRIPTION

Test if an object exists within the Management Platform, specifying a fully qualified Object Name


EXAMPLES

1. Test if a Profile called 'Testing3' exists

          Test-TSTMGMTObjectExists -ObjectName '\Profiles\Powershell\PS2\Testing3'


2. Test if a Profile called 'Testing 3' exists

        Test-TSTMGMTObjectExists -ObjectName '\Profiles\Powershell\PS2\Testing 3'  

PARAMETERS


-ObjectName

 The fully qualified name of the object to locate

Type: String
Required: Yes
Accept Pipeline Input: No


-Interface

The interface ID returned by a previously successful call to Connect-TSTMGMTServer. This parameter is only required if you are connected to 2 or more Management Platform instances at the same time. If this parameter is not specified the connection to the last successful call to Connect-TSTMgmtServer will be used.

Type: Guid
Required: No
Accept Pipeline Input: No


-Timeout

The time allowed in milliseconds for the call to complete before it is deemed to have timed out and is aborted

Type: Int32
Required: No
Accept Pipeline Input: No


INPUTS

None


OUTPUTS

System.Boolean