Automating the world one-liner at a time…
Here is a collection of differences between the PowerShell_ise.exe and PowerShell.exe, as well as workaroundsand suggestion if you need them (assuming we have them :))
There could be others, but parity with PowerShell is a big thing for the ISE.
Cheers,Ibrahim Abdul Rahim[MSFT]
PingBack from http://microsoft-sharepoint.simplynetdev.com/differences-between-the-ise-and-powershell-console/
Function GLOBAL:Screen {
Param ($Screen, $Colour)
$Pane = $Null
Switch ($Screen)
{
S { $Pane = 'ScriptPaneBackgroundColor' }
C { $Pane = 'CommandPaneBackgroundColor' }
O { $Pane = 'OutputPaneBackgroundColor' }
H { $Pane = 'OutputPaneTextBackgroundColor' }
F { $Pane = 'OutputPaneForegroundColor' }
}
$Pane
$PSIse.Options.$Pane = $Colour
$PSIse.Options
If ($PSIse) {
$Q = Read-Host "Am I going Blue ? "
If ($Q -eq "Y") {
Say Going Blue
Screen S '#CCFFCC' # Light Blue
Screen C '#CCFFFF' # Lighter Blue
Screen O '#66CCFF' # Powder Blue
Screen F '#000000'
Screen H '#66CCFF'
Else {
Say OK Back to White
Screen S '#FFFFFF'
Screen C '#FFFFFF'
Screen O '#FFFFFF'
Screen H '#FFFFFF'