Created
May 1, 2013 21:07
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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