public/Set-ExplorerShowStatusBar.ps1

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


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

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