ISE 对象模型层次结构The ISE Object Model Hierarchy
$PsISE 对象是 Windows PowerShell ISE 对象层次结构的根对象。它位于顶层,使以下对象可用于脚本编写:
$psISE.CurrentFile$psISE.CurrentFile
$PsISE.CurrentPowerShellTab对象是的一个实例PowerShellTab类。
$psISE.CurrentVisibleHorizontalTool$psISE.CurrentVisibleHorizontalTool
$PsISE.CurrentVisibleHorizontalTool 对象是 ISEAddOnTool 类的实例。它表示已安装的外接程序工具,当前停靠在 Windows PowerShell ISE 窗口的右侧。
$psISE.Options$psISE.Options
$PsISE.PowerShellTabs 对象是 PowerShellTabCollection 类的实例。它是所有当前打开的 PowerShell 选项卡的集合,表示本地计算机上或在已连接的远程计算机上可用的 Windows PowerShell 运行环境。集合中的每个成员均为 类的实例。