Public/Disable-ShakeToMinimize.ps1

function Disable-ShakeToMinimize {

    <#
    .Synopsis
    -Taylor Lee
    Modified 05172019
 
    .Description
    This function disables the annoying shake to minimize Windows feature
 
    .Link
    https://github.com/TheTaylorLee/AdminToolbox
    #>


    [CmdletBinding()]
    param (
    )

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

}