Citrix Daas SDK

Get-EnvTestDefinition

Gets the one or more test definitions

Syntax

Get-EnvTestDefinition
   [-TestId <String[]>]
   [-CultureName <String>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->

Description

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

Examples

EXAMPLE 1

Retrieve all tests.

$allTestDefinitions = Get-EnvTestDefinition
<!--NeedCopy-->

EXAMPLE 2

Retrieve all tests with localized properties returned in Spanish.

$allTestDefinitionsTranslatedIntoSpanish = Get-EnvTestDefinition -CultureName es-ES
<!--NeedCopy-->

EXAMPLE 3

Retrieve the definition of the ‘Monitor_RegisteredWithConfigurationService’ test.

$monitorConfigServiceRegistrationDefinition = Get-EnvTestDefinition -TestId Monitor_RegisteredWithConfigurationService
<!--NeedCopy-->

Parameters

-TestId

The id of one or more tests.

Type: String[]
Position: Named
Default value: None
Required: False
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-CultureName

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

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

A test id.

String[]

An array of test ids.

Outputs

Citrix.EnvTest.Sdk.EnvTestDefinition

One or more test definitions.

Get-EnvTestDefinition