progress bar – Powershell Progressbar partially hidden

I have a progress bar that is run when a job is done. Unfortunately, the progress bar is partially hidden. This is the code: Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Drawing $SAPIENTypes = @’ using System; using System.Windows.Forms; using System.Drawing; namespace SAPIENTypes { public class ProgressBarOverlay : System.Windows.Forms.ProgressBar { public ProgressBarOverlay() : base() { SetStyle(ControlStyles.OptimizedDoubleBuffer | … Read more