Skip to content

Instantly share code, notes, and snippets.

@alexverboon
Created May 25, 2020 17:13
Show Gist options
  • Save alexverboon/6b26533cfc052733d49f103f9b15f4cb to your computer and use it in GitHub Desktop.
Save alexverboon/6b26533cfc052733d49f103f9b15f4cb to your computer and use it in GitHub Desktop.
Hwk
# Check if Hawk is installed
If(!(Get-Module "Hawk"))
{
Install-Module -Name "Hawk" -scope CurrentUser
}
Else
{
Write-Output "Hawk Module is already installed"
}
# update Module
Update-HawkModule -ElevatedUpdate
# List all commands included in the Hawk Module
get-command -Module hawk
# Tenant investigation
Start-HawkTenantInvestigation
# User Investigation
Start-HawkUserInvestigation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment