-
Notifications
You must be signed in to change notification settings - Fork 367
Description
Provide Version Number
Health Checker version 22.11.02.1803
Describe the issue
.\HealthChecker.ps1 -ScriptUpdateOnly
Checks for update but asks user for confirmation to acutally do the update
Expected behavior
.\HealthChecker.ps1 -ScriptUpdateOnly should do a silent update without user interaction
Script Output
.\HealthChecker.ps1 -ScriptUpdateOnly
Bestätigung
Möchten Sie diese Aktion wirklich ausführen?
Ausführen des Vorgangs "Update script to latest version" für das Ziel "HealthChecker.ps1".
[J] Ja [A] Ja, alle [N] Nein [K] Nein, keine [H] Anhalten [?] Hilfe (Standard ist "J"):
File signed by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
AutoUpdate: Signature validated.
AutoUpdate: Succeeded.
Script was updated. Please rerun the command.
Additional context
We use the script to generate a daily health report of our exchange environment and mail this to a team. Whenever the script gets updated the Task is stuck at a hidden confirmation. We are looking for a way to do a silent update.