In questo argomento viene illustrato la gerarchia di oggetti che fanno parte di Windows PowerShell Integrated Scripting Environment (ISE). Facendo clic su un oggetto è possibile accedere alla documentazione di riferimento per la classe nello spazio dei nomi Microsoft.PowerShell.Host.ISE che definisce l'oggetto.
Oggetto $psISE
L'oggetto $psISE è l'oggetto radice della gerarchia di oggetti di Windows PowerShell Integrated Scripting Environment (ISE). Posizionato al primo livello, espone i quattro oggetti seguenti:
$psISE.CurrentFile
$psISE. CurrentPowerShellTab
$psISE.Options
$psISE.PowerShellTabs
$psISE.CurrentFile
L'oggetto $psISE.CurrentFile rende disponibili gli oggetti seguenti per lo scripting:
- $psISE.CurrentFile.DisplayName
- $psISE.CurrentFile.Editor L'oggetto $psISE.CurrentFile.Editor rende a sua volta disponibili questi oggetti per lo scripting:
- $psISE.CurrentFile.Encoding
- $psISE.CurrentFile.FullPath
- $psISE.CurrentFile.IsSaved
- $psISE.CurrentFile.IsUntitled
$psISE.CurrentPowerShellTab
L'oggetto $psISE.CurrentPowerShellTab rende disponibili gli oggetti seguenti per lo scripting:
- $psISE.CurrentPowerShellTab.AddOnsMenu L'oggetto $psISE.CurrentPowerShellTab.AddOnsMenu rende disponibili gli oggetti seguenti per lo scripting:
- $psISE.CurrentPowerShellTab.CanInvoke
- $psISE.CurrentPowerShellTab.CommandPane L'oggetto $psISE.CurrentPowerShellTab.CommandPane rende disponibili gli oggetti seguenti per lo scripting:
- $psISE.CurrentPowerShellTab.DisplayName
- $psISE.CurrentPowerShellTab.ExpandedScript
- $psISE.CurrentPowerShellTab.Files
- $psISE.CurrentPowerShellTab.Output L'oggetto $psISE.CurrentPowerShellTab.Output rende disponibili gli oggetti seguenti per lo scripting:
- $psISE.CurrentPowerShellTab.Prompt
- $psISE.CurrentPowerShellTab.StatusText
$psISE.Options
L'oggetto $psISE.Options rende disponibili gli oggetti seguenti per lo 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
Vedere anche