Updated the manuals

This commit is contained in:
Markus Fleschutz
2024-11-20 11:52:20 +01:00
parent 2301e9a226
commit f93ff94b3b
627 changed files with 818 additions and 682 deletions

View File

@@ -17,7 +17,7 @@ Example
-------
```powershell
PS> ./list-network-shares.ps1
Network share \\LAPTOP\Public ("Public folder for file transfer") mapped to: 📂D:\Public
Network share \\LAPTOP\Public -> D:\Public ("Public folder for file transfer")
```
@@ -39,7 +39,7 @@ Script Content
This PowerShell script lists all network shares (aka "shared folders") of the local computer.
.EXAMPLE
PS> ./list-network-shares.ps1
✅ Network share \\LAPTOP\Public ("Public folder for file transfer") mapped to: 📂D:\Public
✅ Network share \\LAPTOP\Public -> D:\Public ("Public folder for file transfer")
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@@ -52,7 +52,7 @@ try {
} else {
$shares = Get-WmiObject win32_share | where {$_.name -NotLike "*$"}
foreach ($share in $shares) {
Write-Output "✅ Network share \\$(hostname)\$($share.Name) (`"$($share.Description)`") mapped to: 📂$($share.Path)"
Write-Output "✅ Network share \\$(hostname)\$($share.Name) -> $($share.Path) (`"$($share.Description)`")"
}
}
exit 0 # success
@@ -62,4 +62,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 as of 11/08/2024 12:40:18)*
*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:56)*