Modified Setup process to be an opt-in, live type

Also minor fix to edit-textfile to accept Path named property as input

(cherry picked from commit 272d3f91af836d094d5e19a14fbfa06331677eda)
This commit is contained in:
Gal Szkolnik 2021-04-23 17:41:59 +00:00
parent 22aa3ba435
commit 171409437b
2 changed files with 248 additions and 217 deletions

View file

@ -1,6 +1,6 @@
[CmdletBinding(SupportsShouldProcess)]param(
[switch]$sudo,
[Parameter(Position = 0, ValueFromPipeline, ValueFromRemainingArguments = $true)]
[Parameter(Position = 0, ValueFromPipelineByPropertyName, ValueFromPipeline, ValueFromRemainingArguments = $true)]
[string[]]$Path
)