Internet Forensics

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.

Категории