Skip to Content

SetConnectionInfo.ps1

Name

SetConnectionInfo.ps1

Description

Sets the App Builder database connection information as stored in the Config\ConnectionInfo.config file.

Arguments

Name Description Required Example
DatabaseType Database engine type. Yes SQLServer
HostName Server host name. No localhost
Port Server port number No 1433
InstanceName Server instance name. No PRODUCTION
UserName User name. No App Builder
Password Password. No
DatabaseName App Builder database name. No App Builder
FilePath Database file path. No
ConnectionTimeout Connection timeout in seconds. No 30
CommandTimeout Command timeout in seconds. No 30
WebSite IIS web site name. No Default Web Site
WebApplicationPath IIS web application path or null if App Builder is installed at the web site root. No /App Builder

Usage

> .\SetConnectionInfo.ps1 -DatabaseType SQLServer -HostName localhost -UserName App Builder -DatabaseName App Builder