This commit is contained in:
talon 2023-06-18 11:36:28 -06:00
parent 420e93482e
commit 20966bc476
2 changed files with 3 additions and 1 deletions

View file

@ -69,6 +69,8 @@ And run like this:
```powershell ```powershell
name_and_age.ps1 -name "Rose" -age "27" name_and_age.ps1 -name "Rose" -age "27"
# or, arguments are also positional!
name_and_age.ps1 "Rose" "27"
``` ```
# functions # functions

View file

@ -14,7 +14,7 @@ If (!(New-Object Security.Principal.WindowsPrincipal $(
) )
} }
# otherwise just exit. # otherwise just exit.
exit Exit-PSHostProcess
} }
Get-WindowsUpdate -AcceptAll -Install Get-WindowsUpdate -AcceptAll -Install