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