Database Installer¶
The Qualtrak Coach Database Installer.
Usage¶
Note
Use config.db.ps1 to set up Coach Database Installer to meet desired needs.
- Get Help for Qualtrak Coach Databse Installer Cmdlet
Install-CoachDb
Get-Help Install-CoachDb -Full
Install-CoachDb -?
- Run
Install-CoachDbto install Coach. See “Examples” for more info or usage.
Examples¶
Note
- See more info about
Install-CoachDbparameters in “Parameters” section. - Please use single quotes (‘’) around parameter values, double quotes (“”) values evaluate as Powershell statement, so it can have undesired effect!
- Minimal command with usage of required parameter
DbPasswd. If omitted, user will be prompted to enter manually:
Install-CoachDb -DbPasswd '$ecReT'
- Full example with all parameters. Note that
-SysPasswdis only needed for first-install of Coach:
Install-CoachDb -DbSrv 'srv\ins' -DbUsr 'admin' -DbPasswd '$ecReT' -RecorderIP '10.0.0.1' -SysPasswd 'P@$$w0rd'
Parameters¶
Note
Please use single quotes (‘’) around parameter values, double quotes (“”) values evaluate as Powershell statement, so it can have undesired effect!
DbSrv¶
- Specifies the SQL Server database serverinstance.
- General default value can be changed in
config.db.ps1for property$dbInstanceNameit is by default set to.\SQLEXPRESS.
Note
DbSrvparameter will always overrideconfig.db.ps1property$dbInstanceName!- If you want to use general default value use
config.db.ps1property$dbInstanceName, if it is changeable use thisDbSrvParameter.
DbUsr¶
- Specifies the SQL Server database serverinstance user login name.
- This value is not persisted or saved in any way, it is only for lifetime of installation session.
- General default value can be changed in
config.ps1for property$dbLoginNameit is by default set to$null.
Note
DbUsrparameter will always overrideconfig.db.ps1property$dbLoginName!- If you want to use general default value use
config.db.ps1property$dbLoginName, if it is changeable use thisDbUsrParameter.
DbPasswd¶
- Specifies the SQL Server database serverinstance password.
- This value is not persisted or saved in any way, it is only for lifetime of installation session.
- Required.
Note
- If not specified will stop script and wait for
DbPasswdenter manually in prompt! - If
DbPasswdvalue is whitespace it will terminate the script!
RecorderIP¶
- Specifies the Recorder IP address with any valid IP Address or DNS name.
- General default value can be changed in
config.ps1for property$recorderIpAddressit is by default set tolocalhost.
Note
- If
RecorderIPparameter will always overrideconfig.ps1property$recorderIpAddress! - If you want to use general default value use
config.ps1property$recorderIpAddress, if it is changeable use thisRecorderIPParameter.