Skip to content

Instantly share code, notes, and snippets.

@bielawb
Created March 2, 2017 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bielawb/e245b2ca70044f45159bc2be34421e11 to your computer and use it in GitHub Desktop.
Save bielawb/e245b2ca70044f45159bc2be34421e11 to your computer and use it in GitHub Desktop.
Formatowanie przetrwa filtrowanie...
Get-Process | Format-Wide -Column 3 -Property Path | Where Path -notlike 'c:\windows\*'
<#
Format wide, 3 kolumny... bez procesów z c:\windows
#>
Get-Process | Format-Wide -Column 3 -Property Path | Where Path -notlike 'c:\windows\*' | Format-Wide -Column 5
<#
Domyślna właściwość System.Diagnostics.Process przy Format-Wide to Name....
Na wyjściu: 5 kolumn nazw procesów nie uruchomionych z c:\windows
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment