nit
This commit is contained in:
parent
420e93482e
commit
20966bc476
|
@ -69,6 +69,8 @@ And run like this:
|
|||
|
||||
```powershell
|
||||
name_and_age.ps1 -name "Rose" -age "27"
|
||||
# or, arguments are also positional!
|
||||
name_and_age.ps1 "Rose" "27"
|
||||
```
|
||||
|
||||
# functions
|
||||
|
|
|
@ -14,7 +14,7 @@ If (!(New-Object Security.Principal.WindowsPrincipal $(
|
|||
)
|
||||
}
|
||||
# otherwise just exit.
|
||||
exit
|
||||
Exit-PSHostProcess
|
||||
}
|
||||
|
||||
Get-WindowsUpdate -AcceptAll -Install
|
||||
|
|
Loading…
Reference in a new issue