Download full document:

# Set-AppLibAppDNAConnection

Sets the connection details for integration of AppDNA into AppLibrary to allow AppDNA Analysis by this site.

Syntax

Set-AppLibAppDNAConnection [-Address] <String> -Database <String> -UserName <String> -Password <SecureString> [-LoggingId <Guid>] [-AdminAddress <String>] [<CommonParameters>]

Detailed Description

Sets the connection details for integration of AppDNA into AppLibrary to allow AppDNA Analysis of AppDisk, Machines and DesktopGroups.

Parameters

Name Description Required? Pipeline Input Default Value
Address The URL to the AppDNA web server. true false
Database The AppDNA database identifier. true false
UserName The username of the AppDNA user to connect with. true false
Password The AppDNA user's password true false
LoggingId Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets. false false
AdminAddress 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. false false Localhost. Once a value is provided by any cmdlet, this value becomes the default.

Input Type

string

### System.Security.SecureString The secure string representing the user's password.

Return Values

Citrix.AppLibrary.Sdk.AppDNAConnection
This object provides details of the AppDNA Connection and contains the following information:
Address
The URL of the AppDNA web server.
Database
The database identifier from the AppDNA site
Enabled
Whether or not the connection is enabled
Username
The user account name used to make the connection.

## Notes The AppDNA user's password is stored securely and is never returned in the AppDNAConnection object.
Only one AppDNA configuration can be stored. If a connection is already set up, the connection details will be replaced.
The connection will be enabled by default in the AppLibrary when the details are set.

Examples

EXAMPLE 1

C:\PS>$SecurePassword = ConvertTo-SecureString -String "password" -AsPlainText -Force
                    C:\PS>Set-AppLibAppDNAConnection -Address "http://my.appdna.server:8199/AppDNA" -Database "localhost:AppDNADB" -userName "AppDNAUser" -password $SecurePassword

                    Address  : http://my.appdna.server:8199/AppDNA
                    Database : localhost:AppDNADB
                    Enabled  : True
                    UserName : AppDNAUser

Description
-----------
Sets the AppLibrary AppDNA connection to the configuration localhost:AppDNADB on my.appdna.server under the "AppDNAUser" account.