Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding parameters to Start-HawkUserInvestigation, avoiding user interactions. #112

Open
blade3 opened this issue Oct 5, 2023 · 0 comments
Assignees
Labels
Enhancement New feature or request

Comments

@blade3
Copy link

blade3 commented Oct 5, 2023

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 abc@email.com -IAgreeToTheEula -DysToLookBack 90 -StartDate 90 -OutputFolder "C:\tmp\hawk\"
@blade3 blade3 added the Enhancement New feature or request label Oct 5, 2023
@blade3 blade3 changed the title Adding parameters to Start-HawkUserInvestigation, avoiding User interaction. Adding parameters to Start-HawkUserInvestigation, avoiding user interactions. Oct 5, 2023
@T0pCyber T0pCyber self-assigned this Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants