Public/Disable-ShakeToMinimize.ps1

<#
    .Description
    This function disables the annoying shake to minimize Windows feature
 
    .Link
    https://github.com/TheTaylorLee/AdminToolbox
#>


function Disable-ShakeToMinimize {

    [CmdletBinding()]
    param (
    )

    reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v "DisallowShaking" /t reg_dword /d 1

}