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