mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-14 23:02:41 +02:00
Updated the Markdown manuals
This commit is contained in:
@ -25,7 +25,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./new-user.ps1 Joe
|
||||
✔️ Created new user 'Joe' with encrypted home directory in 11 sec
|
||||
✔️ Created new user 'Joe' with encrypted home directory in 11s.
|
||||
|
||||
```
|
||||
|
||||
@ -47,7 +47,7 @@ Script Content
|
||||
This PowerShell script creates a new user account with an encrypted home directory.
|
||||
.EXAMPLE
|
||||
PS> ./new-user.ps1 Joe
|
||||
✔️ Created new user 'Joe' with encrypted home directory in 11 sec
|
||||
✔️ Created new user 'Joe' with encrypted home directory in 11s.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -67,7 +67,7 @@ try {
|
||||
}
|
||||
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Created new user '$username' with encrypted home directory in $elapsed sec"
|
||||
"✔️ Created new user '$username' with encrypted home directory in $($elapsed)s."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -75,4 +75,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of new-user.ps1 as of 03/27/2024 17:36:29)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of new-user.ps1 as of 05/19/2024 10:25:23)*
|
||||
|
Reference in New Issue
Block a user