public/Set-ExplorerShowMapNetworkDriveButton.ps1
function Set-ExplorerShowMapNetworkDriveButton { <# .SYNOPSIS Enables or disables the Explorer Show Map Network Drive Button .DESCRIPTION The Set-ExplorerShowMapNetworkDriveButton cmdlet is used to switch enable or disable the Explorer Show Map Network Drive Button .NOTES Written by Jaap Brasser for community usage Twitter: @jaap_brasser GitHub: jaapbrasser .LINK TBD .EXAMPLE Set-ExplorerShowMapNetworkDriveButton -Enable Enables the Explorer Show Map Network Drive Button .EXAMPLE Set-ExplorerShowMapNetworkDriveButton -Disable -Verbose Disables the Explorer Show Map Network Drive Button while displaying verbose information #> [CmdletBinding(SupportsShouldProcess = $true)] Param( [Parameter(Mandatory = $true, ParameterSetName='Enable', HelpMessage = 'Enable Explorer Show Map Network Drive Button')] [switch] $Enable, [Parameter(Mandatory = $true, ParameterSetName='Disable', HelpMessage = 'Disable Explorer Show Map Network Drive Button')] [switch] $Disable ) Invoke-ConfigurationData -Parameter $PSBoundParameters } |