Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.