Clear-Content


The clear-content Cmdlet removes the content from an item or file while leaving the file intact.

Snap-In: Microsoft.PowerShell.Management

Syntax:

Clear-Content

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

Description:

The Clear-Content Cmdlet clears the content from an item or a file. This is equivalent to setting a file size to zero. However, the file itself remains intact.



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