Get-Content


The get-content command gets the content from the item at the specified location.

Snap-In: Microsoft.PowerShell.Management

Syntax:

Get-Content

 [-Path] <String[]> [-ReadCount <Int64>] [-TotalCount <Int64>] [-Filter <String>] [-Include <String[]>] [-Exclude <String[]>] [-Force] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-Delimiter <String>] [-Wait] [-Encoding <FileSystemCmdletProviderEncoding>] 

Description:

The get-content Cmdlet reads content from the item at the specified path and writes it to the pipeline. How that data is represented depends on the provider and on the -ReadCount parameter. A provider decides how content will be broken into elements and the -ReadCount parameter determines how many of those elements are written to the pipeline as an array.



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