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