hawk
hawk copied to clipboard
Adding parameters to Start-HawkUserInvestigation, avoiding user interactions.
Is your feature request related to a problem?
When we run the Start-HawkUserInvestigation command from a new context, it would be nice if we could send a list of the following variables:
-IAgreeToTheEula-SkipUpdate-DaysToLoopBack 90-StartDate 90-EndDate 0-OutputFolder "C:\hawk"
To void multiple user interactions.
Describe the solution you'd like
I suggest adding a validation in the Start-HawkUserInvestigation.ps1 file and sending the parameters to Initialize-HawkGlobalObject, this function is already ready to receive most of the previous parameters.
ie.:
Start-HawkUserInvestigation [email protected] -IAgreeToTheEula -DysToLookBack 90 -StartDate 90 -OutputFolder "C:\tmp\hawk\"