mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-19 08:52:05 +02:00
Updated the manuals
This commit is contained in:
@@ -6,7 +6,7 @@ This PowerShell script installs the VLC media player.
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./install-vlc.ps1 [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/install-vlc.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
@@ -18,7 +18,7 @@ Example
|
||||
```powershell
|
||||
PS> ./install-vlc.ps1
|
||||
⏳ Installing VLC media player...
|
||||
✔️ Installation of VLC media player took 25 sec
|
||||
✅ Installation of VLC media player took 25 sec
|
||||
|
||||
```
|
||||
|
||||
@@ -41,7 +41,7 @@ Script Content
|
||||
.EXAMPLE
|
||||
PS> ./install-vlc.ps1
|
||||
⏳ Installing VLC media player...
|
||||
✔️ Installation of VLC media player took 25 sec
|
||||
✅ Installation of VLC media player took 25 sec
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@@ -56,7 +56,7 @@ try {
|
||||
if ($lastExitCode -ne "0") { throw "Can't install VLC media player, is it already installed?" }
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Installation of VLC media player took $Elapsed sec"
|
||||
"✅ Installation of VLC media player took $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of install-vlc.ps1 as of 08/15/2024 09:50:48)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of install-vlc.ps1 as of 11/08/2024 12:34:49)*
|
||||
|
Reference in New Issue
Block a user