XenApp and XenDesktop 7.6


Add to my manuals
2969 Pages

advertisement

XenApp and XenDesktop 7.6 | Manualzz

Get-EnvTestDBConnection

Sep 10, 2014

Gets the database string for the specified data store used by the EnvTest Service.

Syntax

Get-EnvTestDBConnection [-AdminAddress <String>] [<CommonParameters>]

Detailed Description

Returns the database connection string for the specified data store.

If the returned string is blank, no valid connection string has been specified. In this case the service is running, but is idle and awaiting specification of a valid connection string.

Related topics

Get-EnvTestServiceStatus

Set-EnvTestDBConnection

Test-EnvTestDBConnection

Parameters

-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

Accept Pipeline Input?

Localhost. Once a value is provided by any cmdlet, this value becomes the default.

false

Return Values system.string

The database connection string configured for the EnvTest Service.

Notes

If the command fails, the following errors can be returned.

Error Codes

----------https://docs.citrix.com

© 1999-2017 Citrix Systems, Inc. All rights reserved.

p.2344

NoDBConnections

The database connection string for the EnvTest Service has not been specified.

PermissionDenied

You do not have permission to execute this command.

AuthorizationError

There was a problem communicating with the Citrix Delegated Administration Service.

CommunicationError

There was a problem communicating with the remote service.

ExceptionThrown

An unexpected error occurred. For more details, see the Windows event logs on the controller or the XenDesktop logs.

Examples

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

c:\PS>Get-EnvTestDBConnection

Server=serverName\SQLEXPRESS;Initial Catalog = databaseName; Integrated Security = True

Get the database connection string for the EnvTest Service.

https://docs.citrix.com

© 1999-2017 Citrix Systems, Inc. All rights reserved.

p.2345

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents