Clear-Variable


Removes the value from a variable.

Snap-In: Microsoft.PowerShell.Utility

Syntax:

Clear-Variable

 [-Name] <String[]> [-Include <String[]>] [-Exclude <String[]>] [-Force] [-PassThru] [-Scope <String>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm] 

Description:

Clears the data stored in an existing variable. If the variable is typed, then clear-variable preserves the type of the object stored in the variable. Clear-variable sets the value to NULL, but leaves the variable intact.



Windows PowerShell. TFM
Internet Forensics
ISBN: 982131445
EAN: 2147483647
Year: 2004
Pages: 289

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