mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-21 05:51:31 +02:00
Merge branch 'master' of https://github.com/Laoujin/learnxinyminutes-docs
This commit is contained in:
@@ -164,7 +164,6 @@ ls -fi *.txt -n # -f is not possible because -Force also exists
|
|||||||
# Use `Get-Help Get-ChildItem -Full` for a complete overview
|
# Use `Get-Help Get-ChildItem -Full` for a complete overview
|
||||||
|
|
||||||
# Results of the previous cmdlet can be passed to the next as input.
|
# Results of the previous cmdlet can be passed to the next as input.
|
||||||
# grep cmdlet filters the input with provided patterns.
|
|
||||||
# `$_` is the current object in the pipeline object.
|
# `$_` is the current object in the pipeline object.
|
||||||
ls | Where-Object { $_.Name -match 'c' } | Export-CSV export.txt
|
ls | Where-Object { $_.Name -match 'c' } | Export-CSV export.txt
|
||||||
ls | ? { $_.Name -match 'c' } | ConvertTo-HTML | Out-File export.html
|
ls | ? { $_.Name -match 'c' } | ConvertTo-HTML | Out-File export.html
|
||||||
|
Reference in New Issue
Block a user