This topic has not yet been rated Rate this topic

The ISE object hierarchy

Updated: May 20, 2009

Applies To: Windows PowerShell 2.0

This topic shows the hierarchy of objects that are part of the Windows PowerShell Integrated Scripting Environment (ISE). Clicking an object takes you to the reference documentation for the class in the Microsoft.PowerShell.Host.ISE namespace that defines the object.

$psISE Object

The $psISE object is the root object of the Windows PowerShell Integrated Scripting Environment (ISE) object hierarchy. Located at the top level, it exposes the following four objects:

$psISE.CurrentFile

$psISE. CurrentPowerShellTab

$psISE.Options

$psISE.PowerShellTabs

$psISE.CurrentFile

The $psISE.CurrentFile object makes the following objects available for scripting:

  • $psISE.CurrentFile.DisplayName

  • $psISE.CurrentFile.Editor The $psISE.CurrentFile.Editor object in turn makes these objects available for scripting:

    • $psISE.CurrentFile.Editor.CaretColumn

    • $psISE.CurrentFile.Editor.CaretLine

    • $psISE.CurrentFile.Editor.LineCount

    • $psISE.CurrentFile.Editor.SelectedText

    • $psISE.CurrentFile.Editor.Text

  • $psISE.CurrentFile.Encoding

  • $psISE.CurrentFile.FullPath

  • $psISE.CurrentFile.IsSaved

  • $psISE.CurrentFile.IsUntitled

$psISE.CurrentPowerShellTab

The $psISE.CurrentPowerShellTab object makes the following objects available for scripting:

  • $psISE.CurrentPowerShellTab.AddOnsMenu The $psISE.CurrentPowerShellTab.AddOnsMenu object makes the following objects available for scripting:

  • $psISE.CurrentPowerShellTab.CanInvoke

  • $psISE.CurrentPowerShellTab.CommandPane The $psISE.CurrentPowerShellTab.CommandPane object makes the following objects available for scripting:

    • $psISE.CurrentPowerShellTab.CommandPane.CaretColumn

    • $psISE.CurrentPowerShellTab.CommandPane.CaretLine

    • $psISE.CurrentPowerShellTab.CommandPane.LineCount

    • $psISE.CurrentPowerShellTab.CommandPane.SelectedText

    • $psISE.CurrentPowerShellTab.CommandPane.Text

  • $psISE.CurrentPowerShellTab.DisplayName

  • $psISE.CurrentPowerShellTab.ExpandedScript

  • $psISE.CurrentPowerShellTab.Files

  • $psISE.CurrentPowerShellTab.Output The $psISE.CurrentPowerShellTab.Output object makes the following objects available for scripting:

    • $psISE.CurrentPowerShellTab.Output.CaretColumn

    • $psISE.CurrentPowerShellTab.Output.CaretLine

    • $psISE.CurrentPowerShellTab.Output.LineCount

    • $psISE.CurrentPowerShellTab.Output.SelectedText

    • $psISE.CurrentPowerShellTab.Output.Text

  • $psISE.CurrentPowerShellTab.Prompt

  • $psISE.CurrentPowerShellTab.StatusText

$psISE.Options

The $psISE.Options object makes the following objects available for scripting:

  • $psISE.Options.CommandPaneBackgroundColor

  • $psISE.Options.CommandPaneUp

  • $psISE.Options.DebugBackgroundColor

  • $psISE.Options.DebugForegroundColor

  • $psISE.Options.DefaultOptions

  • $psISE.Options.ErrorBackgroundColor

  • $psISE.Options.ErrorForegroundColor

  • $psISE.Options.FontName

  • $psISE.Options.Fontsize

  • $psISE.Options.OutputPaneBackgroundColor

  • $psISE.Options.OutputPaneTextForegroundColor

  • $psISE.Options.OutputPaneTextBackgroundColor

  • $psISE.Options.ScriptPaneBackgroundColor

  • $psISE.Options.ScriptPaneForegroundColor

  • $psISE.Options.SelectedScriptPaneState

  • $psISE.Options.ShowToolBar

  • $psISE.Options.ShowWarningBeforeSavingOnRun

  • $psISE.Options.ShowWarningForDuplicateFiles

  • $psISE.Options.TokenColors

  • $psISE.Options.UseLocalHelp

  • $psISE.Options.VerboseBackgroundColor

  • $psISE.Options.VerboseForegroundColor

  • $psISE.Options.WarningBackgroundColor

  • $psISE.Options.WarningForegroundColor

See Also



Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ