Calls a provider to remove an item.
Snap-In: Microsoft.PowerShell.Management
Syntax:
Remove-Item
[-Path] <String[]> [-Filter <String>] [-Include <String[]>] [-Exclude <String[]>] [-Recurse] [-Force] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm]
Description:
The remove-item Cmdlet calls a provider to remove an item or set of items from a provider. For example, it could be used to remove a file or directory from the filesystem.