ISE 物件模型階層

本文說明屬於 Windows PowerShell 整合式腳本環境 (ISE) 的物件階層。 Windows PowerShell ISE 包含在 Windows PowerShell 3.0、4.0 和 5.1 中。 按兩下物件,以帶您前往定義物件之類別的參考檔。

$psISE物件

對像是$psISE Windows PowerShell ISE 物件階層的根物件。 其位於最上層,可讓下列物件可供腳本使用:

$psISE.CurrentFile

物件$psISE.CurrentFile是ISEFile類別的實例。

$psISE.CurrentPowerShellTab

物件$psISE.CurrentPowerShellTab是 PowerShellTab 類別的實例。

$psISE.CurrentVisibleHorizontalTool

對像是$psISE.CurrentVisibleHorizontalTool ISEAddOnTool 類別的實例。 它代表目前停駐在 Windows PowerShell ISE 視窗頂端的已安裝附加元件工具。

$psISE.CurrentVisibleVerticalTool

對像是$psISE.CurrentVisibleHorizontalTool ISEAddOnTool 類別的實例。 它代表目前停駐在 Windows PowerShell ISE 視窗右邊緣的已安裝附加元件工具。

$psISE.Options

物件$psISE.Options是 ISEOptions 類別的實例。 ISEOptions 物件代表 Windows PowerShell ISE 的各種設定。 它是 Microsoft.PowerShell.Host.ISE.ISEOptions 類別的實例。

$psISE.PowerShellTabs

物件$psISE.PowerShellTabs是 PowerShellTabCollection 類別的實例。 它是目前開啟的所有 PowerShell 索引標籤集合,代表本機電腦或連線遠端電腦上可用的 Windows PowerShell 執行環境。 集合中的每個成員都是PowerShellTab類別的實例。

另請參閱