Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Dan1el42/816ff70752745176572f0d9fe91a8a18 to your computer and use it in GitHub Desktop.
Save Dan1el42/816ff70752745176572f0d9fe91a8a18 to your computer and use it in GitHub Desktop.
if ($Event[0].Message -match 'sequence number (?<SequenceNumber>\d+)')
{
'Sequence number found: {0}' -f $Matches.SequenceNumber
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment