1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-04-02 12:24:11 +02:00

Improve the descriptions

This commit is contained in:
Markus Fleschutz 2021-09-11 10:21:44 +02:00
parent c068f5e7da
commit 638169cd31
19 changed files with 52 additions and 52 deletions

View File

@ -1,23 +1,23 @@
Script,Description
add-firewall-rules.ps1, adds firewall rules to the given executables (needs admin rights)
add-memo.ps1, adds the given memo text to $HOME/Memos.csv
cd-desktop.ps1, go to the user's desktop folder
cd-docs.ps1, go to the user's documents folder
cd-downloads.ps1, go to the user's downloads folder
cd-dropbox.ps1, go to the user's Dropbox folder
cd-home.ps1, go to the user's home folder
cd-music.ps1, go to the user's music folder
cd-onedrive.ps1, go to the user's OneDrive folder
cd-pics.ps1, go to the user's pictures folder
cd-recycle-bin.ps1, go to the user's recycle bin folder
cd-repos.ps1, go to the user's Git repositories folder
cd-root.ps1, go to the root directory (C: on Windows)
cd-scripts.ps1, go to the PowerShell Scripts folder
cd-up.ps1, go one directory level up
cd-up2.ps1, go two directory levels up
cd-up3.ps1, go three directory levels up
cd-up4.ps1, go four directory levels up
cd-videos.ps1, go to the user's videos folder
cd-desktop.ps1, change the working directory to the user's desktop folder
cd-docs.ps1, change the working directory to the user's documents folder
cd-downloads.ps1, change the working directory to the user's downloads folder
cd-dropbox.ps1, change the working directory to the user's Dropbox folder
cd-home.ps1, change the working directory to the user's home folder
cd-music.ps1, change the working directory to the user's music folder
cd-onedrive.ps1, change the working directory to the user's OneDrive folder
cd-pics.ps1, change the working directory to the user's pictures folder
cd-recycle-bin.ps1, change the working directory to the user's recycle bin folder
cd-repos.ps1, change the working directory to the user's Git repositories folder
cd-root.ps1, change the working directory to the root directory (C: on Windows)
cd-scripts.ps1, change the working directory to the PowerShell Scripts folder
cd-up.ps1, change the working directory to one directory level up
cd-up2.ps1, change the working directory to two directory levels up
cd-up3.ps1, change the working directory to three directory levels up
cd-up4.ps1, change the working directory to four directory levels up
cd-videos.ps1, change the working directory to the user's videos folder
check-cpu-temp.ps1, checks the CPU temperature
check-dns-resolution.ps1, checks the DNS resolution with frequently used domain names
check-drive-space.ps1, checks a drive for free space left

1 Script Description
2 add-firewall-rules.ps1 adds firewall rules to the given executables (needs admin rights)
3 add-memo.ps1 adds the given memo text to $HOME/Memos.csv
4 cd-desktop.ps1 go to the user's desktop folder change the working directory to the user's desktop folder
5 cd-docs.ps1 go to the user's documents folder change the working directory to the user's documents folder
6 cd-downloads.ps1 go to the user's downloads folder change the working directory to the user's downloads folder
7 cd-dropbox.ps1 go to the user's Dropbox folder change the working directory to the user's Dropbox folder
8 cd-home.ps1 go to the user's home folder change the working directory to the user's home folder
9 cd-music.ps1 go to the user's music folder change the working directory to the user's music folder
10 cd-onedrive.ps1 go to the user's OneDrive folder change the working directory to the user's OneDrive folder
11 cd-pics.ps1 go to the user's pictures folder change the working directory to the user's pictures folder
12 cd-recycle-bin.ps1 go to the user's recycle bin folder change the working directory to the user's recycle bin folder
13 cd-repos.ps1 go to the user's Git repositories folder change the working directory to the user's Git repositories folder
14 cd-root.ps1 go to the root directory (C: on Windows) change the working directory to the root directory (C: on Windows)
15 cd-scripts.ps1 go to the PowerShell Scripts folder change the working directory to the PowerShell Scripts folder
16 cd-up.ps1 go one directory level up change the working directory to one directory level up
17 cd-up2.ps1 go two directory levels up change the working directory to two directory levels up
18 cd-up3.ps1 go three directory levels up change the working directory to three directory levels up
19 cd-up4.ps1 go four directory levels up change the working directory to four directory levels up
20 cd-videos.ps1 go to the user's videos folder change the working directory to the user's videos folder
21 check-cpu-temp.ps1 checks the CPU temperature
22 check-dns-resolution.ps1 checks the DNS resolution with frequently used domain names
23 check-drive-space.ps1 checks a drive for free space left

View File

@ -125,23 +125,23 @@ Mega Collection of PowerShell Scripts
| Script | Description | Help |
| ---------------------------------------------------- | ------------------------------------------------------------------ | --------------------------------------- |
| [cd-desktop.ps1](Scripts/cd-desktop.ps1) | Go to the user's desktop folder | [Help](Docs/cd-desktop.ps1.md) |
| [cd-docs.ps1](Scripts/cd-docs.ps1) | Go to the user's documents folder | [Help](Docs/cd-docs.ps1.md) |
| [cd-downloads.ps1](Scripts/cd-downloads.ps1) | Go to the user's downloads folder | [Help](Docs/cd-downloads.ps1.md) |
| [cd-dropbox.ps1](Scripts/cd-dropbox.ps1) | Go to the user's Dropbox folder | [Help](Docs/cd-dropbox.ps1.md) |
| [cd-home.ps1](Scripts/cd-home.ps1) | Go to the user's home folder | [Help](Docs/cd-home.ps1.md) |
| [cd-music.ps1](Scripts/cd-music.ps1) | Go to the user's music folder | [Help](Docs/cd-music.ps1.md) |
| [cd-onedrive.ps1](Scripts/cd-onedrive.ps1) | Go to the user's OneDrive folder | [Help](Docs/cd-onedrive.ps1.md) |
| [cd-pics.ps1](Scripts/cd-pics.ps1) | Go to the user's pictures folder | [Help](Docs/cd-pics.ps1.md) |
| [cd-recycle-bin.ps1](Scripts/cd-recycle-bin.ps1) | Go to the user's recycle bin folder | [Help](Docs/cd-recycle-bin.ps1.md) |
| [cd-repos.ps1](Scripts/cd-repos.ps1) | Go to the user's Git repositories folder | [Help](Docs/cd-repos.ps1.md) |
| [cd-root.ps1](Scripts/cd-root.ps1) | Go to the root directory (C:\ on Windows) | [Help](Docs/cd-root.ps1.md) |
| [cd-scripts.ps1](Scripts/cd-scripts.ps1) | Go to the PowerShell Scripts folder | [Help](Docs/cd-scripts.ps1.md) |
| [cd-up.ps1](Scripts/cd-up.ps1) | Go one directory level up | [Help](Docs/cd-up.ps1.md) |
| [cd-up2.ps1](Scripts/cd-up2.ps1) | Go two directory levels up | [Help](Docs/cd-up2.ps1.md) |
| [cd-up3.ps1](Scripts/cd-up3.ps1) | Go three directory levels up | [Help](Docs/cd-up3.ps1.md) |
| [cd-up4.ps1](Scripts/cd-up4.ps1) | Go four directory levels up | [Help](Docs/cd-up4.ps1.md) |
| [cd-videos.ps1](Scripts/cd-videos.ps1) | Go to the user's videos folder | [Help](Docs/cd-videos.ps1.md) |
| [cd-desktop.ps1](Scripts/cd-desktop.ps1) | Change the working directory to the user's desktop folder | [Help](Docs/cd-desktop.ps1.md) |
| [cd-docs.ps1](Scripts/cd-docs.ps1) | Change the working directory to the user's documents folder | [Help](Docs/cd-docs.ps1.md) |
| [cd-downloads.ps1](Scripts/cd-downloads.ps1) | Change the working directory to the user's downloads folder | [Help](Docs/cd-downloads.ps1.md) |
| [cd-dropbox.ps1](Scripts/cd-dropbox.ps1) | Change the working directory to the user's Dropbox folder | [Help](Docs/cd-dropbox.ps1.md) |
| [cd-home.ps1](Scripts/cd-home.ps1) | Change the working directory to the user's home folder | [Help](Docs/cd-home.ps1.md) |
| [cd-music.ps1](Scripts/cd-music.ps1) | Change the working directory to the user's music folder | [Help](Docs/cd-music.ps1.md) |
| [cd-onedrive.ps1](Scripts/cd-onedrive.ps1) | Change the working directory to the user's OneDrive folder | [Help](Docs/cd-onedrive.ps1.md) |
| [cd-pics.ps1](Scripts/cd-pics.ps1) | Change the working directory to the user's pictures folder | [Help](Docs/cd-pics.ps1.md) |
| [cd-recycle-bin.ps1](Scripts/cd-recycle-bin.ps1) | Change the working directory to the user's recycle bin folder | [Help](Docs/cd-recycle-bin.ps1.md) |
| [cd-repos.ps1](Scripts/cd-repos.ps1) | Change the working directory to the user's Git repositories folder | [Help](Docs/cd-repos.ps1.md) |
| [cd-root.ps1](Scripts/cd-root.ps1) | Change the working directory to the root directory (C:\ on Windows)| [Help](Docs/cd-root.ps1.md) |
| [cd-scripts.ps1](Scripts/cd-scripts.ps1) | Change the working directory to the PowerShell Scripts folder | [Help](Docs/cd-scripts.ps1.md) |
| [cd-up.ps1](Scripts/cd-up.ps1) | Change the working directory to one directory level up | [Help](Docs/cd-up.ps1.md) |
| [cd-up2.ps1](Scripts/cd-up2.ps1) | Change the working directory to two directory levels up | [Help](Docs/cd-up2.ps1.md) |
| [cd-up3.ps1](Scripts/cd-up3.ps1) | Change the working directory to three directory levels up | [Help](Docs/cd-up3.ps1.md) |
| [cd-up4.ps1](Scripts/cd-up4.ps1) | Change the working directory to four directory levels up | [Help](Docs/cd-up4.ps1.md) |
| [cd-videos.ps1](Scripts/cd-videos.ps1) | Change the working directory to the user's videos folder | [Help](Docs/cd-videos.ps1.md) |
| [check-symlinks.ps1](Scripts/check-symlinks.ps1) | Checks every symlink in the given directory tree | [Help](Docs/check-symlinks.ps1.md) |
| [check-xml-file.ps1](Scripts/check-xml-file.ps1) | Checks the given XML file for validity | [Help](Docs/check-xml-file.ps1.md) |
| [clear-recycle-bin.ps1](Scripts/clear-recycle-bin.ps1) | Removes the content of the recycle bin folder (can not be undo!) | [Help](Docs/clear-recycle-bin.ps1.md) |

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-desktop.ps1
.DESCRIPTION
Go to the user's desktop folder.
Change the working directory to the user's desktop folder
.EXAMPLE
PS> .\cd-desktop.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-docs.ps1
.DESCRIPTION
Go to the user's documents folder.
Change the working directory to the user's documents folder
.EXAMPLE
PS> .\cd-docs.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-downloads.ps1
.DESCRIPTION
Go to the user's downloads folder.
Change the working directory to the user's downloads folder
.EXAMPLE
PS> .\cd-downloads.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-dropbox.ps1
.DESCRIPTION
Go to the user's Dropbox folder.
Change the working directory to the user's Dropbox folder
.EXAMPLE
PS> .\cd-dropbox.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-home.ps1
.DESCRIPTION
Go to the user's home folder.
Change the working directory to the user's home directory
.EXAMPLE
PS> .\cd-home.ps1
.LINK
@ -13,7 +13,7 @@
$TargetDir = resolve-path "$HOME"
if (-not(test-path "$TargetDir" -pathType container)) {
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
write-error "Home directory 📂$TargetDir does not exist"
exit 1
}
set-location "$TargetDir"

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-music.ps1
.DESCRIPTION
Go to the user's music folder.
Change the working directory to the user's music folder
.EXAMPLE
PS> .\cd-music.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-onedrive.ps1
.DESCRIPTION
Go to the user's OneDrive folder.
Change the working directory to the user's OneDrive folder
.EXAMPLE
PS> .\cd-onedrive.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-pics.ps1
.DESCRIPTION
Go to the user's pictures folder.
Change the working directory to the user's pictures folder
.EXAMPLE
PS> .\cd-pics.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-recycle-bin.ps1
.DESCRIPTION
Go to the user's recycle bin folder.
Change the working directory to the user's recycle bin folder
.EXAMPLE
PS> .\cd-recycle-bin.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-repos.ps1
.DESCRIPTION
Go to the user's Git repositories folder.
Change the working directory to the user's Git repositories folder
.EXAMPLE
PS> .\cd-repos.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-root.ps1
.DESCRIPTION
Go to the root directory (C:\ on Windows).
Change the working directory to the root directory (C:\ on Windows).
.EXAMPLE
PS> .\cd-root.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-scripts.ps1
.DESCRIPTION
Go to the PowerShell Scripts folder.
Change the working directory to the PowerShell Scripts folder.
.EXAMPLE
PS> .\cd-scripts.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-up.ps1
.DESCRIPTION
Go one directory level up.
Change the working directory to one level up
.EXAMPLE
PS> .\cd-up.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-up2.ps1
.DESCRIPTION
Go two directory levels up.
Change the working directory to two directory levels up
.EXAMPLE
PS> .\cd-up2.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-up3.ps1
.DESCRIPTION
Go three directory levels up.
Change the working directory to three directory levels up
.EXAMPLE
PS> .\cd-up3.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-up4.ps1
.DESCRIPTION
Go four directory levels up.
Change the working directory to four directory levels up
.EXAMPLE
PS> .\cd-up4.ps1
.LINK

View File

@ -2,7 +2,7 @@
.SYNOPSIS
cd-videos.ps1
.DESCRIPTION
Go to the user's videos folder.
Change the working directory to the user's videos folder
.EXAMPLE
PS> .\cd-videos.ps1
.LINK