mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-23 05:01:37 +01:00
Update the manuals
This commit is contained in:
parent
6bbadea146
commit
9185eed551
@ -5,7 +5,7 @@
|
|||||||
cd-desktop.ps1
|
cd-desktop.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's desktop folder.
|
Change the working directory to the user's desktop folder
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-docs.ps1
|
cd-docs.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's documents folder.
|
Change the working directory to the user's documents folder
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-downloads.ps1
|
cd-downloads.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's downloads folder.
|
Change the working directory to the user's downloads folder
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-dropbox.ps1
|
cd-dropbox.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's Dropbox folder.
|
Change the working directory to the user's Dropbox folder
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-home.ps1
|
cd-home.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's home folder.
|
Change the working directory to the user's home directory
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-music.ps1
|
cd-music.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's music folder.
|
Change the working directory to the user's music folder
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-onedrive.ps1
|
cd-onedrive.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's OneDrive folder.
|
Change the working directory to the user's OneDrive folder
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-pics.ps1
|
cd-pics.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's pictures folder.
|
Change the working directory to the user's pictures folder
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-repos.ps1
|
cd-repos.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's Git repositories folder.
|
Change the working directory to the user's Git repositories folder
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-root.ps1
|
cd-root.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the root directory (C:\ on Windows).
|
Change the working directory to the root directory (C:\ on Windows).
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-scripts.ps1
|
cd-scripts.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the PowerShell Scripts folder.
|
Change the working directory to the PowerShell Scripts folder.
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-up.ps1
|
cd-up.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go one directory level up.
|
Change the working directory to one level up
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-up2.ps1
|
cd-up2.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go two directory levels up.
|
Change the working directory to two directory levels up
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-up3.ps1
|
cd-up3.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go three directory levels up.
|
Change the working directory to three directory levels up
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-up4.ps1
|
cd-up4.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go four directory levels up.
|
Change the working directory to four directory levels up
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
cd-videos.ps1
|
cd-videos.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
Go to the user's videos folder.
|
Change the working directory to the user's videos folder
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
check-drive-space.ps1 [<drive>] [<min-level>]
|
check-drive-space.ps1 [<drive>] [<min-level>]
|
||||||
```
|
```
|
||||||
|
|
||||||
Checks the given drive for free space left.
|
Checks a drive for free space left (20 GB by default)
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>]
|
configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>]
|
||||||
```
|
```
|
||||||
|
|
||||||
Sets up the Git user configuration.
|
Sets up the Git user configuration
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
copy-photos-sorted.ps1 [<SourceDir>] [<TargetDir>]
|
copy-photos-sorted.ps1 [<SourceDir>] [<TargetDir>]
|
||||||
```
|
```
|
||||||
|
|
||||||
Copies all photos in SourceDir to TargetDir sorted by year and month.
|
Copy image files from SourceDir to TargetDir sorted by year and month.
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
14
Docs/get-md5.ps1.md
Normal file
14
Docs/get-md5.ps1.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# The get-md5.ps1 PowerShell Script
|
||||||
|
|
||||||
|
## Synopsis & Description
|
||||||
|
```powershell
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
[<CommonParameters>]
|
||||||
|
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
*Generated by convert-ps2md.ps1 using the comment-based help of get-md5.ps1*
|
14
Docs/get-sha1.ps1.md
Normal file
14
Docs/get-sha1.ps1.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# The get-sha1.ps1 PowerShell Script
|
||||||
|
|
||||||
|
## Synopsis & Description
|
||||||
|
```powershell
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
[<CommonParameters>]
|
||||||
|
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
*Generated by convert-ps2md.ps1 using the comment-based help of get-sha1.ps1*
|
14
Docs/get-sha256.ps1.md
Normal file
14
Docs/get-sha256.ps1.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# The get-sha256.ps1 PowerShell Script
|
||||||
|
|
||||||
|
## Synopsis & Description
|
||||||
|
```powershell
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
[<CommonParameters>]
|
||||||
|
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
*Generated by convert-ps2md.ps1 using the comment-based help of get-sha256.ps1*
|
@ -2,8 +2,14 @@
|
|||||||
|
|
||||||
## Synopsis & Description
|
## Synopsis & Description
|
||||||
```powershell
|
```powershell
|
||||||
list-voices.ps1
|
list-voices.ps1
|
||||||
|
```
|
||||||
|
|
||||||
|
Lists the installed text-to-speech (TTS) voices
|
||||||
|
|
||||||
|
## Syntax & Parameters
|
||||||
|
```powershell
|
||||||
|
/home/mf/PowerShell/Scripts/list-voices.ps1 [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -12,4 +18,19 @@ list-voices.ps1
|
|||||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Example
|
||||||
|
```powershell
|
||||||
|
PS>.\list-voices.ps1
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
Author: Markus Fleschutz · License: CC0
|
||||||
|
|
||||||
|
## Related Links
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
|
||||||
|
Requires -Version 2.0
|
||||||
|
|
||||||
*Generated by convert-ps2md.ps1 using the comment-based help of list-voices.ps1*
|
*Generated by convert-ps2md.ps1 using the comment-based help of list-voices.ps1*
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
wakeup.ps1 [<MAC-address>] [<IP-address>]
|
wakeup.ps1 [<MAC-address>] [<IP-address>]
|
||||||
```
|
```
|
||||||
|
|
||||||
Sends a magic packet to the given computer to wake him up.
|
Sends a magic packet to a computer to wake him up (requires Wake-On-LAN).
|
||||||
|
|
||||||
## Syntax & Parameters
|
## Syntax & Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
#Requires -Version 2.0
|
<#
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
list-voices.ps1
|
list-voices.ps1
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
Lists the installed text-to-speech (TTS) voices.
|
Lists the installed text-to-speech (TTS) voices
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> .\list-voices.ps1
|
PS> .\list-voices.ps1
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -11,6 +10,8 @@
|
|||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
#>
|
#>
|
||||||
|
#
|
||||||
|
#Requires -Version 2.0
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Add-Type -AssemblyName System.Speech
|
Add-Type -AssemblyName System.Speech
|
||||||
|
Loading…
Reference in New Issue
Block a user