Remove-Variable


Removes a variable and its value.

Snap-In: Microsoft.PowerShell.Utility

Syntax:

Remove-Variable

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

Description:

The remove-variable Cmdlet goes to the specified variable and removes it and its value from the scope in which it is defined. If the variable is accessed after the removal, an error is thrown.



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