Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save christierney402/5498377 to your computer and use it in GitHub Desktop.
Save christierney402/5498377 to your computer and use it in GitHub Desktop.
Settings for ColdFusion Server to be started in the Windows PowerShell with custom sizes and colors
$pshost = get-host
$pswindow = $pshost.ui.rawui
$newsize = $pswindow.buffersize
$newsize.height = 3000
$newsize.width = 87
$pswindow.buffersize = $newsize
$newsize = $pswindow.windowsize
$newsize.height = 19
$newsize.width = 87
$pswindow.windowsize = $newsize
$pswindow.windowtitle = "ColdFusion Server"
$pswindow.foregroundcolor = "White"
$pswindow.backgroundcolor = "DarkBlue"
cls
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy RemoteSigned %USERPROFILE%\Documents\ColdFusionPowerShellSettings.ps1;C:\ColdFusion9\runtime\bin\jrun -start coldfusion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment