Typical pipeline cmdlets and functions
- Cmdlet/Function Description
- Compare-Object Compares two objects or object collections and marks their differences
- ConvertTo-Html Converts objects into HTML code
- Export-Clixml Saves objects to a file (serialization)
- Export-Csv Saves objects in a comma-separated values file
- ForEach-Object Returns each pipeline object one after the other
- Format-List Outputs results as a list
- Format-Table Outputs results as a table
- Format-Wide Outputs results in several columns
- Get-Unique Removes duplicates from a list of values
- Group-Object Groups results according to a criterion
- Import-Clixml Imports objects from a file and creates objects out of them (deserialization)
- Measure-Object Calculates the statistical frequency distribution of object values or texts
- more Returns text one page at a time
- Out-File Writes results to a file
- Out-Host Outputs results in the console
- Out-Host -paging Returns text one page at a time
- Out-Null Deletes results
- Out-Printer Sends results to printer
- Out-String Converts results into plain text
- Select-Object Filters properties of an object and limits number of results as requested
- Sort-Object Sorts results
- Tee-Object Copies the pipeline's contents and saves it to a file or a variable
- Where-Object Filters results according to a criterion
No comments:
Post a Comment