Updated the manuals

This commit is contained in:
Markus Fleschutz
2024-11-08 12:35:11 +01:00
parent 53eb60baa3
commit 54635c32da
636 changed files with 5289 additions and 2027 deletions

View File

@ -6,7 +6,7 @@ This PowerShell script removes an existing user account including the home direc
Parameters
----------
```powershell
PS> ./remove-user.ps1 [[-username] <String>] [<CommonParameters>]
/home/markus/Repos/PowerShell/scripts/remove-user.ps1 [[-username] <String>] [<CommonParameters>]
-username <String>
@ -25,7 +25,7 @@ Example
-------
```powershell
PS> ./remove-user.ps1 Joe
Removed user 'Joe' including home directory in 11s.
Removed user 'Joe' including home directory in 11s.
```
@ -47,7 +47,7 @@ Script Content
This PowerShell script removes an existing user account including the home directory.
.EXAMPLE
PS> ./remove-user.ps1 Joe
✔️ Removed user 'Joe' including home directory in 11s.
Removed user 'Joe' including home directory in 11s.
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -67,7 +67,7 @@ try {
}
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
"✔️ Removed user '$username' including home directory in $($elapsed)s."
" Removed user '$username' including 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 remove-user.ps1 as of 08/15/2024 09:50:53)*
*(generated by convert-ps2md.ps1 using the comment-based help of remove-user.ps1 as of 11/08/2024 12:34:54)*