Select-Object


Selects objects based on parameters set in the cmdlet command string.

Snap-In: Microsoft.PowerShell.Utility

Syntax:

Select-Object [

 [-Property] <Object[]>] [-InputObject <PSObject>] [-ExcludeProperty <String[]>] [-ExpandProperty <String>] [-Unique] [-Last <Int32>] [-First <Int32>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Description:

The Select-Object Cmdlet is a filter to select only certain objects to process or pass down the pipeline. It is most effectively used as a pipeline receiver from other Cmdlets such as get-service or get-process. The -First, -Last, and -Unique arguments select which objects to process. The cmdlet works with files, modules, registry keys, and other objects.



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