Skip to content

Commit d37e3ba

Browse files
committed
Improve the comment-based section
1 parent e85b2a5 commit d37e3ba

208 files changed

Lines changed: 2086 additions & 840 deletions

File tree

Some content is hidden

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

Scripts/MD5.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX MD5.ps1 [<file>]
3-
.DESCRIPTION prints the MD5 checksum of the given file
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
MD5.ps1 [<file>]
4+
.DESCRIPTION
5+
Prints the MD5 checksum of the given file
6+
.EXAMPLE
7+
PS> .\MD5.ps1 C:\MyFile.txt
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
param($File = "")

Scripts/SHA1.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX SHA1.ps1 [<file>]
3-
.DESCRIPTION prints the SHA1 checksum of the given file
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
SHA1.ps1 [<file>]
4+
.DESCRIPTION
5+
Prints the SHA1 checksum of the given file
6+
.EXAMPLE
7+
PS> .\SHA1.ps1 C:\MyFile.txt
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
param($File = "")

Scripts/SHA256.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX SHA256.ps1 [<file>]
3-
.DESCRIPTION prints the SHA256 checksum of the given file
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
SHA256.ps1 [<file>]
4+
.DESCRIPTION
5+
Prints the SHA256 checksum of the given file
6+
.EXAMPLE
7+
PS> .\SHA256.ps1 C:\MyFile.txt
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
param($File = "")

Scripts/cd-dropbox.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX cd-dropbox.ps1
3-
.DESCRIPTION go to the user's Dropbox folder
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
cd-dropbox.ps1
4+
.DESCRIPTION
5+
Go to the user's Dropbox folder
6+
.EXAMPLE
7+
PS> .\cd-dropbox.ps1
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
$TargetDir = resolve-path "$HOME/Dropbox"

Scripts/cd-home.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX cd-home.ps1
3-
.DESCRIPTION go to the user's home folder
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
cd-home.ps1
4+
.DESCRIPTION
5+
Go to the user's home folder
6+
.EXAMPLE
7+
PS> .\cd-home.ps1
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
$TargetDir = resolve-path "$HOME"

Scripts/cd-music.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX cd-music.ps1
3-
.DESCRIPTION go to the user's music folder
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
cd-music.ps1
4+
.DESCRIPTION
5+
Go to the user's music folder
6+
.EXAMPLE
7+
PS> .\cd-music.ps1
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
$TargetDir = resolve-path "$HOME/Music"

Scripts/cd-onedrive.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX cd-onedrive.ps1
3-
.DESCRIPTION go to the user's OneDrive folder
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
cd-onedrive.ps1
4+
.DESCRIPTION
5+
Go to the user's OneDrive folder
6+
.EXAMPLE
7+
PS> .\cd-onedrive.ps1
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
$TargetDir = resolve-path "$HOME/OneDrive"

Scripts/cd-pics.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX cd-pics.ps1
3-
.DESCRIPTION go to the user's pictures folder
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
cd-pics.ps1
4+
.DESCRIPTION
5+
Go to the user's pictures folder
6+
.EXAMPLE
7+
PS> .\cd-pics.ps1
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
$TargetDir = resolve-path "$HOME/Pictures"

Scripts/cd-recycle-bin.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX cd-recycle-bin.ps1
3-
.DESCRIPTION go to the user's recycle bin folder
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
cd-recycle-bin.ps1
4+
.DESCRIPTION
5+
Go to the user's recycle bin folder
6+
.EXAMPLE
7+
PS> .\cd-recycle-bin.ps1
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
function Get-CurrentUserSID { [CmdletBinding()] param()

Scripts/cd-repos.ps1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<#
2-
.SYNTAX cd-repos.ps1
3-
.DESCRIPTION go to the user's Git repositories folder
4-
.LINK https://github.com/fleschutz/PowerShell
5-
.NOTES Author: Markus Fleschutz / License: CC0
2+
.SYNOPSIS
3+
cd-repos.ps1
4+
.DESCRIPTION
5+
Go to the user's Git repositories folder
6+
.EXAMPLE
7+
PS> .\cd-repos.ps1
8+
.LINK
9+
https://github.com/fleschutz/PowerShell
10+
.NOTES
11+
Author: Markus Fleschutz / License: CC0
612
#>
713

814
$TargetDir = resolve-path "$HOME/Repos"

0 commit comments

Comments
 (0)