mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-30 04:31:39 +02:00
Improve the descriptions
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user