Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Regex]::Matches($content, 'S \|[\s\S]+?(?=\[INFO\])').Value | ForEach-Object {
  2.     $_ -split '\r?\n' | Where-Object { $_ -notmatch '^-' } | ConvertFrom-Csv -Delimiter '|'
  3. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement