Skip to content

Health Checker -ScriptUpdateOnly asking for prompt to confirm #1317

@docbitter

Description

@docbitter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions