Skip to Content

SetConnectionInfo.ps1

Name

SetConnectionInfo.ps1

Description

Sets the Vinyl 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 Vinyl
Password Password. No
DatabaseName Vinyl database name. No Vinyl
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 Vinyl is installed at the web site root. No /Vinyl

Usage

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