public/Set-ExplorerShowIconsOnly.ps1

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


    [CmdletBinding(SupportsShouldProcess = $true)]
    Param(
        [Parameter(Mandatory = $true, ParameterSetName='Enable', HelpMessage = 'Enable Explorer Show Icons Only')]
        [switch] $Enable,
        [Parameter(Mandatory = $true, ParameterSetName='Disable', HelpMessage = 'Disable Explorer Show Icons Only')]
        [switch] $Disable
    )

    Invoke-ConfigurationData -Parameter $PSBoundParameters
}