Fix typos

This commit is contained in:
Manuel Thalmann 2024-03-23 00:29:34 +01:00
parent b1d9915786
commit d66254ec89

View file

@ -83,6 +83,7 @@ function Enable-UACNextLogin([Context] $context) {
[System.Tuple]::Create(
$autoLoginTrigger,
$autoLoginName,
@(
"{",
" Invoke-Command { $((Get-AutoLoginScript)) } -ArgumentList @(",
" $autoLoginTrigger,",
@ -90,10 +91,11 @@ function Enable-UACNextLogin([Context] $context) {
" '$preparedUsernameProperty',",
" '$preparedPasswordProperty'",
" )",
"}"),
"}")),
[System.Tuple]::Create(
$uacDisablerTrigger,
$uacDisablerName,
@(
"{",
" Invoke-Command { $((Get-UACDisablerScript)) } -ArgumentList @(",
" $uacDisablerTrigger,",
@ -103,7 +105,7 @@ function Enable-UACNextLogin([Context] $context) {
" '$autoLoginTriggerProperty',",
" '$uacDisablerTriggerProperty'",
" )",
"}"));
"}")));
foreach ($options in $optionCollection) {
$action = New-ScheduledTaskAction -Execute "pwsh.exe" -Argument (