public/Set-TaskbarSize.ps1

function Set-TaskbarSize {
<#
    .SYNOPSIS
    Enables or disables the Taskbar Size
 
    .DESCRIPTION
    The Set-TaskbarSize cmdlet is used to switch enable or disable the Taskbar Size
 
    .NOTES
    Written by Jaap Brasser for community usage
    Twitter: @jaap_brasser
    GitHub: jaapbrasser
 
    .LINK
    TBD
 
    .EXAMPLE
    Set-TaskbarSize -Enable
 
    Enables the Taskbar Size
 
    .EXAMPLE
    Set-TaskbarSize -Disable -Verbose
 
    Disables the Taskbar Size while displaying verbose information
#>


    [CmdletBinding(SupportsShouldProcess = $true)]
    Param(
        [Parameter(Mandatory = $true, ParameterSetName='Enable', HelpMessage = 'Enable Taskbar Size')]
        [switch] $Enable,
        [Parameter(Mandatory = $true, ParameterSetName='Disable', HelpMessage = 'Disable Taskbar Size')]
        [switch] $Disable
    )

    Invoke-ConfigurationData -Parameter $PSBoundParameters
}