automatic var s

Upload: anonymous-l24x6b

Post on 05-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Automatic Var s

    1/3

    Name Description

    ---- -----------

    $

    ? Execution status of last command.

    ^

    _

    a

    args

    c

    ConfirmPreference Dictates when confirmation should be requested. Confirmation is requested when the Confir

    mImpact of the operation is equal to or greater than $ConfirmPreference. If $ConfirmPrefe

    rence is None, actions will only be confirmed when

    Confirm is specified.ConsoleFileName Name of the current console file.

    DebugPreference Dictates action taken when an Debug message is delivered.Error

    ErrorActionPreference Dictates action taken when an Error message is delivered.ErrorView Dictates the view mode to use when displaying errors.ExecutionContext The execution objects available to cmdlets.

    false Boolean False

    FormatEnumerationLimit Dictates the limit of enumeration on formatting IEnumerable objects.HOME Folder containing the current user's profile.

    Host This is a reference to the host of this Runspace.

    input

    LASTEXITCODE

    MaximumAliasCount The maximum number of aliases allowed in a session

    .MaximumDriveCount The maximum number of drives allowed in a session.MaximumErrorCount The maximum number of errors to retain in a session.MaximumFunctionCount The maximum number of functions allowed in a session.MaximumHistoryCount The maximum number of history objects to retain ina session.MaximumVariableCount The maximum number of variables allowed in a sessi

  • 7/31/2019 Automatic Var s

    2/3

    on.MyInvocation

    NestedPromptLevel Dictates what type of prompt should be displayed for the current nesting level.null References to the null variable always return thenull value. Assignments have no effect.OutputEncoding The text encoding used when piping text to a native executable.PID Current process ID.

    PROFILE

    ProgressPreference Dictates action taken when Progress Records are delivered.PSBoundParameters

    PSCulture Culture of the current Windows PowerShell Session.PSEmailServer Variable to hold the Email Server. This can be used instead of HostName parameter in Send

    -MailMessage cmdlet.

    PSHOME Parent folder of the host application of this Runs

    pace.PSSessionApplicationName AppName where the remote connection will be establishedPSSessionConfigurationName Name of the session configuration which will be loaded on the remote computerPSSessionOption Default session options for new remote sessions.

    PSUICulture UI Culture of the current Windows PowerShell Session.PSVersionTable Version information for current PowerShell session.PWD

    ReportErrorShowExceptionClass Causes errors to be displayed with a description of the error class.ReportErrorShowInnerException Causes errors to be displayed with the inner exceptions.ReportErrorShowSource Causes errors to be displayed with the source of the error.ReportErrorShowStackTrace Causes errors to be displayed with a stack trace.

    ShellId The ShellID identifies the current shell. This isused by #Requires.StackTrace

    temp

    test

    test2

    test3 this variable has description

    true Boolean True

    var1

  • 7/31/2019 Automatic Var s

    3/3

    var2

    var3

    VerbosePreference Dictates the action taken when a Verbose message is delivered.WarningPreference Dictates the action taken when a Warning message is delivered.WhatIfPreference If true, WhatIf is considered to be enabled for all commands.