Clear-Item


Sets the item(s) at the specified location to the "clear" value specified by the provider.

Snap-In: Microsoft.PowerShell.Management

Syntax:

Clear-Item

 [-Path] <String[]> [-Force] [-Filter <String>] [-Include <String[]>] [-Exclude <String[]>] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm] 

Description:

Clear is not the same as remove. In the case of clear, the object that is cleared is still in place. For example, if a variable is cleared then a null variable of that name still exists. Be aware that the value used to indicate a cleared item is provider-specific.



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