initcluster.vbs Create and initialize the database
startupcfg.vbs Register the database windows service
updateConfig.vbs Update the postgresql configuration
We use this scripting tool ourselves in the Skybot installer. The postgresql scripts use this tool during the install.
You can view the postgresql scripts on a Skybot server at this location:
C:\Program Files\Skybot\Skybot Scheduler\pgsql\installer\server>