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:
parent
22aa3ba435
commit
171409437b
2 changed files with 248 additions and 217 deletions
|
@ -1,6 +1,6 @@
|
|||
[CmdletBinding(SupportsShouldProcess)]param(
|
||||
[switch]$sudo,
|
||||
[Parameter(Position = 0, ValueFromPipeline, ValueFromRemainingArguments = $true)]
|
||||
[Parameter(Position = 0, ValueFromPipelineByPropertyName, ValueFromPipeline, ValueFromRemainingArguments = $true)]
|
||||
[string[]]$Path
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue