Fix typos
This commit is contained in:
parent
b1d9915786
commit
d66254ec89
1 changed files with 20 additions and 18 deletions
|
@ -83,27 +83,29 @@ function Enable-UACNextLogin([Context] $context) {
|
|||
[System.Tuple]::Create(
|
||||
$autoLoginTrigger,
|
||||
$autoLoginName,
|
||||
"{",
|
||||
" Invoke-Command { $((Get-AutoLoginScript)) } -ArgumentList @(",
|
||||
" $autoLoginTrigger,",
|
||||
" '$contextScript',",
|
||||
" '$preparedUsernameProperty',",
|
||||
" '$preparedPasswordProperty'",
|
||||
" )",
|
||||
"}"),
|
||||
@(
|
||||
"{",
|
||||
" Invoke-Command { $((Get-AutoLoginScript)) } -ArgumentList @(",
|
||||
" $autoLoginTrigger,",
|
||||
" '$contextScript',",
|
||||
" '$preparedUsernameProperty',",
|
||||
" '$preparedPasswordProperty'",
|
||||
" )",
|
||||
"}")),
|
||||
[System.Tuple]::Create(
|
||||
$uacDisablerTrigger,
|
||||
$uacDisablerName,
|
||||
"{",
|
||||
" Invoke-Command { $((Get-UACDisablerScript)) } -ArgumentList @(",
|
||||
" $uacDisablerTrigger,",
|
||||
" '$contextScript',",
|
||||
" '$autoLoginName',",
|
||||
" '$uacDisablerName',",
|
||||
" '$autoLoginTriggerProperty',",
|
||||
" '$uacDisablerTriggerProperty'",
|
||||
" )",
|
||||
"}"));
|
||||
@(
|
||||
"{",
|
||||
" Invoke-Command { $((Get-UACDisablerScript)) } -ArgumentList @(",
|
||||
" $uacDisablerTrigger,",
|
||||
" '$contextScript',",
|
||||
" '$autoLoginName',",
|
||||
" '$uacDisablerName',",
|
||||
" '$autoLoginTriggerProperty',",
|
||||
" '$uacDisablerTriggerProperty'",
|
||||
" )",
|
||||
"}")));
|
||||
|
||||
foreach ($options in $optionCollection) {
|
||||
$action = New-ScheduledTaskAction -Execute "pwsh.exe" -Argument (
|
||||
|
|
Loading…
Reference in a new issue