Skip to main content

Installing the Windows Agent takes a relatively long time

In this case, it might help to include the following command in the script beforehand:

$ProgressPreference = 'SilentlyContinue'

This way, the progress bar won't take up the entire screen.

Status: Completed1 comment

Log in to comment and vote

Comments1

  • Daniel von octoja changed status to Completed
    Team•

    Jul 3

    Pinned

    Ich bin ganz ehrlich - meine erste Reaktion war: Hä, warum sollte die Progressbar in Powershell dazu führen, dass die Installation lange dauert?

    Was soll ich sagen, heute bin ich wieder ein Stück schlauer geworden:

    https://www.meziantou.net/improve-powershell-performance-by-disabling-progress-bars.htm

    Danke fürs melden, wir haben die Progress-Bars in unseren Powershell Scripten deaktiviert 😄

    Kommt mit einem der nächsten Updates!