From 6eee8734c6cc6052caf4cd812d67df6caf60d286 Mon Sep 17 00:00:00 2001 From: Jonathan Butler Date: Mon, 13 Jan 2025 15:29:31 -0500 Subject: [PATCH] Add initial ability to pass command line parameters to stat-hawkTenantinvestigation --- Hawk/internal/functions/Initialize-HawkGlobalObject.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Hawk/internal/functions/Initialize-HawkGlobalObject.ps1 b/Hawk/internal/functions/Initialize-HawkGlobalObject.ps1 index d0ef065..8c01566 100644 --- a/Hawk/internal/functions/Initialize-HawkGlobalObject.ps1 +++ b/Hawk/internal/functions/Initialize-HawkGlobalObject.ps1 @@ -21,6 +21,9 @@ Last day that data will be retrieved (in UTC) .PARAMETER FilePath Provide an output file path. + .PARAMETER NonInteractive + Switch to run the command in non-interactive mode. Requires all necessary parameters + to be provided via command line rather than through interactive prompts. .OUTPUTS Creates the $Hawk global variable and populates it with a custom PS object with the following properties