public/Set-TaskbarSize.ps1

function Set-TaskbarSize {
<#
    .SYNOPSIS
    Sets the Taskbar Size
 
    .DESCRIPTION
    The Set-TaskbarSize cmdlet is used to set 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, HelpMessage = 'Set Taskbar Size')]
        [ValidateSet('Small', 'Medium', 'Large')]
        [string] $Size
    )

    Invoke-ConfigurationData -CallingCmdlet $MyInvocation.MyCommand.Name -Parameter $PSBoundParameters
}