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.