Skip to content

Commit fa9d43b

Browse files
committed
Improve the .Example section
1 parent 18e4f20 commit fa9d43b

File tree

244 files changed

+457
-433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+457
-433
lines changed

Scripts/add-firewall-rules.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.PARAMETER PathToExecutables
77
Specifies the path to the executables
88
.EXAMPLE
9-
PS> ./add-firewall-rules C:\MyApp\bin
9+
PS> ./add-firewall-rules.ps1 C:\MyApp\bin
1010
Adding firewall rule for C:\MyApp\bin\app1.exe
1111
Adding firewall rule for C:\MyApp\bin\app2.exe
1212
...

Scripts/add-memo.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.PARAMETER text
77
Specifies the text to memorize
88
.EXAMPLE
9-
PS> ./add-memo "Buy apples"
9+
PS> ./add-memo.ps1 "Buy apples"
1010
✔️ saved to 📄/home/markus/Memos.csv
1111
.LINK
1212
https://github.com/fleschutz/PowerShell

Scripts/alert.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.PARAMETER message
77
Specifies the alert message
88
.EXAMPLE
9-
PS> ./alert "Harddisk failure"
9+
PS> ./alert.ps1 "Harddisk failure"
1010
.LINK
1111
https://github.com/fleschutz/PowerShell
1212
.NOTES

Scripts/build-repo.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.PARAMETER RepoDir
77
Specifies the path to the Git repository
88
.EXAMPLE
9-
PS> ./build-repo C:\MyRepo
9+
PS> ./build-repo.ps1 C:\MyRepo
1010
.LINK
1111
https://github.com/fleschutz/PowerShell
1212
.NOTES

Scripts/build-repos.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.PARAMETER ParentDir
77
Specifies the path to the parent folder
88
.EXAMPLE
9-
PS> ./build-repos C:\MyRepos
9+
PS> ./build-repos.ps1 C:\MyRepos
1010
.LINK
1111
https://github.com/fleschutz/PowerShell
1212
.NOTES
@@ -37,4 +37,4 @@ try {
3737
} catch {
3838
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
3939
exit 1
40-
}
40+
}

Scripts/cd-autostart.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.DESCRIPTION
55
This PowerShell script changes the working directory to the user's autostart folder.
66
.EXAMPLE
7-
PS> ./cd-autostart
7+
PS> ./cd-autostart.ps1
88
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
99
.LINK
1010
https://github.com/fleschutz/PowerShell

Scripts/cd-dropbox.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This PowerShell script changes the working directory to the user's Dropbox folder.
66
.EXAMPLE
77
PS> ./cd-dropbox
8-
📂/home/Markus/Dropbox
8+
📂C:\Users\Markus\Dropbox
99
.LINK
1010
https://github.com/fleschutz/PowerShell
1111
.NOTES

Scripts/cd-home.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This PowerShell script changes the working directory to the user's home directory.
66
.EXAMPLE
77
PS> ./cd-home
8-
📂/home/Markus
8+
📂C:\Users\Markus
99
.LINK
1010
https://github.com/fleschutz/PowerShell
1111
.NOTES

Scripts/cd-music.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This PowerShell script changes the working directory to the user's music folder.
66
.EXAMPLE
77
PS> ./cd-music
8-
📂/home/Markus/Music
8+
📂C:\Users\Markus\Music
99
.LINK
1010
https://github.com/fleschutz/PowerShell
1111
.NOTES

Scripts/cd-onedrive.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This PowerShell script changes the working directory to the user's OneDrive folder.
66
.EXAMPLE
77
PS> ./cd-onedrive
8-
📂/home/Markus/OneDrive
8+
📂C:\Users\Markus\OneDrive
99
.LINK
1010
https://github.com/fleschutz/PowerShell
1111
.NOTES

0 commit comments

Comments
 (0)