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.

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.
Log in to comment and vote
Comments1
Jul 3
PinnedIch 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!