Product Documentation

Get-EnvTestDefinition

Sep 29, 2015

Gets the one or more test definitions

Syntax

Get-EnvTestDefinition [-TestId <String[]>] [-CultureName <String>] [-AdminAddress <String>] [<CommonParameters>]

Detailed Description

Returns a list of test definitions that are available from currently running components.

Parameters

-TestId<String[]>

The id of one or more tests.

Required? false
Default Value  
Accept Pipeline Input? true (ByValue)

-CultureName<String>

The culture name in which to produce results. The culture name is in standard language/region-code format; for example "en-US".

Required? false
Default Value  
Accept Pipeline Input? false

-AdminAddress<String>

Specifies the address of a XenDesktop controller the PowerShell snap-in will connect to. You can provide this as a host name or an IP address.

Required? false
Default Value Localhost. Once a value is provided by any cmdlet, this value becomes the default.
Accept Pipeline Input? false

Input Type

System.String A test id. System.String[] An array of test ids.

Return Values

Citrix.EnvTest.Sdk.EnvTestDefinition

One or more test definitions.

Examples

-------------------------- EXAMPLE 1 --------------------------

$allTestDefinitions = Get-EnvTestDefinition

Retrieve all tests.

-------------------------- EXAMPLE 2 --------------------------

$allTestDefinitionsTranslatedIntoSpanish = Get-EnvTestDefinition -CultureName es-ES

Retrieve all tests with localized properties returned in Spanish.

-------------------------- EXAMPLE 3 --------------------------

$monitorConfigServiceRegistrationDefinition = Get-EnvTestDefinition -TestId Monitor_RegisteredWithConfigurationService

Retrieve the definition of the 'Monitor_RegisteredWithConfigurationService' test.