[Powershell/en] Deleted a left-over from the bash turorial

This commit is contained in:
Wouter Van Schandevijl 2015-11-27 05:44:22 +01:00
parent 3cbcf0e983
commit 276390e458

View File

@ -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
@ -318,4 +317,4 @@ Not covered
* WMI: Windows Management Intrumentation (Get-CimInstance) * WMI: Windows Management Intrumentation (Get-CimInstance)
* Multitasking: Start-Job -scriptBlock {...}, * Multitasking: Start-Job -scriptBlock {...},
* Code Signing * Code Signing
* Remoting (Enter-PSSession/Exit-PSSession; Invoke-Command) * Remoting (Enter-PSSession/Exit-PSSession; Invoke-Command)