hawk icon indicating copy to clipboard operation
hawk copied to clipboard

Adding parameters to Start-HawkUserInvestigation, avoiding user interactions.

Open blade3 opened this issue 2 years ago • 0 comments

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:

  1. -IAgreeToTheEula
  2. -SkipUpdate
  3. -DaysToLoopBack 90
  4. -StartDate 90
  5. -EndDate 0
  6. -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\"

blade3 avatar Oct 05 '23 20:10 blade3