Skip to content

Instantly share code, notes, and snippets.

@secabstraction
Last active February 16, 2016 19:42
Show Gist options
  • Save secabstraction/7eb4c3610196f857f1da to your computer and use it in GitHub Desktop.
Save secabstraction/7eb4c3610196f857f1da to your computer and use it in GitHub Desktop.
# Pass your collection script and parameters, it will do the rest
Invoke-PowerStash -Scriptblock ${function:Get-CimEvents} `
-Parameters @{CimSession=$Sessions;LogName='Security';EventId=4624}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment