Section A.6. Preference Variables


A.6. Preference Variables

MSH uses several variables to hold the default values to be used when a ubiquitous parameter is not explicitly set on a cmdlet. For cmdlets that respect the ubiquitous parameters, the values of these variables will be used unless explicitly overridden on invocation. See Table A-11 for a list of preference variables.

Table A-11. Preference variables

Variable

Meaning

$ConfirmPreference

Defines the default -Confirm setting

$DebugPreference

Defines the default -Debug setting

$ErrorActionPreference

Defines the default -ErrorAction setting

$VerbosePreference

Defines the default -Verbose setting

$WhatIfPreference

Defines the default -WhatIf setting





Monad Jumpstart
Monad Jumpstart
ISBN: N/A
EAN: N/A
Year: 2005
Pages: 117

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net