PowerShell Language Reference (Clear-Variable)
Windows Command Lines
Other Command Line Utilities
Available from version 1 through the latest release.
Clear-Variable [-name] <string> [-include <string>] [-exclude <string>] [-scope <string>] [-force] [-passThru] [-whatIf] [-confirm] [<CommonParameters>]
Deletes the value of a variable.
As this does not delete the variable, the value of the variable is NULL (empty). If the variable has a specified data or object type, Clear-Variable preserves the type of the object stored in the variable.
For more information, type: "get-help Clear-Variable -detailed".
For technical information, type: "get-help Clear-Variable -full".
Microsoft (built-in help)
Have a correction, addition or suggestion on this? Please let us know!
Last Edited: 10/29/2006. This page has been viewed 3055 times. Unless otherwise specified, all information is (C) 2004-2007 iTripoli, Inc. All Rights Reserved.
Get-Variable Set-Variable New-Variable Remove-Variable
Note: you can view this information right within ASE by right clicking any keyword and selecting "Help..."