Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Remove-Item

Remove-Item - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Remove-Item

Short description
Deletes files and folders.

Syntax


Description
The Remove-Item cmdlet deletes one or more items. Because it is supported by many providers, it can delete many differe
nt types of items, including files, directories, registry keys, variables, aliases, and functions.

In file system drives, the Remove-Item cmdlet deletes files and folders. 

If you use the Stream dynamic parameter, it deletes the specified alternate data stream, but does not delete the file.

Note: This custom cmdlet help file explains how the Remove-Item cmdlet works in a file system drive. For information ab
out the Remove-Item cmdlet in all drives, type "Get-Help Remove-Item -Path $null" or see Remove-Item at http://go.micro
soft.com/fwlink/?LinkID=113373.