hawk icon indicating copy to clipboard operation
hawk copied to clipboard

Fresh Install of Hawk (7/18/2024) on Fresh Win 10 or 11 won't run

Open Gray-0men opened this issue 1 year ago • 2 comments

After installing getting an error when running Start-HawkTenantInvestigation

Version 3.1.0

image

Gray-0men avatar Jul 19 '24 04:07 Gray-0men

Fixed my own issue as soon as I posted this. anyone getting this error

Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.4.0

then go into C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement and delete any newer version folder so that only 3.4.0 is there or just Uninstall-Module -Name ExchangeOnlineManagement -RequiredVersion "whatever version you have in that dir"

Looks like getting a fresh install of Hawk/Windows is:

Install-Module -Name MSOnline -RequiredVersion 1.1.183.66
Install-Module -Name RobustCloudCommand -RequiredVersion 2.1.0
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.4.0
Install-Module -Name Hawk

Gray-0men avatar Jul 19 '24 04:07 Gray-0men

Small adjustment to this as RobustCloudCommand installs the latest version) of ExchangeOnlineManagement if not already installed plus adding in AzureAD and Microsoft.Graph.

So:

Install-Module -Name AzureAD -RequiredVersion 2.0.2.180
Install-Module -Name Microsoft.Graph -RequiredVersion 1.28.0 -SkipPublisherCheck
Install-Module -Name MSOnline -RequiredVersion 1.1.183.66
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.4.0
Install-Module -Name RobustCloudCommand -RequiredVersion 2.1.0
Install-Module -Name Hawk

IvanKelleher avatar Sep 19 '24 14:09 IvanKelleher

Robust Cloud command will removed as dependency and will build in capability to handle throttling into Hawk.

T0pCyber avatar Nov 27 '24 19:11 T0pCyber