[CmdletBinding(SupportsShouldProcess)]param( [switch]$sudo, [switch]$Force ) Edit-TextFile -sudo:$sudo $( Get-Profiles | Where-Object { $_.Exists -or $Force } | Select-Object -ExpandProperty Path )