Updated the manuals

This commit is contained in:
Markus Fleschutz
2024-03-27 17:36:59 +01:00
parent c5b5cb1c6e
commit aed2b7d940
610 changed files with 1754 additions and 1120 deletions

View File

@@ -20,9 +20,9 @@ PS> ./list-network-shares.ps1
Name Path Description
---- ---- -----------
Users C:\Users
Name Path Description
---- ---- -----------
Public C:\Public Public folder for file transfer
```
@@ -39,15 +39,15 @@ Script Content
```powershell
<#
.SYNOPSIS
Lists all network shares of the local computer
Lists the local network shares
.DESCRIPTION
This PowerShell script lists all network shares of the local computer.
.EXAMPLE
PS> ./list-network-shares.ps1
Name Path Description
---- ---- -----------
Users C:\Users
Name Path Description
---- ---- -----------
Public C:\Public Public folder for file transfer
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@@ -55,7 +55,7 @@ Script Content
#>
try {
Get-WmiObject win32_share | where {$_.name -NotLike "*$"}
Get-WmiObject win32_share | where {$_.name -NotLike "*$"}
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
@@ -63,4 +63,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 using the comment-based help of list-network-shares.ps1 as of 01/25/2024 13:58:39)*
*(generated by convert-ps2md.ps1 using the comment-based help of list-network-shares.ps1 as of 03/27/2024 17:36:28)*