このトピックでは、Windows PowerShell Integrated Scripting Environment (ISE) の一部であるオブジェクトの階層について説明します。オブジェクトをクリックすると、オブジェクトを定義する Microsoft.PowerShell.Host.ISE 名前空間内のクラスのリファレンス ドキュメントが表示されます。
$psISE オブジェクト
$psISE オブジェクトは、Windows PowerShell Integrated Scripting Environment (ISE) オブジェクト階層のルート オブジェクトです。最上位では次の 4 つのオブジェクトが公開されます。
$psISE.CurrentFile
$psISE.CurrentPowerShellTab
$psISE.Options
$psISE.PowerShellTabs
$psISE.CurrentFile
$psISE.CurrentFile オブジェクトは、次のオブジェクトをスクリプトで利用できるようにします。
- $psISE.CurrentFile.DisplayName
- $psISE.CurrentFile.Editor
$psISE.CurrentFile.Editor オブジェクトは、次のオブジェクトをスクリプトで利用できるようにします。
- $psISE.CurrentFile.Encoding
- $psISE.CurrentFile.FullPath
- $psISE.CurrentFile.IsSaved
- $psISE.CurrentFile.IsUntitled
$psISE.CurrentPowerShellTab
$psISE.CurrentPowerShellTab オブジェクトは、次のオブジェクトをスクリプトで利用できるようにします。
- $psISE.CurrentPowerShellTab.AddOnsMenu $psISE.CurrentPowerShellTab.AddOnsMenu オブジェクトは、次のオブジェクトをスクリプトで利用できるようにします。
- $psISE.CurrentPowerShellTab.CanInvoke
- $psISE.CurrentPowerShellTab.CommandPane $psISE.CurrentPowerShellTab.CommandPane オブジェクトは、次のオブジェクトをスクリプトで利用できるようにします。
- $psISE.CurrentPowerShellTab.DisplayName
- $psISE.CurrentPowerShellTab.ExpandedScript
- $psISE.CurrentPowerShellTab.Files
- $psISE.CurrentPowerShellTab.Output $psISE.CurrentPowerShellTab.Output オブジェクトは、次のオブジェクトをスクリプトで利用できるようにします。
- $psISE.CurrentPowerShellTab.Prompt
- $psISE.CurrentPowerShellTab.StatusText
$psISE.Options
$psISE.Options オブジェクトは、次のオブジェクトをスクリプトで利用できるようにします。
- $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
関連項目