Add-Type @"
using System;
using System.Runtime.InteropServices;
public static class TaskbarFix {
    [DllImport(""user32.dll"", CharSet = CharSet.Unicode)] public static extern IntPtr FindWindow(string c, string w);
    [DllImport(""user32.dll"", CharSet = CharSet.Unicode)] public static extern IntPtr FindWindowEx(IntPtr p, IntPtr a, string c, string w);
    [DllImport(""user32.dll"")] public static extern bool ShowWindow(IntPtr h, int n);
    public static void ShowAll(string cls) {
        var h = FindWindow(cls, null);
        while (h != IntPtr.Zero) { ShowWindow(h, 5); h = FindWindowEx(IntPtr.Zero, h, cls, null); }
    }
}
"@
[TaskbarFix]::ShowAll("Shell_TrayWnd")
[TaskbarFix]::ShowAll("Shell_SecondaryTrayWnd")
Write-Host "Taskbar gendannet."
