$progressPreference
controls the behavior of the write-progress
. System.Management.Automation.ActionPreference
enumeration. $progressPreference
to silentlyContinue
when using invoke-webRequest
to download (large) files makes it significantly faster.