Call me...


Hello
T he atheist rejects the claim that there is a
supernatural entity or force that interacts with existence...
Because it is a claim without basis.

Atheism makes no claims whatsoever.
Atheism asserts nothing.
Atheism IS NOT an act or an action
IT IS a position
 It has no objective.
Comparatively / Conversely:
Anti-theism IS an act or an action
 It IS NOT a position
 It has an objective.
Not all ATHEISTS are ANTI-THEIST.
All ANTI-THEISTS are ATHEIST.

Monday, January 20, 2020

Back-Up your Powershell ISE color scheme

I used this method to import my favorite Powershell ISE color scheme, to another computer:

# Back-Up your Powershell ISE color scheme -
$ISE_Settings = @()
$ISE_Settings += "`$psISE.Options.ScriptPaneBackgroundColor = '$(($psISE.Options.ScriptPaneBackgroundColor).ToString())'"
$ISE_Settings += "`$psISE.Options.ScriptPaneForegroundColor = '$(($psISE.Options.ScriptPaneForegroundColor).ToString())'"
Write-Host "`$psISE.Options.ScriptPaneBackgroundColor = '$(($psISE.Options.ScriptPaneBackgroundColor).ToString())'"
Write-Host "`$psISE.Options.ScriptPaneForegroundColor = '$(($psISE.Options.ScriptPaneForegroundColor).ToString())'"
$psISE.Options.TokenColors | % {
    $ISE_Settings += "`$psISE.Options.TokenColors.item('$($_.Key)') = '$($_.Value)'"
    Write-Host "`$psISE.Options.TokenColors.item('$($_.Key)') = '$($_.Value)'"
}
# Run this in your new ISE, to import...
$ISE_Settings |  Out-File "C:\Powershell_Stuff\ISE_Settings.ps1"


 Those Write-Host items are there, just in case the import can be done via copy / pasta.


$psISE.Options.ScriptPaneBackgroundColor = '#FFF5DEB3'
$psISE.Options.ScriptPaneForegroundColor = '#FF000000'
$psISE.Options.TokenColors.item('Attribute') = '#FF00BFFF'
$psISE.Options.TokenColors.item('Command') = '#FF0000FF'
$psISE.Options.TokenColors.item('CommandArgument') = '#FF8A2BE2'
$psISE.Options.TokenColors.item('CommandParameter') = '#FF000080'
$psISE.Options.TokenColors.item('Comment') = '#FF006400'
$psISE.Options.TokenColors.item('GroupEnd') = '#FF000000'
$psISE.Options.TokenColors.item('GroupStart') = '#FF000000'
$psISE.Options.TokenColors.item('Keyword') = '#FF00008B'
$psISE.Options.TokenColors.item('LineContinuation') = '#FF000000'
$psISE.Options.TokenColors.item('LoopLabel') = '#FF00008B'
$psISE.Options.TokenColors.item('Member') = '#FF000000'
$psISE.Options.TokenColors.item('NewLine') = '#FF000000'
$psISE.Options.TokenColors.item('Number') = '#FF800080'
$psISE.Options.TokenColors.item('Operator') = '#FF696969'
$psISE.Options.TokenColors.item('Position') = '#FF000000'
$psISE.Options.TokenColors.item('StatementSeparator') = '#FF000000'
$psISE.Options.TokenColors.item('String') = '#FF8B0000'
$psISE.Options.TokenColors.item('Type') = '#FF006161'
$psISE.Options.TokenColors.item('Unknown') = '#FF000000'
$psISE.Options.TokenColors.item('Variable') = '#FFFF0000'

 


No comments:

Post a Comment