diff --git a/Docs/add-firewall-rules.md b/Docs/add-firewall-rules.md new file mode 100644 index 00000000..c9123cda --- /dev/null +++ b/Docs/add-firewall-rules.md @@ -0,0 +1,41 @@ +# PowerShell Script: add-firewall-rules.ps1 +```powershell +add-firewall-rules.ps1 [] +``` + +Adds firewall rules for the given executables (needs administrator rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/add-firewall-rules.ps1 [[-PathToExecutables] ] [] +``` + +``` +-PathToExecutables + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./add-firewall-rules C:\MyApp\bin +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1* diff --git a/Docs/add-memo.md b/Docs/add-memo.md new file mode 100644 index 00000000..8d01e838 --- /dev/null +++ b/Docs/add-memo.md @@ -0,0 +1,41 @@ +# PowerShell Script: add-memo.ps1 +```powershell +add-memo.ps1 [] +``` + +Adds the given memo text to $HOME/Memos.csv + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/add-memo.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./add-memo "Buy apples" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1* diff --git a/Docs/alert.md b/Docs/alert.md new file mode 100644 index 00000000..2c989cbd --- /dev/null +++ b/Docs/alert.md @@ -0,0 +1,41 @@ +# PowerShell Script: alert.ps1 +```powershell +alert.ps1 [] +``` + +Handle and escalate the given alert message + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/alert.ps1 [[-Message] ] [] +``` + +``` +-Message + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./alert "Harddisk failure" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of alert.ps1* diff --git a/Docs/cd-desktop.md b/Docs/cd-desktop.md new file mode 100644 index 00000000..9d28d865 --- /dev/null +++ b/Docs/cd-desktop.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-desktop.ps1 +```powershell +cd-desktop.ps1 +``` + +Change the working directory to the user's desktop folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-desktop.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-desktop +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1* diff --git a/Docs/cd-docs.md b/Docs/cd-docs.md new file mode 100644 index 00000000..fe475bf2 --- /dev/null +++ b/Docs/cd-docs.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-docs.ps1 +```powershell +cd-docs.ps1 +``` + +Change the working directory to the user's documents folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-docs.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-docs +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1* diff --git a/Docs/cd-downloads.md b/Docs/cd-downloads.md new file mode 100644 index 00000000..2a8472f5 --- /dev/null +++ b/Docs/cd-downloads.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-downloads.ps1 +```powershell +cd-downloads.ps1 +``` + +Change the working directory to the user's downloads folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-downloads.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-downloads +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1* diff --git a/Docs/cd-dropbox.md b/Docs/cd-dropbox.md new file mode 100644 index 00000000..b39038d2 --- /dev/null +++ b/Docs/cd-dropbox.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-dropbox.ps1 +```powershell +cd-dropbox.ps1 +``` + +Change the working directory to the user's Dropbox folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-dropbox.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-dropbox +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1* diff --git a/Docs/cd-home.md b/Docs/cd-home.md new file mode 100644 index 00000000..b4d89323 --- /dev/null +++ b/Docs/cd-home.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-home.ps1 +```powershell +cd-home.ps1 +``` + +Change the working directory to the user's home directory + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-home.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-home +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1* diff --git a/Docs/cd-music.md b/Docs/cd-music.md new file mode 100644 index 00000000..c07dacb7 --- /dev/null +++ b/Docs/cd-music.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-music.ps1 +```powershell +cd-music.ps1 +``` + +Change the working directory to the user's music folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-music.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-music +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1* diff --git a/Docs/cd-onedrive.md b/Docs/cd-onedrive.md new file mode 100644 index 00000000..9efa10e1 --- /dev/null +++ b/Docs/cd-onedrive.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-onedrive.ps1 +```powershell +cd-onedrive.ps1 +``` + +Change the working directory to the user's OneDrive folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-onedrive.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-onedrive +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1* diff --git a/Docs/cd-pics.md b/Docs/cd-pics.md new file mode 100644 index 00000000..18d424eb --- /dev/null +++ b/Docs/cd-pics.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-pics.ps1 +```powershell +cd-pics.ps1 +``` + +Change the working directory to the user's pictures folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-pics.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-pics +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1* diff --git a/Docs/cd-recycle-bin.md b/Docs/cd-recycle-bin.md new file mode 100644 index 00000000..b0c3b545 --- /dev/null +++ b/Docs/cd-recycle-bin.md @@ -0,0 +1,13 @@ +# PowerShell Script: cd-recycle-bin.ps1 +```powershell +cd-recycle-bin.ps1 + +``` + +``` +[] + 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 cd-recycle-bin.ps1* diff --git a/Docs/cd-repos.md b/Docs/cd-repos.md new file mode 100644 index 00000000..4d1e1a86 --- /dev/null +++ b/Docs/cd-repos.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-repos.ps1 +```powershell +cd-repos.ps1 +``` + +Change the working directory to the user's Git repositories folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-repos.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-repos +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1* diff --git a/Docs/cd-root.md b/Docs/cd-root.md new file mode 100644 index 00000000..81a7ab14 --- /dev/null +++ b/Docs/cd-root.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-root.ps1 +```powershell +cd-root.ps1 +``` + +Change the working directory to the root directory (C:\ on Windows) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-root.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-root +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1* diff --git a/Docs/cd-scripts.md b/Docs/cd-scripts.md new file mode 100644 index 00000000..32921426 --- /dev/null +++ b/Docs/cd-scripts.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-scripts.ps1 +```powershell +cd-scripts.ps1 +``` + +Change the working directory to the PowerShell scripts folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-scripts.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-scripts +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1* diff --git a/Docs/cd-ssh.md b/Docs/cd-ssh.md new file mode 100644 index 00000000..5f1c5a92 --- /dev/null +++ b/Docs/cd-ssh.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-ssh.ps1 +```powershell +cd-ssh.ps1 +``` + +Change the working directory to the user's SSH folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-ssh.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-ssh +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1* diff --git a/Docs/cd-up.md b/Docs/cd-up.md new file mode 100644 index 00000000..aafe7133 --- /dev/null +++ b/Docs/cd-up.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-up.ps1 +```powershell +cd-up.ps1 +``` + +Change the working directory to one level up + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-up.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>.\cd-up +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1* diff --git a/Docs/cd-up2.md b/Docs/cd-up2.md new file mode 100644 index 00000000..80c8fcba --- /dev/null +++ b/Docs/cd-up2.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-up2.ps1 +```powershell +cd-up2.ps1 +``` + +Change the working directory to two directory levels up + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-up2.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-up2 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1* diff --git a/Docs/cd-up3.md b/Docs/cd-up3.md new file mode 100644 index 00000000..ddd772d1 --- /dev/null +++ b/Docs/cd-up3.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-up3.ps1 +```powershell +cd-up3.ps1 +``` + +Change the working directory to three directory levels up + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-up3.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-up3 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1* diff --git a/Docs/cd-up4.md b/Docs/cd-up4.md new file mode 100644 index 00000000..08982c9e --- /dev/null +++ b/Docs/cd-up4.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-up4.ps1 +```powershell +cd-up4.ps1 +``` + +Change the working directory to four directory levels up + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-up4.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-up4 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1* diff --git a/Docs/cd-videos.md b/Docs/cd-videos.md new file mode 100644 index 00000000..ad61b852 --- /dev/null +++ b/Docs/cd-videos.md @@ -0,0 +1,31 @@ +# PowerShell Script: cd-videos.ps1 +```powershell +cd-videos.ps1 +``` + +Change the working directory to the user's videos folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cd-videos.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cd-videos +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1* diff --git a/Docs/check-cpu-temp.md b/Docs/check-cpu-temp.md new file mode 100644 index 00000000..225ec43e --- /dev/null +++ b/Docs/check-cpu-temp.md @@ -0,0 +1,31 @@ +# PowerShell Script: check-cpu-temp.ps1 +```powershell +check-cpu-temp.ps1 +``` + +Checks the CPU temperature + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-cpu-temp.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-cpu-temp +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-cpu-temp.ps1* diff --git a/Docs/check-dns-resolution.md b/Docs/check-dns-resolution.md new file mode 100644 index 00000000..ed3dacb2 --- /dev/null +++ b/Docs/check-dns-resolution.md @@ -0,0 +1,31 @@ +# PowerShell Script: check-dns-resolution.ps1 +```powershell +check-dns-resolution.ps1 +``` + +Checks the DNS resolution with frequently used domain names + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-dns-resolution.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-dns-resolution +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-dns-resolution.ps1* diff --git a/Docs/check-drive-space.md b/Docs/check-drive-space.md new file mode 100644 index 00000000..47037b27 --- /dev/null +++ b/Docs/check-drive-space.md @@ -0,0 +1,51 @@ +# PowerShell Script: check-drive-space.ps1 +```powershell +check-drive-space.ps1 [] [] +``` + +Checks a drive for free space left (20 GB by default) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-drive-space.ps1 [[-Drive] ] [[-MinLevel] ] [] +``` + +``` +-Drive + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-MinLevel + + Required? false + Position? 2 + Default value 20 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-drive-space C +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1* diff --git a/Docs/check-file-system.md b/Docs/check-file-system.md new file mode 100644 index 00000000..10bfc55e --- /dev/null +++ b/Docs/check-file-system.md @@ -0,0 +1,41 @@ +# PowerShell Script: check-file-system.ps1 +```powershell +check-file-system.ps1 [] +``` + +Checks the file system of a drive (needs admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-file-system.ps1 [[-Drive] ] [] +``` + +``` +-Drive + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-file-system C +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1* diff --git a/Docs/check-health.md b/Docs/check-health.md new file mode 100644 index 00000000..2d5849c0 --- /dev/null +++ b/Docs/check-health.md @@ -0,0 +1,32 @@ +# PowerShell Script: check-health.ps1 +```powershell +check-health.ps1 +``` + +Checks the health of the local computer + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-health.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-health +``` + + +## Notes +Author: Markus Fleschutz +License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1* diff --git a/Docs/check-ipv4-address.md b/Docs/check-ipv4-address.md new file mode 100644 index 00000000..eb060385 --- /dev/null +++ b/Docs/check-ipv4-address.md @@ -0,0 +1,41 @@ +# PowerShell Script: check-ipv4-address.ps1 +```powershell +check-ipv4-address.ps1 [
] +``` + +Checks the given IPv4 address for validity + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-ipv4-address.ps1 [[-Address] ] [] +``` + +``` +-Address + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-ipv4-address 192.168.11.22 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1* diff --git a/Docs/check-ipv6-address.md b/Docs/check-ipv6-address.md new file mode 100644 index 00000000..a33698ef --- /dev/null +++ b/Docs/check-ipv6-address.md @@ -0,0 +1,41 @@ +# PowerShell Script: check-ipv6-address.ps1 +```powershell +check-ipv6-address.ps1 [
] +``` + +Checks the given IPv6 address for validity + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-ipv6-address.ps1 [[-Address] ] [] +``` + +``` +-Address + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-ipv6-address fe80::200:5aee:feaa:20a2 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1* diff --git a/Docs/check-mac-address.md b/Docs/check-mac-address.md new file mode 100644 index 00000000..704d9131 --- /dev/null +++ b/Docs/check-mac-address.md @@ -0,0 +1,41 @@ +# PowerShell Script: check-mac-address.ps1 +```powershell +check-mac-address.ps1 [] +``` + +Checks the given MAC address for validity (MAC address like 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000). + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-mac-address.ps1 [[-MAC] ] [] +``` + +``` +-MAC + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-mac-address 11:22:33:44:55:66 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1* diff --git a/Docs/check-ping.md b/Docs/check-ping.md new file mode 100644 index 00000000..fae416a3 --- /dev/null +++ b/Docs/check-ping.md @@ -0,0 +1,42 @@ +# PowerShell Script: check-ping.ps1 +```powershell +check-ping.ps1 [] +``` + +Checks the ping latency from the local computer to selected Internet hosts +(default is: 'amazon.com,apple.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-ping.ps1 [[-hosts] ] [] +``` + +``` +-hosts + + Required? false + Position? 1 + Default value amazon.com,apple.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-ping +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-ping.ps1* diff --git a/Docs/check-subnet-mask.md b/Docs/check-subnet-mask.md new file mode 100644 index 00000000..ba33e1fa --- /dev/null +++ b/Docs/check-subnet-mask.md @@ -0,0 +1,41 @@ +# PowerShell Script: check-subnet-mask.ps1 +```powershell +check-subnet-mask.ps1 [
] +``` + +Checks the given subnet mask for validity + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-subnet-mask.ps1 [[-address] ] [] +``` + +``` +-address + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-subnet-mask 255.255.255.0 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1* diff --git a/Docs/check-swap-space.md b/Docs/check-swap-space.md new file mode 100644 index 00000000..d847e81f --- /dev/null +++ b/Docs/check-swap-space.md @@ -0,0 +1,41 @@ +# PowerShell Script: check-swap-space.ps1 +```powershell +check-swap-space.ps1 [] +``` + +Checks the free swap space + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-swap-space.ps1 [[-MinLevel] ] [] +``` + +``` +-MinLevel + + Required? false + Position? 1 + Default value 50 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-swap-space +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1* diff --git a/Docs/check-symlinks.md b/Docs/check-symlinks.md new file mode 100644 index 00000000..156ae3ab --- /dev/null +++ b/Docs/check-symlinks.md @@ -0,0 +1,41 @@ +# PowerShell Script: check-symlinks.ps1 +```powershell +check-symlinks.ps1 [] +``` + +Checks every symlink in a directory tree + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-symlinks.ps1 [[-DirTree] ] [] +``` + +``` +-DirTree + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-symlinks C:\MyApp +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1* diff --git a/Docs/check-weather.md b/Docs/check-weather.md new file mode 100644 index 00000000..fc706ecf --- /dev/null +++ b/Docs/check-weather.md @@ -0,0 +1,41 @@ +# PowerShell Script: check-weather.ps1 +```powershell +check-weather.ps1 [] +``` + +Checks the weather for critical values + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-weather.ps1 [[-location] ] [] +``` + +``` +-location + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-weather +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1* diff --git a/Docs/check-windows-system-files.md b/Docs/check-windows-system-files.md new file mode 100644 index 00000000..47478487 --- /dev/null +++ b/Docs/check-windows-system-files.md @@ -0,0 +1,31 @@ +# PowerShell Script: check-windows-system-files.ps1 +```powershell +check-windows-system-files.ps1 +``` + +Checks the validity of the Windows system files (requires admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-windows-system-files.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-windows-system-files +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-windows-system-files.ps1* diff --git a/Docs/check-xml-file.md b/Docs/check-xml-file.md new file mode 100644 index 00000000..681805c3 --- /dev/null +++ b/Docs/check-xml-file.md @@ -0,0 +1,41 @@ +# PowerShell Script: check-xml-file.ps1 +```powershell +check-xml-file [] +``` + +Checks the given XML file for validity + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/check-xml-file.ps1 [[-file] ] [] +``` + +``` +-file + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./check-xml-file myfile.xml +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of check-xml-file.ps1* diff --git a/Docs/cherry-picker.md b/Docs/cherry-picker.md new file mode 100644 index 00000000..81bd7025 --- /dev/null +++ b/Docs/cherry-picker.md @@ -0,0 +1,72 @@ +# PowerShell Script: cherry-picker.ps1 +```powershell +cherry-picker.ps1 [] [] [] [] +``` + +Cherry-picks a Git commit into one or more branches (branch names need to be separated by spaces) +NOTE: in case of merge conflicts the script stops immediately! + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/cherry-picker.ps1 [[-CommitID] ] [[-CommitMessage] ] [[-Branches] ] [[-RepoDir] ] [] +``` + +``` +-CommitID + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-CommitMessage + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Branches + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-RepoDir + + Required? false + Position? 4 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./cherry-picker 93849f889 "Fix typo" "v1 v2 v3" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of cherry-picker.ps1* diff --git a/Docs/clean-repo.md b/Docs/clean-repo.md new file mode 100644 index 00000000..3633baec --- /dev/null +++ b/Docs/clean-repo.md @@ -0,0 +1,41 @@ +# PowerShell Script: clean-repo.ps1 +```powershell +clean-repo.ps1 [] +``` + +Cleans a Git repository from untracked files (including submodules, e.g. for a fresh build) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/clean-repo.ps1 [[-RepoDir] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./clean-repo C:\MyRepo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of clean-repo.ps1* diff --git a/Docs/clean-repos.md b/Docs/clean-repos.md new file mode 100644 index 00000000..dd4b26d6 --- /dev/null +++ b/Docs/clean-repos.md @@ -0,0 +1,41 @@ +# PowerShell Script: clean-repos.ps1 +```powershell +clean-repos.ps1 [] +``` + +Cleans all Git repositories under the current/given directory from untracked files (including submodules) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/clean-repos.ps1 [[-ParentDir] ] [] +``` + +``` +-ParentDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./clean-repos C:\MyRepos +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of clean-repos.ps1* diff --git a/Docs/clear-recycle-bin.md b/Docs/clear-recycle-bin.md new file mode 100644 index 00000000..95e01ab7 --- /dev/null +++ b/Docs/clear-recycle-bin.md @@ -0,0 +1,32 @@ +# PowerShell Script: clear-recycle-bin.ps1 +```powershell +clear-recycle-bin.ps1 +``` + +Removes the content of the recycle bin folder +NOTE: can not be undo! + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/clear-recycle-bin.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./clear-recycle-bin +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of clear-recycle-bin.ps1* diff --git a/Docs/clone-repos.md b/Docs/clone-repos.md new file mode 100644 index 00000000..510b5b54 --- /dev/null +++ b/Docs/clone-repos.md @@ -0,0 +1,41 @@ +# PowerShell Script: clone-repos.ps1 +```powershell +clone-repos.ps1 [] +``` + +Clones well-known Git repositories under the current/given directory + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/clone-repos.ps1 [[-ParentDir] ] [] +``` + +``` +-ParentDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./clone-repos C:\MyRepos +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of clone-repos.ps1* diff --git a/Docs/close-calculator.md b/Docs/close-calculator.md new file mode 100644 index 00000000..695274d7 --- /dev/null +++ b/Docs/close-calculator.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-calculator.ps1 +```powershell +close-calculator.ps1 +``` + +Closes the calculator program gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-calculator.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-calculator +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-calculator.ps1* diff --git a/Docs/close-chrome.md b/Docs/close-chrome.md new file mode 100644 index 00000000..93f3c199 --- /dev/null +++ b/Docs/close-chrome.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-chrome.ps1 +```powershell +close-chrome.ps1 +``` + +Closes the Web browser Google Chrome gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-chrome.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-chrome +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-chrome.ps1* diff --git a/Docs/close-cortana.md b/Docs/close-cortana.md new file mode 100644 index 00000000..6db288b8 --- /dev/null +++ b/Docs/close-cortana.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-cortana.ps1 +```powershell +close-cortana.ps1 +``` + +Closes Cortana gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-cortana.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-cortana +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-cortana.ps1* diff --git a/Docs/close-edge.md b/Docs/close-edge.md new file mode 100644 index 00000000..5e5ff59f --- /dev/null +++ b/Docs/close-edge.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-edge.ps1 +```powershell +close-edge.ps1 +``` + +Closes the Web browser Microsoft Edge gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-edge.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-edge +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-edge.ps1* diff --git a/Docs/close-file-explorer.md b/Docs/close-file-explorer.md new file mode 100644 index 00000000..6892bb01 --- /dev/null +++ b/Docs/close-file-explorer.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-file-explorer.ps1 +```powershell +close-file-explorer.ps1 +``` + +Closes Microsoft File Explorer gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-file-explorer.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-file-explorer +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-file-explorer.ps1* diff --git a/Docs/close-firefox.md b/Docs/close-firefox.md new file mode 100644 index 00000000..a2a36129 --- /dev/null +++ b/Docs/close-firefox.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-firefox.ps1 +```powershell +close-firefox.ps1 +``` + +Closes the Firefox Web browser gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-firefox.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-firefox +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-firefox.ps1* diff --git a/Docs/close-netflix.md b/Docs/close-netflix.md new file mode 100644 index 00000000..aa84af0e --- /dev/null +++ b/Docs/close-netflix.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-netflix.ps1 +```powershell +close-netflix.ps1 +``` + +Closes the Netflix program gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-netflix.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-netflix +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-netflix.ps1* diff --git a/Docs/close-onedrive.md b/Docs/close-onedrive.md new file mode 100644 index 00000000..46b85d01 --- /dev/null +++ b/Docs/close-onedrive.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-onedrive.ps1 +```powershell +close-onedrive.ps1 +``` + +Closes Microsoft OneDrive gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-onedrive.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-onedrive +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-onedrive.ps1* diff --git a/Docs/close-program.md b/Docs/close-program.md new file mode 100644 index 00000000..eccfabbb --- /dev/null +++ b/Docs/close-program.md @@ -0,0 +1,61 @@ +# PowerShell Script: close-program.ps1 +```powershell +close-program.ps1 [] [] [] +``` + +Closes the processes of the given program gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-program.ps1 [[-FullProgramName] ] [[-ProgramName] ] [[-ProgramAliasName] ] [] +``` + +``` +-FullProgramName + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-ProgramName + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-ProgramAliasName + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-program "Google Chrome" "chrome.exe" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-program.ps1* diff --git a/Docs/close-system-settings.md b/Docs/close-system-settings.md new file mode 100644 index 00000000..9c45ed57 --- /dev/null +++ b/Docs/close-system-settings.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-system-settings.ps1 +```powershell +close-system-settings.ps1 +``` + +Closes the System Settings gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-system-settings.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-system-settings +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-system-settings.ps1* diff --git a/Docs/close-thunderbird.md b/Docs/close-thunderbird.md new file mode 100644 index 00000000..02eb0250 --- /dev/null +++ b/Docs/close-thunderbird.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-thunderbird.ps1 +```powershell +close-thunderbird.ps1 +``` + +Closes the mail client Mozilla Thunderbird gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-thunderbird.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-thunderbird +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-thunderbird.ps1* diff --git a/Docs/close-vlc.md b/Docs/close-vlc.md new file mode 100644 index 00000000..2c2534d8 --- /dev/null +++ b/Docs/close-vlc.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-vlc.ps1 +```powershell +close-vlc.ps1 +``` + +Closes the VLC media player gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-vlc.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-vlc +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-vlc.ps1* diff --git a/Docs/close-windows-terminal.md b/Docs/close-windows-terminal.md new file mode 100644 index 00000000..faa29429 --- /dev/null +++ b/Docs/close-windows-terminal.md @@ -0,0 +1,31 @@ +# PowerShell Script: close-windows-terminal.ps1 +```powershell +close-windows-terminal.ps1 +``` + +Closes Windows Terminal gracefully + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/close-windows-terminal.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./close-windows-terminal +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of close-windows-terminal.ps1* diff --git a/Docs/configure-git.md b/Docs/configure-git.md new file mode 100644 index 00000000..029214e0 --- /dev/null +++ b/Docs/configure-git.md @@ -0,0 +1,61 @@ +# PowerShell Script: configure-git.ps1 +```powershell +configure-git.ps1 [] [] [] +``` + +Sets up the Git user configuration + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/configure-git.ps1 [[-FullName] ] [[-EmailAddress] ] [[-FavoriteEditor] ] [] +``` + +``` +-FullName + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-EmailAddress + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-FavoriteEditor + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./configure-git +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of configure-git.ps1* diff --git a/Docs/convert-csv2txt.md b/Docs/convert-csv2txt.md new file mode 100644 index 00000000..912c6ff5 --- /dev/null +++ b/Docs/convert-csv2txt.md @@ -0,0 +1,41 @@ +# PowerShell Script: convert-csv2txt.ps1 +```powershell +convert-csv2txt.ps1 [] +``` + +Converts a .CSV file into a text file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/convert-csv2txt.ps1 [[-Path] ] [] +``` + +``` +-Path + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./convert-csv2txt salaries.csv +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of convert-csv2txt.ps1* diff --git a/Docs/convert-mysql2csv.md b/Docs/convert-mysql2csv.md new file mode 100644 index 00000000..da523fb6 --- /dev/null +++ b/Docs/convert-mysql2csv.md @@ -0,0 +1,81 @@ +# PowerShell Script: convert-mysql2csv.ps1 +```powershell +convert-mysql2csv.ps1 [] [] [] [] [] +``` + +Convert a MySQL database table to a .CSV file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/convert-mysql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] +``` + +``` +-server + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-database + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-username + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-password + + Required? false + Position? 4 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-query + + Required? false + Position? 5 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./convert-mysql2csv +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of convert-mysql2csv.ps1* diff --git a/Docs/convert-ps2bat.md b/Docs/convert-ps2bat.md new file mode 100644 index 00000000..73b74c14 --- /dev/null +++ b/Docs/convert-ps2bat.md @@ -0,0 +1,41 @@ +# PowerShell Script: convert-ps2bat.ps1 +```powershell +convert-ps2bat.ps1 [] +``` + +Converts a PowerShell script to .bat files + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/convert-ps2bat.ps1 [[-Pattern] ] [] +``` + +``` +-Pattern + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./convert-ps2bat *.ps1 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of convert-ps2bat.ps1* diff --git a/Docs/convert-ps2md.md b/Docs/convert-ps2md.md new file mode 100644 index 00000000..b68678ba --- /dev/null +++ b/Docs/convert-ps2md.md @@ -0,0 +1,41 @@ +# PowerShell Script: convert-ps2md.ps1 +```powershell +convert-ps2md.ps1 [] +``` + +Converts the comment-based help of a PowerShell script to Markdown + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/convert-ps2md.ps1 [[-filename] ] [] +``` + +``` +-filename + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./convert-ps2md myscript.ps1 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of convert-ps2md.ps1* diff --git a/Docs/convert-sql2csv.md b/Docs/convert-sql2csv.md new file mode 100644 index 00000000..d0255715 --- /dev/null +++ b/Docs/convert-sql2csv.md @@ -0,0 +1,81 @@ +# PowerShell Script: convert-sql2csv.ps1 +```powershell +convert-sql2csv.ps1 [] [] [] [] [] +``` + +Converts a SQL database table to a .CSV file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/convert-sql2csv.ps1 [[-server] ] [[-database] ] [[-username] ] [[-password] ] [[-query] ] [] +``` + +``` +-server + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-database + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-username + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-password + + Required? false + Position? 4 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-query + + Required? false + Position? 5 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./convert-sql2csv +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of convert-sql2csv.ps1* diff --git a/Docs/convert-txt2wav.md b/Docs/convert-txt2wav.md new file mode 100644 index 00000000..706a0e3e --- /dev/null +++ b/Docs/convert-txt2wav.md @@ -0,0 +1,51 @@ +# PowerShell Script: convert-txt2wav.ps1 +```powershell +convert-txt2wav.ps1 [] [] +``` + +Converts text to a .WAV audio file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/convert-txt2wav.ps1 [[-Text] ] [[-WavFile] ] [] +``` + +``` +-Text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-WavFile + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./convert-txt2wav "Hello World" spoken.wav +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of convert-txt2wav.ps1* diff --git a/Docs/copy-photos-sorted.md b/Docs/copy-photos-sorted.md new file mode 100644 index 00000000..9645806c --- /dev/null +++ b/Docs/copy-photos-sorted.md @@ -0,0 +1,51 @@ +# PowerShell Script: copy-photos-sorted.ps1 +```powershell +copy-photos-sorted.ps1 [] [] +``` + +Copy image files from SourceDir to TargetDir sorted by year and month + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/copy-photos-sorted.ps1 [[-SourceDir] ] [[-TargetDir] ] [] +``` + +``` +-SourceDir + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-TargetDir + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./copy-photos-sorted D:\Mobile\DCIM C:\MyPhotoAlbum +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of copy-photos-sorted.ps1* diff --git a/Docs/decrypt-file.md b/Docs/decrypt-file.md new file mode 100644 index 00000000..e209c433 --- /dev/null +++ b/Docs/decrypt-file.md @@ -0,0 +1,51 @@ +# PowerShell Script: decrypt-file.ps1 +```powershell +decrypt-file.ps1 [] [] +``` + +Decrypts the given file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/decrypt-file.ps1 [[-Path] ] [[-Password] ] [] +``` + +``` +-Path + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Password + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./decrypt-file-rules C:\MyFile.txt "123" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of decrypt-file.ps1* diff --git a/Docs/display-time.md b/Docs/display-time.md new file mode 100644 index 00000000..b49aa00b --- /dev/null +++ b/Docs/display-time.md @@ -0,0 +1,41 @@ +# PowerShell Script: display-time.ps1 +```powershell +display-time.ps1 [] +``` + +Displays the current time (for 10 seconds by default) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/display-time.ps1 [[-Seconds] ] [] +``` + +``` +-Seconds + + Required? false + Position? 1 + Default value 10 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./display-time +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of display-time.ps1* diff --git a/Docs/download-dir.md b/Docs/download-dir.md new file mode 100644 index 00000000..1da43667 --- /dev/null +++ b/Docs/download-dir.md @@ -0,0 +1,41 @@ +# PowerShell Script: download-dir.ps1 +```powershell +download-dir.ps1 [] +``` + +Downloads a directory tree from the given URL + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/download-dir.ps1 [[-URL] ] [] +``` + +``` +-URL + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./download-dir "https://www.cnn.com" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of download-dir.ps1* diff --git a/Docs/download-file.md b/Docs/download-file.md new file mode 100644 index 00000000..5d38d165 --- /dev/null +++ b/Docs/download-file.md @@ -0,0 +1,41 @@ +# PowerShell Script: download-file.ps1 +```powershell +download-file.ps1 [] +``` + +Downloads a file from the given URL + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/download-file.ps1 [[-URL] ] [] +``` + +``` +-URL + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./download-file "https://www.cnn.com/index.html" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of download-file.ps1* diff --git a/Docs/edit.md b/Docs/edit.md new file mode 100644 index 00000000..c00139d9 --- /dev/null +++ b/Docs/edit.md @@ -0,0 +1,41 @@ +# PowerShell Script: edit.ps1 +```powershell +edit.ps1 +``` + +Opens the built-in text editor to edit the given file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/edit.ps1 [[-Filename] ] [] +``` + +``` +-Filename + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./edit C:\MyFile.txt +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of edit.ps1* diff --git a/Docs/enable-crash-dumps.md b/Docs/enable-crash-dumps.md new file mode 100644 index 00000000..c567471d --- /dev/null +++ b/Docs/enable-crash-dumps.md @@ -0,0 +1,31 @@ +# PowerShell Script: enable-crash-dumps.ps1 +```powershell +enable-crash-dumps.ps1 +``` + +Enables the writing of crash dumps + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/enable-crash-dumps.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./enable-crash-dumps +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of enable-crash-dumps.ps1* diff --git a/Docs/enable-god-mode.md b/Docs/enable-god-mode.md new file mode 100644 index 00000000..e47e74f5 --- /dev/null +++ b/Docs/enable-god-mode.md @@ -0,0 +1,31 @@ +# PowerShell Script: enable-god-mode.ps1 +```powershell +enable-god-mode.ps1 +``` + +Enables the god mode (adds a new icon to the desktop) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/enable-god-mode.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./enable-god-mode +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of enable-god-mode.ps1* diff --git a/Docs/encrypt-file.md b/Docs/encrypt-file.md new file mode 100644 index 00000000..1846f77d --- /dev/null +++ b/Docs/encrypt-file.md @@ -0,0 +1,51 @@ +# PowerShell Script: encrypt-file.ps1 +```powershell +encrypt-file.ps1 [] [] +``` + +Encrypts the given file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/encrypt-file.ps1 [[-Path] ] [[-Password] ] [] +``` + +``` +-Path + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Password + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./encrypt-file C:\MyFile.txt "123" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of encrypt-file.ps1* diff --git a/Docs/enter-chat.md b/Docs/enter-chat.md new file mode 100644 index 00000000..ca80dfb7 --- /dev/null +++ b/Docs/enter-chat.md @@ -0,0 +1,31 @@ +# PowerShell Script: enter-chat.ps1 +```powershell +enter-chat.ps1 +``` + +Enters a chat using a common network shared file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/enter-chat.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./enter-chat +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of enter-chat.ps1* diff --git a/Docs/fetch-repo.md b/Docs/fetch-repo.md new file mode 100644 index 00000000..3667cb85 --- /dev/null +++ b/Docs/fetch-repo.md @@ -0,0 +1,41 @@ +# PowerShell Script: fetch-repo.ps1 +```powershell +fetch-repo.ps1 [] +``` + +Fetches updates for a local Git repository (including submodules) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/fetch-repo.ps1 [[-RepoDir] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./fetch-repo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of fetch-repo.ps1* diff --git a/Docs/fetch-repos.md b/Docs/fetch-repos.md new file mode 100644 index 00000000..88c1047f --- /dev/null +++ b/Docs/fetch-repos.md @@ -0,0 +1,41 @@ +# PowerShell Script: fetch-repos.ps1 +```powershell +fetch-repos.ps1 [] +``` + +Fetches updates for all Git repositories under the current/given directory (including submodules) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/fetch-repos.ps1 [[-ParentDir] ] [] +``` + +``` +-ParentDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./fetch-repos C:\MyRepos +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of fetch-repos.ps1* diff --git a/Docs/get-md5.md b/Docs/get-md5.md new file mode 100644 index 00000000..62fb4b43 --- /dev/null +++ b/Docs/get-md5.md @@ -0,0 +1,12 @@ +# PowerShell Script: get-md5.ps1 +```powershell + +``` + +``` +[] + 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* diff --git a/Docs/get-sha1.md b/Docs/get-sha1.md new file mode 100644 index 00000000..8ce18035 --- /dev/null +++ b/Docs/get-sha1.md @@ -0,0 +1,12 @@ +# PowerShell Script: get-sha1.ps1 +```powershell + +``` + +``` +[] + 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* diff --git a/Docs/get-sha256.md b/Docs/get-sha256.md new file mode 100644 index 00000000..d63b2545 --- /dev/null +++ b/Docs/get-sha256.md @@ -0,0 +1,12 @@ +# PowerShell Script: get-sha256.ps1 +```powershell + +``` + +``` +[] + 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* diff --git a/Docs/hibernate.md b/Docs/hibernate.md new file mode 100644 index 00000000..87a5077a --- /dev/null +++ b/Docs/hibernate.md @@ -0,0 +1,31 @@ +# PowerShell Script: hibernate.ps1 +```powershell +hibernate.ps1 +``` + +Enables hibernate mode for the local computer (needs admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/hibernate.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./hibernate +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of hibernate.ps1* diff --git a/Docs/inspect-exe.md b/Docs/inspect-exe.md new file mode 100644 index 00000000..7fc3fc58 --- /dev/null +++ b/Docs/inspect-exe.md @@ -0,0 +1,41 @@ +# PowerShell Script: inspect-exe.ps1 +```powershell +inspect-exe.ps1 [] +``` + +Prints basic information of the given executable file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/inspect-exe.ps1 [[-PathToExe] ] [] +``` + +``` +-PathToExe + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./inspect-exe C:\MyApp.exe +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of inspect-exe.ps1* diff --git a/Docs/install-github-cli.md b/Docs/install-github-cli.md new file mode 100644 index 00000000..936f74f6 --- /dev/null +++ b/Docs/install-github-cli.md @@ -0,0 +1,31 @@ +# PowerShell Script: install-github-cli.ps1 +```powershell +install-github-cli.ps1 +``` + +Installs GitHub CLI + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/install-github-cli.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./install-github-cli +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of install-github-cli.ps1* diff --git a/Docs/install-google-chrome.md b/Docs/install-google-chrome.md new file mode 100644 index 00000000..002c9d39 --- /dev/null +++ b/Docs/install-google-chrome.md @@ -0,0 +1,31 @@ +# PowerShell Script: install-google-chrome.ps1 +```powershell +install-google-chrome.ps1 +``` + +Installs the latest Google Chrome browser + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/install-google-chrome.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./install-google-chrome +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of install-google-chrome.ps1* diff --git a/Docs/install-knot-resolver.md b/Docs/install-knot-resolver.md new file mode 100644 index 00000000..b3168f01 --- /dev/null +++ b/Docs/install-knot-resolver.md @@ -0,0 +1,31 @@ +# PowerShell Script: install-knot-resolver.ps1 +```powershell +install-knot-resolver.ps1 +``` + +Installs the Knot Resolver (a DNS resolver daemon, needs admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/install-knot-resolver.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./install-knot-resolver +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of install-knot-resolver.ps1* diff --git a/Docs/install-signal-cli.md b/Docs/install-signal-cli.md new file mode 100644 index 00000000..50f1febd --- /dev/null +++ b/Docs/install-signal-cli.md @@ -0,0 +1,41 @@ +# PowerShell Script: install-signal-cli.ps1 +```powershell +install-signal-cli.ps1 [] +``` + +Installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/install-signal-cli.ps1 [[-Version] ] [] +``` + +``` +-Version + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./install-signal-cli 0.11.12 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of install-signal-cli.ps1* diff --git a/Docs/install-ssh-client.md b/Docs/install-ssh-client.md new file mode 100644 index 00000000..2bf80f0d --- /dev/null +++ b/Docs/install-ssh-client.md @@ -0,0 +1,31 @@ +# PowerShell Script: install-ssh-client.ps1 +```powershell +install-ssh-client.ps1 +``` + +Installs the SSH client (needs admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/install-ssh-client.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./install-ssh-client +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of install-ssh-client.ps1* diff --git a/Docs/install-ssh-server.md b/Docs/install-ssh-server.md new file mode 100644 index 00000000..8cf84b81 --- /dev/null +++ b/Docs/install-ssh-server.md @@ -0,0 +1,31 @@ +# PowerShell Script: install-ssh-server.ps1 +```powershell +install-ssh-server.ps1 +``` + +Installs the SSH server (needs admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/install-ssh-server.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./install-ssh-server +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of install-ssh-server.ps1* diff --git a/Docs/install-updates.md b/Docs/install-updates.md new file mode 100644 index 00000000..22d5c637 --- /dev/null +++ b/Docs/install-updates.md @@ -0,0 +1,31 @@ +# PowerShell Script: install-updates.ps1 +```powershell +install-updates.ps1 +``` + +Installs updates (needs admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/install-updates.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./install-updates +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of install-updates.ps1* diff --git a/Docs/install-vscode.md b/Docs/install-vscode.md new file mode 100644 index 00000000..6ff9c444 --- /dev/null +++ b/Docs/install-vscode.md @@ -0,0 +1,178 @@ +# PowerShell Script: install-vscode.ps1 +```powershell +Installs Visual Studio Code, the PowerShell extension, and optionally +a list of additional extensions. +``` + +This script can be used to easily install Visual Studio Code and the +PowerShell extension on your machine. You may also specify additional +extensions to be installed using the -AdditionalExtensions parameter. +The -LaunchWhenDone parameter will cause VS Code to be launched as +soon as installation has completed. + +Please contribute improvements to this script on GitHub! + +https://github.com/PowerShell/vscode-powershell/blob/master/scripts/Install-VSCode.ps1 + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/install-vscode.ps1 [[-Architecture] ] [[-BuildEdition] ] [[-AdditionalExtensions] ] [-LaunchWhenDone] [-EnableContextMenus] [-WhatIf] [-Confirm] [] +``` + +``` +-Architecture + A validated string defining the bit version to download. Values can be either 64-bit or 32-bit. + If 64-bit is chosen and the OS Architecture does not match, then the 32-bit build will be + downloaded instead. If parameter is not used, then 64-bit is used as default. + + Required? false + Position? 1 + Default value 64-bit + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-BuildEdition + A validated string defining which build edition or "stream" to download: + Stable or Insiders Edition (system install or user profile install). + If the parameter is not used, then stable is downloaded as default. + + Required? false + Position? 2 + Default value Stable-System + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-AdditionalExtensions + An array of strings that are the fully-qualified names of extensions to be + installed in addition to the PowerShell extension. The fully qualified + name is formatted as "." and can be found + next to the extension's name in the details tab that appears when you + click an extension in the Extensions panel in Visual Studio Code. + + Required? false + Position? 3 + Default value @() + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-LaunchWhenDone [] + When present, causes Visual Studio Code to be launched as soon as installation + has finished. + + Required? false + Position? named + Default value False + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-EnableContextMenus [] + When present, causes the installer to configure the Explorer context menus + + Required? false + Position? named + Default value False + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-WhatIf [] + + Required? false + Position? named + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Confirm [] + + Required? false + Position? named + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS > Install-VSCode.ps1 -Architecture 32-bit + + + +Installs Visual Studio Code (32-bit) and the powershell extension. +``` + + +## Example +```powershell +PS > Install-VSCode.ps1 -LaunchWhenDone + + + +Installs Visual Studio Code (64-bit) and the PowerShell extension and then launches +the editor after installation completes. +``` + + +## Example +```powershell +PS > Install-VSCode.ps1 -AdditionalExtensions 'eamodio.gitlens', 'vscodevim.vim' + + + +Installs Visual Studio Code (64-bit), the PowerShell extension, and additional +extensions. +``` + + +## Example +```powershell +PS > Install-VSCode.ps1 -BuildEdition Insider-User -LaunchWhenDone + + + +Installs Visual Studio Code Insiders Edition (64-bit) to the user profile and then launches the editor +after installation completes. +``` + + +## Notes +This script is licensed under the MIT License: + +Copyright (c) Microsoft Corporation. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +*Generated by convert-ps2md.ps1 using the comment-based help of install-vscode.ps1* diff --git a/Docs/install-wsl.md b/Docs/install-wsl.md new file mode 100644 index 00000000..c2e31531 --- /dev/null +++ b/Docs/install-wsl.md @@ -0,0 +1,31 @@ +# PowerShell Script: install-wsl.ps1 +```powershell +install-wsl.ps1 +``` + +Installs Windows Subsystem for Linux (WSL) - needs admin rights + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/install-wsl.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./install-wsl +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of install-wsl.ps1* diff --git a/Docs/introduce-powershell.md b/Docs/introduce-powershell.md new file mode 100644 index 00000000..f6a4d311 --- /dev/null +++ b/Docs/introduce-powershell.md @@ -0,0 +1,31 @@ +# PowerShell Script: introduce-powershell.ps1 +```powershell +introduce-powershell.ps1 +``` + +Introduces PowerShell to new users + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/introduce-powershell.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./introduce-powershell +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of introduce-powershell.ps1* diff --git a/Docs/list-aliases.md b/Docs/list-aliases.md new file mode 100644 index 00000000..e37e0be3 --- /dev/null +++ b/Docs/list-aliases.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-aliases.ps1 +```powershell +list-aliases.ps1 +``` + +Lists all PowerShell aliases + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-aliases.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-aliases +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-aliases.ps1* diff --git a/Docs/list-anagrams.md b/Docs/list-anagrams.md new file mode 100644 index 00000000..4c7310a6 --- /dev/null +++ b/Docs/list-anagrams.md @@ -0,0 +1,51 @@ +# PowerShell Script: list-anagrams.ps1 +```powershell +list-anagrams.ps1 [] [] +``` + +Lists all anagrams of the given word + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-anagrams.ps1 [[-Word] ] [[-Columns] ] [] +``` + +``` +-Word + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Columns + + Required? false + Position? 2 + Default value 8 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-anagrams Baby +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-anagrams.ps1* diff --git a/Docs/list-automatic-variables.md b/Docs/list-automatic-variables.md new file mode 100644 index 00000000..cccd1bb6 --- /dev/null +++ b/Docs/list-automatic-variables.md @@ -0,0 +1,13 @@ +# PowerShell Script: list-automatic-variables.ps1 +```powershell +list-automatic-variables.ps1 + +``` + +``` +[] + 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 list-automatic-variables.ps1* diff --git a/Docs/list-branches.md b/Docs/list-branches.md new file mode 100644 index 00000000..c82cc586 --- /dev/null +++ b/Docs/list-branches.md @@ -0,0 +1,51 @@ +# PowerShell Script: list-branches.ps1 +```powershell +list-branches.ps1 [] [] +``` + +Lists all branches in the current/given Git repository + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-branches.ps1 [[-RepoDir] ] [[-Pattern] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Pattern + + Required? false + Position? 2 + Default value * + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-branches +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-branches.ps1* diff --git a/Docs/list-cheat-sheet.md b/Docs/list-cheat-sheet.md new file mode 100644 index 00000000..52982122 --- /dev/null +++ b/Docs/list-cheat-sheet.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-cheat-sheet.ps1 +```powershell +list-cheat-sheet.ps1 +``` + +Lists the PowerShell cheat sheet + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-cheat-sheet.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-cheat-sheet +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-cheat-sheet.ps1* diff --git a/Docs/list-city-weather.md b/Docs/list-city-weather.md new file mode 100644 index 00000000..f5c3b560 --- /dev/null +++ b/Docs/list-city-weather.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-city-weather.ps1 +```powershell +list-city-weather.ps1 +``` + +List the current weather of cities world-wide (west to east) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-city-weather.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-city-weather +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-city-weather.ps1* diff --git a/Docs/list-cli-tools.md b/Docs/list-cli-tools.md new file mode 100644 index 00000000..e8da518d --- /dev/null +++ b/Docs/list-cli-tools.md @@ -0,0 +1,13 @@ +# PowerShell Script: list-cli-tools.ps1 +```powershell +list-cli-tools.ps1 + +``` + +``` +[] + 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 list-cli-tools.ps1* diff --git a/Docs/list-clipboard.md b/Docs/list-clipboard.md new file mode 100644 index 00000000..a990e4ca --- /dev/null +++ b/Docs/list-clipboard.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-clipboard.ps1 +```powershell +list-clipboard.ps1 +``` + +Lists the contents of the clipboard + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-clipboard.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-clipboard +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-clipboard.ps1* diff --git a/Docs/list-cmdlets.md b/Docs/list-cmdlets.md new file mode 100644 index 00000000..4a0333a2 --- /dev/null +++ b/Docs/list-cmdlets.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-cmdlets.ps1 +```powershell +list-cmdlets.ps1 +``` + +Lists all PowerShell cmdlets + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-cmdlets.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-cmdlets +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-cmdlets.ps1* diff --git a/Docs/list-commits.md b/Docs/list-commits.md new file mode 100644 index 00000000..c637bc5a --- /dev/null +++ b/Docs/list-commits.md @@ -0,0 +1,51 @@ +# PowerShell Script: list-commits.ps1 +```powershell +list-commits.ps1 [] [] +``` + +Lists all commits in a Git repository (format is: list|compact|normal|JSON) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-commits.ps1 [[-RepoDir] ] [[-Format] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Format + + Required? false + Position? 2 + Default value list + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-commits +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-commits.ps1* diff --git a/Docs/list-console-colors.md b/Docs/list-console-colors.md new file mode 100644 index 00000000..7ff18d41 --- /dev/null +++ b/Docs/list-console-colors.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-console-colors.ps1 +```powershell +list-console-colors.ps1 +``` + +Lists all console colors + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-console-colors.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-console-colors +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-console-colors.ps1* diff --git a/Docs/list-countries.md b/Docs/list-countries.md new file mode 100644 index 00000000..2523c1e1 --- /dev/null +++ b/Docs/list-countries.md @@ -0,0 +1,13 @@ +# PowerShell Script: list-countries.ps1 +```powershell +list-countries.ps1 + +``` + +``` +[] + 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 list-countries.ps1* diff --git a/Docs/list-credits.md b/Docs/list-credits.md new file mode 100644 index 00000000..0150023d --- /dev/null +++ b/Docs/list-credits.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-credits.ps1 +```powershell +list-credits.ps1 +``` + +Shows the credits for the PowerShell Scripts + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-credits.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-credits +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-credits.ps1* diff --git a/Docs/list-crypto-rates.md b/Docs/list-crypto-rates.md new file mode 100644 index 00000000..e9bbdd04 --- /dev/null +++ b/Docs/list-crypto-rates.md @@ -0,0 +1,13 @@ +# PowerShell Script: list-crypto-rates.ps1 +```powershell +list-crypto-rates.ps1 + +``` + +``` +[] + 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 list-crypto-rates.ps1* diff --git a/Docs/list-dir-tree.md b/Docs/list-dir-tree.md new file mode 100644 index 00000000..ed8f3639 --- /dev/null +++ b/Docs/list-dir-tree.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-dir-tree.ps1 +```powershell +list-dir-tree.ps1 [] +``` + +Lists the full directory tree + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-dir-tree.ps1 [[-DirTree] ] [] +``` + +``` +-DirTree + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-dir-tree C:\ +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-dir-tree.ps1* diff --git a/Docs/list-dir.md b/Docs/list-dir.md new file mode 100644 index 00000000..ef7f6d32 --- /dev/null +++ b/Docs/list-dir.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-dir.ps1 +```powershell +list-dir.ps1 [] +``` + +Lists the directory content formatted in columns + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-dir.ps1 [[-Pattern] ] [] +``` + +``` +-Pattern + + Required? false + Position? 1 + Default value * + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-dir C:\ +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-dir.ps1* diff --git a/Docs/list-drives.md b/Docs/list-drives.md new file mode 100644 index 00000000..731934f9 --- /dev/null +++ b/Docs/list-drives.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-drives.ps1 +```powershell +list-drives.ps1 +``` + +Lists all drives connected to the computer + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-drives.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-drives +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-drives.ps1* diff --git a/Docs/list-earthquakes.md b/Docs/list-earthquakes.md new file mode 100644 index 00000000..05c8c336 --- /dev/null +++ b/Docs/list-earthquakes.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-earthquakes.ps1 +```powershell +list-earthquakes.ps1 +``` + +Lists earthquakes with magnitude >= 6.0 for the last 30 days + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-earthquakes.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-earthquakes +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-earthquakes.ps1* diff --git a/Docs/list-emojis.md b/Docs/list-emojis.md new file mode 100644 index 00000000..c6aa99ec --- /dev/null +++ b/Docs/list-emojis.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-emojis.ps1 +```powershell +list-emojis.ps1 +``` + +Lists the Emojis of Unicode 13.0 + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-emojis.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-emojis +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-emojis.ps1* diff --git a/Docs/list-empty-dirs.md b/Docs/list-empty-dirs.md new file mode 100644 index 00000000..95a0a7a7 --- /dev/null +++ b/Docs/list-empty-dirs.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-empty-dirs.ps1 +```powershell +list-empty-dirs.ps1 [] +``` + +Lists empty subfolders within the given directory tree + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-empty-dirs.ps1 [[-DirTree] ] [] +``` + +``` +-DirTree + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-empty-dirs C:\ +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-empty-dirs.ps1* diff --git a/Docs/list-empty-files.md b/Docs/list-empty-files.md new file mode 100644 index 00000000..a0016bb9 --- /dev/null +++ b/Docs/list-empty-files.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-empty-files.ps1 +```powershell +list-empty-files.ps1 [] +``` + +Lists empty files within the given directory tree + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-empty-files.ps1 [[-DirTree] ] [] +``` + +``` +-DirTree + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-empty-files C:\ +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-empty-files.ps1* diff --git a/Docs/list-environment-variables.md b/Docs/list-environment-variables.md new file mode 100644 index 00000000..0cf21e77 --- /dev/null +++ b/Docs/list-environment-variables.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-environment-variables.ps1 +```powershell +list-environment-variables.ps1 +``` + +Lists all environment variables + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-environment-variables.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-environment-variables +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-environment-variables.ps1* diff --git a/Docs/list-exchange-rates.md b/Docs/list-exchange-rates.md new file mode 100644 index 00000000..1a97b588 --- /dev/null +++ b/Docs/list-exchange-rates.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-exchange-rates.ps1 +```powershell +list-exchange-rates.ps1 [] +``` + +Lists the current exchange rates for the given currency (USD per default) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-exchange-rates.ps1 [[-currency] ] [] +``` + +``` +-currency + + Required? false + Position? 1 + Default value USD + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-exchange-rates EUR +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-exchange-rates.ps1* diff --git a/Docs/list-files.md b/Docs/list-files.md new file mode 100644 index 00000000..652bc710 --- /dev/null +++ b/Docs/list-files.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-files.ps1 +```powershell +list-files.ps1 [] +``` + +Lists all files in the given directory tree + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-files.ps1 [[-DirTree] ] [] +``` + +``` +-DirTree + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-files C:\ +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-files.ps1* diff --git a/Docs/list-fritzbox-calls.md b/Docs/list-fritzbox-calls.md new file mode 100644 index 00000000..a33a8d8b --- /dev/null +++ b/Docs/list-fritzbox-calls.md @@ -0,0 +1,51 @@ +# PowerShell Script: list-fritzbox-calls.ps1 +```powershell +list-fritzbox-calls.ps1 [] [] +``` + +Lists the phone calls of the FRITZ!Box device + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-fritzbox-calls.ps1 [[-Username] ] [[-Password] ] [] +``` + +``` +-Username + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Password + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-fritzbox-calls +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-calls.ps1* diff --git a/Docs/list-fritzbox-devices.md b/Docs/list-fritzbox-devices.md new file mode 100644 index 00000000..ed90fd19 --- /dev/null +++ b/Docs/list-fritzbox-devices.md @@ -0,0 +1,51 @@ +# PowerShell Script: list-fritzbox-devices.ps1 +```powershell +list-fritzbox-devices.ps1 [] [] +``` + +Lists FRITZ!Box's known devices + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-fritzbox-devices.ps1 [[-Username] ] [[-Password] ] [] +``` + +``` +-Username + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Password + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-fritzbox-devices +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-fritzbox-devices.ps1* diff --git a/Docs/list-hidden-files.md b/Docs/list-hidden-files.md new file mode 100644 index 00000000..3353269b --- /dev/null +++ b/Docs/list-hidden-files.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-hidden-files.ps1 +```powershell +list-hidden-files.ps1 [] +``` + +Lists hidden files within the given directory tree + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-hidden-files.ps1 [[-DirTree] ] [] +``` + +``` +-DirTree + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-hidden-files C:\ +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-hidden-files.ps1* diff --git a/Docs/list-installed-apps.md b/Docs/list-installed-apps.md new file mode 100644 index 00000000..fe773998 --- /dev/null +++ b/Docs/list-installed-apps.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-installed-apps.ps1 +```powershell +list-installed-apps.ps1 +``` + +Lists the installed apps (from Windows Store or snaps) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-installed-apps.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-installed-apps +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-installed-apps.ps1* diff --git a/Docs/list-installed-software.md b/Docs/list-installed-software.md new file mode 100644 index 00000000..83b789a5 --- /dev/null +++ b/Docs/list-installed-software.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-installed-software.ps1 +```powershell +list-installed-software.ps1 +``` + +Lists the installed software (except Windows Store apps) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-installed-software.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-installed-software +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-installed-software.ps1* diff --git a/Docs/list-latest-tag.md b/Docs/list-latest-tag.md new file mode 100644 index 00000000..6ca62934 --- /dev/null +++ b/Docs/list-latest-tag.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-latest-tag.ps1 +```powershell +list-latest-tag.ps1 [] +``` + +Lists the latest tag on the current branch in a Git repository + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-latest-tag.ps1 [[-RepoDir] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-latest-tag C:\MyRepo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-latest-tag.ps1* diff --git a/Docs/list-latest-tags.md b/Docs/list-latest-tags.md new file mode 100644 index 00000000..2d6e0dcd --- /dev/null +++ b/Docs/list-latest-tags.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-latest-tags.ps1 +```powershell +list-latest-tags.ps1 [] +``` + +Lists the latests tags in all Git repositories under the current/given directory + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-latest-tags.ps1 [[-ParentDir] ] [] +``` + +``` +-ParentDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-latest-tags C:\MyRepos +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-latest-tags.ps1* diff --git a/Docs/list-memos.md b/Docs/list-memos.md new file mode 100644 index 00000000..6108943f --- /dev/null +++ b/Docs/list-memos.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-memos.ps1 +```powershell +list-memos.ps1 +``` + +Lists all memos in $HOME/Memos.csv + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-memos.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-memos +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-memos.ps1* diff --git a/Docs/list-modules.md b/Docs/list-modules.md new file mode 100644 index 00000000..917b8e0c --- /dev/null +++ b/Docs/list-modules.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-modules.ps1 +```powershell +list-modules.ps1 +``` + +Lists all PowerShell modules + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-modules.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-modules +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-modules.ps1* diff --git a/Docs/list-mysql-tables.md b/Docs/list-mysql-tables.md new file mode 100644 index 00000000..fe1c21e4 --- /dev/null +++ b/Docs/list-mysql-tables.md @@ -0,0 +1,71 @@ +# PowerShell Script: list-mysql-tables.ps1 +```powershell +list-mysql-tables.ps1 +``` + +Lists the MySQL tables + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-mysql-tables.ps1 [-server] [-database] [-dbuser] [-dbpass] [] +``` + +``` +-server + + Required? true + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-database + + Required? true + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-dbuser + + Required? true + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-dbpass + + Required? true + Position? 4 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-mysql-tables +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-mysql-tables.ps1* diff --git a/Docs/list-network-shares.md b/Docs/list-network-shares.md new file mode 100644 index 00000000..4c65be38 --- /dev/null +++ b/Docs/list-network-shares.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-network-shares.ps1 +```powershell +list-network-shares.ps1 +``` + +Lists the network shares of the local computer + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-network-shares.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-network-shares +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-network-shares.ps1* diff --git a/Docs/list-news.md b/Docs/list-news.md new file mode 100644 index 00000000..5aaa3e88 --- /dev/null +++ b/Docs/list-news.md @@ -0,0 +1,51 @@ +# PowerShell Script: list-news.ps1 +```powershell +list-news.ps1 [] [] +``` + +Lists the latest news + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-news.ps1 [[-RSS_URL] ] [[-MaxCount] ] [] +``` + +``` +-RSS_URL + + Required? false + Position? 1 + Default value https://yahoo.com/news/rss/world + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-MaxCount + + Required? false + Position? 2 + Default value 20 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-news +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-news.ps1* diff --git a/Docs/list-os-releases.md b/Docs/list-os-releases.md new file mode 100644 index 00000000..396fccec --- /dev/null +++ b/Docs/list-os-releases.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-os-releases.ps1 +```powershell +list-os-releases.ps1 +``` + +Lists OS releases and download URL + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-os-releases.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-os-releases +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-os-releases.ps1* diff --git a/Docs/list-os-updates.md b/Docs/list-os-updates.md new file mode 100644 index 00000000..410ed0b3 --- /dev/null +++ b/Docs/list-os-updates.md @@ -0,0 +1,51 @@ +# PowerShell Script: list-os-updates.ps1 +```powershell +list-os-updates.ps1 [] [] +``` + +Lists the latest operating system updates + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-os-updates.ps1 [[-RSS_URL] ] [[-MaxCount] ] [] +``` + +``` +-RSS_URL + + Required? false + Position? 1 + Default value https://distrowatch.com/news/dwd.xml + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-MaxCount + + Required? false + Position? 2 + Default value 20 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-os-updates +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-os-updates.ps1* diff --git a/Docs/list-passwords.md b/Docs/list-passwords.md new file mode 100644 index 00000000..2ba45091 --- /dev/null +++ b/Docs/list-passwords.md @@ -0,0 +1,61 @@ +# PowerShell Script: list-passwords.ps1 +```powershell +list-passwords.ps1 [] [] [] +``` + +Prints a list of random passwords + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-passwords.ps1 [[-PasswordLength] ] [[-Columns] ] [[-Rows] ] [] +``` + +``` +-PasswordLength + + Required? false + Position? 1 + Default value 15 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Columns + + Required? false + Position? 2 + Default value 6 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Rows + + Required? false + Position? 3 + Default value 30 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-passwords +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-passwords.ps1* diff --git a/Docs/list-pins.md b/Docs/list-pins.md new file mode 100644 index 00000000..a0af9793 --- /dev/null +++ b/Docs/list-pins.md @@ -0,0 +1,61 @@ +# PowerShell Script: list-pins.ps1 +```powershell +list-pins.ps1 [] [] [] +``` + +Prints a list of random PIN's + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-pins.ps1 [[-PinLength] ] [[-Columns] ] [[-Rows] ] [] +``` + +``` +-PinLength + + Required? false + Position? 1 + Default value 5 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Columns + + Required? false + Position? 2 + Default value 12 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Rows + + Required? false + Position? 3 + Default value 30 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-pins +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-pins.ps1* diff --git a/Docs/list-print-jobs.md b/Docs/list-print-jobs.md new file mode 100644 index 00000000..7c327eab --- /dev/null +++ b/Docs/list-print-jobs.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-print-jobs.ps1 +```powershell +list-print-jobs.ps1 +``` + +Lists all jobs from all printers + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-print-jobs.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-print-jobs +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-print-jobs.ps1* diff --git a/Docs/list-printers.md b/Docs/list-printers.md new file mode 100644 index 00000000..59d0a42a --- /dev/null +++ b/Docs/list-printers.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-printers.ps1 +```powershell +list-printers.ps1 +``` + +Lists all printer known to the local computer + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-printers.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-printers +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-printers.ps1* diff --git a/Docs/list-processes.md b/Docs/list-processes.md new file mode 100644 index 00000000..0d9cf364 --- /dev/null +++ b/Docs/list-processes.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-processes.ps1 +```powershell +list-processes.ps1 +``` + +Lists all local computer processes + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-processes.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-processes +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-processes.ps1* diff --git a/Docs/list-profiles.md b/Docs/list-profiles.md new file mode 100644 index 00000000..3395fb36 --- /dev/null +++ b/Docs/list-profiles.md @@ -0,0 +1,13 @@ +# PowerShell Script: list-profiles.ps1 +```powershell +list-profiles.ps1 + +``` + +``` +[] + 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 list-profiles.ps1* diff --git a/Docs/list-recycle-bin.md b/Docs/list-recycle-bin.md new file mode 100644 index 00000000..c7264373 --- /dev/null +++ b/Docs/list-recycle-bin.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-recycle-bin.ps1 +```powershell +list-recycle-bin.ps1 +``` + +Lists the content of the recycle bin folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-recycle-bin.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-recycle-bin +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-recycle-bin.ps1* diff --git a/Docs/list-scripts.md b/Docs/list-scripts.md new file mode 100644 index 00000000..70c3b32d --- /dev/null +++ b/Docs/list-scripts.md @@ -0,0 +1,13 @@ +# PowerShell Script: list-scripts.ps1 +```powershell +list-scripts.ps1 + +``` + +``` +[] + 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 list-scripts.ps1* diff --git a/Docs/list-services.md b/Docs/list-services.md new file mode 100644 index 00000000..fc16e0a2 --- /dev/null +++ b/Docs/list-services.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-services.ps1 +```powershell +list-services.ps1 +``` + +Lists the local computer services + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-services.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-services +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-services.ps1* diff --git a/Docs/list-sql-tables.md b/Docs/list-sql-tables.md new file mode 100644 index 00000000..86a7af4e --- /dev/null +++ b/Docs/list-sql-tables.md @@ -0,0 +1,73 @@ +# PowerShell Script: list-sql-tables.ps1 +```powershell +list-sql-tables.ps1 +``` + +Lists all tables in a SQL server database and exports the list as CSV +Install-Module InvokeQuery +Run the above command if you do not have this module. + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-sql-tables.ps1 [-server] [-database] [-username] [-password] [] +``` + +``` +-server + + Required? true + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-database + + Required? true + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-username + + Required? true + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-password + + Required? true + Position? 4 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-sql-tables +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-sql-tables.ps1* diff --git a/Docs/list-submodules.md b/Docs/list-submodules.md new file mode 100644 index 00000000..39ef3792 --- /dev/null +++ b/Docs/list-submodules.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-submodules.ps1 +```powershell +list-submodules.ps1 [] +``` + +Lists the submodules of the current/given Git repository + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-submodules.ps1 [[-RepoDir] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-submodules C:\MyRepo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-submodules.ps1* diff --git a/Docs/list-system-info.md b/Docs/list-system-info.md new file mode 100644 index 00000000..a45956a8 --- /dev/null +++ b/Docs/list-system-info.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-system-info.ps1 +```powershell +list-system-info.ps1 +``` + +Lists system information on the local computer + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-system-info.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-system-info +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-system-info.ps1* diff --git a/Docs/list-tags.md b/Docs/list-tags.md new file mode 100644 index 00000000..627cd6c0 --- /dev/null +++ b/Docs/list-tags.md @@ -0,0 +1,51 @@ +# PowerShell Script: list-tags.ps1 +```powershell +list-tags.ps1 [] [] +``` + +Lists all tags in the current/given Git repository + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-tags.ps1 [[-RepoDir] ] [[-Pattern] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Pattern + + Required? false + Position? 2 + Default value * + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-tags C:\MyRepo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-tags.ps1* diff --git a/Docs/list-tasks.md b/Docs/list-tasks.md new file mode 100644 index 00000000..31f86437 --- /dev/null +++ b/Docs/list-tasks.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-tasks.ps1 +```powershell +list-tasks.ps1 +``` + +Lists all Windows scheduler tasks + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-tasks.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-tasks +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-tasks.ps1* diff --git a/Docs/list-timezone.md b/Docs/list-timezone.md new file mode 100644 index 00000000..9d2eba38 --- /dev/null +++ b/Docs/list-timezone.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-timezone.ps1 +```powershell +list-timezone.ps1 +``` + +Lists the details of the current time zone + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-timezone.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-timezone +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-timezone.ps1* diff --git a/Docs/list-timezones.md b/Docs/list-timezones.md new file mode 100644 index 00000000..43b67da1 --- /dev/null +++ b/Docs/list-timezones.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-timezones.ps1 +```powershell +list-timezones.ps1 +``` + +Lists all available time zones + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-timezones.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-timezones +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-timezones.ps1* diff --git a/Docs/list-tiobe-index.md b/Docs/list-tiobe-index.md new file mode 100644 index 00000000..a242c384 --- /dev/null +++ b/Docs/list-tiobe-index.md @@ -0,0 +1,13 @@ +# PowerShell Script: list-tiobe-index.ps1 +```powershell +list-tiobe-index.ps1 + +``` + +``` +[] + 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 list-tiobe-index.ps1* diff --git a/Docs/list-unused-files.md b/Docs/list-unused-files.md new file mode 100644 index 00000000..5208b641 --- /dev/null +++ b/Docs/list-unused-files.md @@ -0,0 +1,51 @@ +# PowerShell Script: list-unused-files.ps1 +```powershell +list-unused-files.ps1 +``` + +Lists files in the with last access time older than + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-unused-files.ps1 [[-DirTree] ] [[-NumberOfDaysUnused] ] [] +``` + +``` +-DirTree + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-NumberOfDaysUnused + + Required? false + Position? 2 + Default value 99 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-unused-files C:\ 90 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-unused-files.ps1* diff --git a/Docs/list-user-groups.md b/Docs/list-user-groups.md new file mode 100644 index 00000000..d7038744 --- /dev/null +++ b/Docs/list-user-groups.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-user-groups.ps1 +```powershell +list-user-groups.ps1 +``` + +Lists the user groups on the local computer + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-user-groups.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-user-groups +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-user-groups.ps1* diff --git a/Docs/list-voices.md b/Docs/list-voices.md new file mode 100644 index 00000000..5cc332b3 --- /dev/null +++ b/Docs/list-voices.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-voices.ps1 +```powershell +list-voices.ps1 +``` + +Lists the installed text-to-speech (TTS) voices + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-voices.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-voices +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-voices.ps1* diff --git a/Docs/list-weather.md b/Docs/list-weather.md new file mode 100644 index 00000000..0ab7e453 --- /dev/null +++ b/Docs/list-weather.md @@ -0,0 +1,41 @@ +# PowerShell Script: list-weather.ps1 +```powershell +list-weather.ps1 [] +``` + +Lists the hourly weather + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-weather.ps1 [[-Location] ] [] +``` + +``` +-Location + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-weather +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-weather.ps1* diff --git a/Docs/list-workdir.md b/Docs/list-workdir.md new file mode 100644 index 00000000..a5a07edf --- /dev/null +++ b/Docs/list-workdir.md @@ -0,0 +1,31 @@ +# PowerShell Script: list-workdir.ps1 +```powershell +list-workdir.ps1 +``` + +Lists the current working directory + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/list-workdir.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./list-workdir +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of list-workdir.ps1* diff --git a/Docs/locate-city.md b/Docs/locate-city.md new file mode 100644 index 00000000..62521006 --- /dev/null +++ b/Docs/locate-city.md @@ -0,0 +1,41 @@ +# PowerShell Script: locate-city.ps1 +```powershell +locate-city.ps1 [] +``` + +Prints the geographic location of the given city + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/locate-city.ps1 [[-City] ] [] +``` + +``` +-City + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./locate-city Paris +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of locate-city.ps1* diff --git a/Docs/locate-ipaddress.md b/Docs/locate-ipaddress.md new file mode 100644 index 00000000..64e46113 --- /dev/null +++ b/Docs/locate-ipaddress.md @@ -0,0 +1,41 @@ +# PowerShell Script: locate-ipaddress.ps1 +```powershell +locate-ipaddress.ps1 [] +``` + +Prints the geographic location of the given IP address + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/locate-ipaddress.ps1 [[-IPaddr] ] [] +``` + +``` +-IPaddr + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./locate-ipaddress 177.144.67.98 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of locate-ipaddress.ps1* diff --git a/Docs/locate-zip-code.md b/Docs/locate-zip-code.md new file mode 100644 index 00000000..d215f774 --- /dev/null +++ b/Docs/locate-zip-code.md @@ -0,0 +1,51 @@ +# PowerShell Script: locate-zip-code.ps1 +```powershell +locate-zip-code.ps1 [] [] +``` + +Prints the geographic location of the given zip-code + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/locate-zip-code.ps1 [[-CountryCode] ] [[-ZipCode] ] [] +``` + +``` +-CountryCode + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-ZipCode + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./locate-zip-code +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of locate-zip-code.ps1* diff --git a/Docs/make-install.md b/Docs/make-install.md new file mode 100644 index 00000000..424e9625 --- /dev/null +++ b/Docs/make-install.md @@ -0,0 +1,31 @@ +# PowerShell Script: make-install.ps1 +```powershell +make-install.ps1 +``` + +Copies newer EXE's + DLL's from the build directory to the installation directory + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/make-install.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./make-install +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of make-install.ps1* diff --git a/Docs/make-repo.md b/Docs/make-repo.md new file mode 100644 index 00000000..090ba0c8 --- /dev/null +++ b/Docs/make-repo.md @@ -0,0 +1,41 @@ +# PowerShell Script: make-repo.ps1 +```powershell +make-repo.ps1 [] +``` + +Builds a Git repository supporting cmake,configure,autogen,Imakefile,Makefile + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/make-repo.ps1 [[-RepoDir] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./make-repo C:\MyRepo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of make-repo.ps1* diff --git a/Docs/make-repos.md b/Docs/make-repos.md new file mode 100644 index 00000000..24a74d6c --- /dev/null +++ b/Docs/make-repos.md @@ -0,0 +1,41 @@ +# PowerShell Script: make-repos.ps1 +```powershell +make-repos.ps1 [] +``` + +Builds all Git repositories under the current/given directory + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/make-repos.ps1 [[-ParentDir] ] [] +``` + +``` +-ParentDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./make-repos C:\MyRepos +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of make-repos.ps1* diff --git a/Docs/moon.md b/Docs/moon.md new file mode 100644 index 00000000..543b848a --- /dev/null +++ b/Docs/moon.md @@ -0,0 +1,31 @@ +# PowerShell Script: moon.ps1 +```powershell +moon.ps1 +``` + +Prints the current moon phase + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/moon.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./moon +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of moon.ps1* diff --git a/Docs/mute-audio.md b/Docs/mute-audio.md new file mode 100644 index 00000000..acbf0f46 --- /dev/null +++ b/Docs/mute-audio.md @@ -0,0 +1,31 @@ +# PowerShell Script: mute-audio.ps1 +```powershell +mute-audio.ps1 +``` + +Mutes the audio output + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/mute-audio.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./mute-audio +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of mute-audio.ps1* diff --git a/Docs/my-profile.md b/Docs/my-profile.md new file mode 100644 index 00000000..989c24d7 --- /dev/null +++ b/Docs/my-profile.md @@ -0,0 +1,13 @@ +# PowerShell Script: my-profile.ps1 +```powershell +my-profile.ps1 + +``` + +``` +[] + 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 my-profile.ps1* diff --git a/Docs/new-branch.md b/Docs/new-branch.md new file mode 100644 index 00000000..f36ec886 --- /dev/null +++ b/Docs/new-branch.md @@ -0,0 +1,51 @@ +# PowerShell Script: new-branch.ps1 +```powershell +new-branch.ps1 [] [] +``` + +Creates and switches to a new branch in a Git repository + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/new-branch.ps1 [[-BranchName] ] [[-RepoDir] ] [] +``` + +``` +-BranchName + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-RepoDir + + Required? false + Position? 2 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./new-branch test123 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of new-branch.ps1* diff --git a/Docs/new-email.md b/Docs/new-email.md new file mode 100644 index 00000000..66dbf0ba --- /dev/null +++ b/Docs/new-email.md @@ -0,0 +1,41 @@ +# PowerShell Script: new-email.ps1 +```powershell +new-email.ps1 [
] +``` + +Opens the default email client to write a new email + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/new-email.ps1 [[-EmailAddress] ] [] +``` + +``` +-EmailAddress + + Required? false + Position? 1 + Default value markus@fleschutz.de + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./new-email +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of new-email.ps1* diff --git a/Docs/new-qrcode.md b/Docs/new-qrcode.md new file mode 100644 index 00000000..952bd4e2 --- /dev/null +++ b/Docs/new-qrcode.md @@ -0,0 +1,51 @@ +# PowerShell Script: new-qrcode.ps1 +```powershell +new-qrcode.ps1 [] [] +``` + +Generates a new QR code image file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/new-qrcode.ps1 [[-Text] ] [[-ImageSize] ] [] +``` + +``` +-Text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-ImageSize + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./new-qrcode "Fasten seatbelt" 500x500 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of new-qrcode.ps1* diff --git a/Docs/new-script.md b/Docs/new-script.md new file mode 100644 index 00000000..bc379374 --- /dev/null +++ b/Docs/new-script.md @@ -0,0 +1,41 @@ +# PowerShell Script: new-script.ps1 +```powershell +new-script.ps1 [] +``` + +Creates a new PowerShell script + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/new-script.ps1 [[-filename] ] [] +``` + +``` +-filename + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./new-script myscript.ps1 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of new-script.ps1* diff --git a/Docs/new-shortcut.md b/Docs/new-shortcut.md new file mode 100644 index 00000000..86293dc1 --- /dev/null +++ b/Docs/new-shortcut.md @@ -0,0 +1,61 @@ +# PowerShell Script: new-shortcut.ps1 +```powershell +new-shortcut.ps1 [] [] [] +``` + +Creates a new shortcut file + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/new-shortcut.ps1 [[-shortcut] ] [[-target] ] [[-description] ] [] +``` + +``` +-shortcut + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-target + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-description + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./new-shortcut C:\Temp\HDD C:\ +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of new-shortcut.ps1* diff --git a/Docs/new-symlink.md b/Docs/new-symlink.md new file mode 100644 index 00000000..7cb081c6 --- /dev/null +++ b/Docs/new-symlink.md @@ -0,0 +1,12 @@ +# PowerShell Script: new-symlink.ps1 +```powershell + +``` + +``` +[] + 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 new-symlink.ps1* diff --git a/Docs/new-tag.md b/Docs/new-tag.md new file mode 100644 index 00000000..b74a7f68 --- /dev/null +++ b/Docs/new-tag.md @@ -0,0 +1,51 @@ +# PowerShell Script: new-tag.ps1 +```powershell +new-tag.ps1 [] [] +``` + +Creates a new tag in a Git repository + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/new-tag.ps1 [[-TagName] ] [[-RepoDir] ] [] +``` + +``` +-TagName + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-RepoDir + + Required? false + Position? 2 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./create-tag v1.7 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of new-tag.ps1* diff --git a/Docs/new-zipfile.md b/Docs/new-zipfile.md new file mode 100644 index 00000000..27404da1 --- /dev/null +++ b/Docs/new-zipfile.md @@ -0,0 +1,41 @@ +# PowerShell Script: new-zipfile.ps1 +```powershell +new-zipfile.ps1 [] +``` + +Creates a new .zip file from a directory + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/new-zipfile.ps1 [[-directory] ] [] +``` + +``` +-directory + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./new-zipfile C:\Windows +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of new-zipfile.ps1* diff --git a/Docs/open-browser.md b/Docs/open-browser.md new file mode 100644 index 00000000..1e8266b4 --- /dev/null +++ b/Docs/open-browser.md @@ -0,0 +1,41 @@ +# PowerShell Script: open-browser.ps1 +```powershell +open-browser.ps1 [] +``` + +Opens the default Web browser, optional with given URL + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/open-browser.ps1 [[-URL] ] [] +``` + +``` +-URL + + Required? false + Position? 1 + Default value http://www.fleschutz.de + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./open-browser +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of open-browser.ps1* diff --git a/Docs/open-calculator.md b/Docs/open-calculator.md new file mode 100644 index 00000000..40f3f958 --- /dev/null +++ b/Docs/open-calculator.md @@ -0,0 +1,31 @@ +# PowerShell Script: open-calculator.ps1 +```powershell +open-calculator.ps1 +``` + +Starts the calculator program + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/open-calculator.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./open-calculator +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of open-calculator.ps1* diff --git a/Docs/open-email-client.md b/Docs/open-email-client.md new file mode 100644 index 00000000..f2b78f63 --- /dev/null +++ b/Docs/open-email-client.md @@ -0,0 +1,31 @@ +# PowerShell Script: open-email-client.ps1 +```powershell +open-email-client.ps1 +``` + +Starts the default email client + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/open-email-client.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./open-email-client +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of open-email-client.ps1* diff --git a/Docs/open-file-explorer.md b/Docs/open-file-explorer.md new file mode 100644 index 00000000..a2008370 --- /dev/null +++ b/Docs/open-file-explorer.md @@ -0,0 +1,31 @@ +# PowerShell Script: open-file-explorer.ps1 +```powershell +open-file-explorer.ps1 +``` + +Starts the File Explorer + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/open-file-explorer.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./open-file-explorer +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of open-file-explorer.ps1* diff --git a/Docs/open-netflix.md b/Docs/open-netflix.md new file mode 100644 index 00000000..75d8e56a --- /dev/null +++ b/Docs/open-netflix.md @@ -0,0 +1,31 @@ +# PowerShell Script: open-netflix.ps1 +```powershell +open-netflix.ps1 +``` + +Starts the Netflix app (needs to be installed) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/open-netflix.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./open-netflix +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of open-netflix.ps1* diff --git a/Docs/open-onedrive.md b/Docs/open-onedrive.md new file mode 100644 index 00000000..a7dd214b --- /dev/null +++ b/Docs/open-onedrive.md @@ -0,0 +1,31 @@ +# PowerShell Script: open-onedrive.ps1 +```powershell +open-onedrive.ps1 +``` + +Opens the user's OneDrive folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/open-onedrive.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./open-onedrive +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of open-onedrive.ps1* diff --git a/Docs/open-recycle-bin.md b/Docs/open-recycle-bin.md new file mode 100644 index 00000000..d0d89ec4 --- /dev/null +++ b/Docs/open-recycle-bin.md @@ -0,0 +1,31 @@ +# PowerShell Script: open-recycle-bin.ps1 +```powershell +open-recycle-bin.ps1 +``` + +Starts the File Explorer with the recycle bin folder + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/open-recycle-bin.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./open-recycle-bin +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of open-recycle-bin.ps1* diff --git a/Docs/play-beep.md b/Docs/play-beep.md new file mode 100644 index 00000000..1b028f0e --- /dev/null +++ b/Docs/play-beep.md @@ -0,0 +1,31 @@ +# PowerShell Script: play-beep.ps1 +```powershell +play-beep.ps1 +``` + +Plays a short beep sound + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-beep.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-beep +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-beep.ps1* diff --git a/Docs/play-files.md b/Docs/play-files.md new file mode 100644 index 00000000..a35df23a --- /dev/null +++ b/Docs/play-files.md @@ -0,0 +1,41 @@ +# PowerShell Script: play-files.ps1 +```powershell +play-files.ps1 [] +``` + +Plays the given audio files (supporting MP3 and WAV format) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-files.ps1 [[-Pattern] ] [] +``` + +``` +-Pattern + + Required? false + Position? 1 + Default value * + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-files *.mp3 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-files.ps1* diff --git a/Docs/play-happy-birthday.md b/Docs/play-happy-birthday.md new file mode 100644 index 00000000..993f6227 --- /dev/null +++ b/Docs/play-happy-birthday.md @@ -0,0 +1,31 @@ +# PowerShell Script: play-happy-birthday.ps1 +```powershell +play-happy-birthday.ps1 +``` + +Plays the Happy Birthday song + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-happy-birthday.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-happy-birthday +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-happy-birthday.ps1* diff --git a/Docs/play-imperial-march.md b/Docs/play-imperial-march.md new file mode 100644 index 00000000..250117e7 --- /dev/null +++ b/Docs/play-imperial-march.md @@ -0,0 +1,31 @@ +# PowerShell Script: play-imperial-march.ps1 +```powershell +play-imperial-march.ps1 +``` + +Plays the Imperial March (Star Wars) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-imperial-march.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-imperial-march +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-imperial-march.ps1* diff --git a/Docs/play-jingle-bells.md b/Docs/play-jingle-bells.md new file mode 100644 index 00000000..04bdfbca --- /dev/null +++ b/Docs/play-jingle-bells.md @@ -0,0 +1,31 @@ +# PowerShell Script: play-jingle-bells.ps1 +```powershell +play-jingle-bells.ps1 +``` + +Plays Jingle Bells + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-jingle-bells.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-jingle-bells +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-jingle-bells.ps1* diff --git a/Docs/play-m3u.md b/Docs/play-m3u.md new file mode 100644 index 00000000..84a01821 --- /dev/null +++ b/Docs/play-m3u.md @@ -0,0 +1,41 @@ +# PowerShell Script: play-m3u.ps1 +```powershell +play-m3u.ps1 [] +``` + +Plays the given playlist (in .M3U file format) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-m3u.ps1 [[-Filename] ] [] +``` + +``` +-Filename + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-m3u C:\MyPlaylist.m3u +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-m3u.ps1* diff --git a/Docs/play-mission-impossible.md b/Docs/play-mission-impossible.md new file mode 100644 index 00000000..f6e3ff07 --- /dev/null +++ b/Docs/play-mission-impossible.md @@ -0,0 +1,31 @@ +# PowerShell Script: play-mission-impossible.ps1 +```powershell +play-mission-impossible.ps1 +``` + +Plays the Mission Impossible theme + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-mission-impossible.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-mission-impossible +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-mission-impossible.ps1* diff --git a/Docs/play-mp3.md b/Docs/play-mp3.md new file mode 100644 index 00000000..4c5ed156 --- /dev/null +++ b/Docs/play-mp3.md @@ -0,0 +1,41 @@ +# PowerShell Script: play-mp3.ps1 +```powershell +play-mp3.ps1 [] +``` + +Plays the given sound file (MP3 file format) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-mp3.ps1 [[-Filename] ] [] +``` + +``` +-Filename + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-mp3 C:\thunder.mp3 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-mp3.ps1* diff --git a/Docs/play-super-mario.md b/Docs/play-super-mario.md new file mode 100644 index 00000000..f655603f --- /dev/null +++ b/Docs/play-super-mario.md @@ -0,0 +1,31 @@ +# PowerShell Script: play-super-mario.ps1 +```powershell +play-super-mario.ps1 +``` + +Plays the Super Mario intro + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-super-mario.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-super-mario +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-super-mario.ps1* diff --git a/Docs/play-tetris-melody.md b/Docs/play-tetris-melody.md new file mode 100644 index 00000000..c6d50aef --- /dev/null +++ b/Docs/play-tetris-melody.md @@ -0,0 +1,31 @@ +# PowerShell Script: play-tetris-melody.ps1 +```powershell +play-tetris-melody.ps1 +``` + +Plays the Tetris melody + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/play-tetris-melody.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./play-tetris-melody +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of play-tetris-melody.ps1* diff --git a/Docs/poweroff.md b/Docs/poweroff.md new file mode 100644 index 00000000..aef8add6 --- /dev/null +++ b/Docs/poweroff.md @@ -0,0 +1,31 @@ +# PowerShell Script: poweroff.ps1 +```powershell +poweroff.ps1 +``` + +Halts the local computer (needs admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/poweroff.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./poweroff +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of poweroff.ps1* diff --git a/Docs/publish-to-ipfs.md b/Docs/publish-to-ipfs.md new file mode 100644 index 00000000..669db8d7 --- /dev/null +++ b/Docs/publish-to-ipfs.md @@ -0,0 +1,61 @@ +# PowerShell Script: publish-to-ipfs.ps1 +```powershell +publish-to-ipfs.ps1 [] [] +``` + +Publishes the given files & folders to IPFS + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/publish-to-ipfs.ps1 [[-FilePattern] ] [[-HashList] ] [[-DF_Hashes] ] [] +``` + +``` +-FilePattern + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-HashList + + Required? false + Position? 2 + Default value IPFS_hashes.txt + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-DF_Hashes + + Required? false + Position? 3 + Default value file_checksums.xml + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./publish-to-ipfs C:\MyFile.txt +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of publish-to-ipfs.ps1* diff --git a/Docs/pull-repo.md b/Docs/pull-repo.md new file mode 100644 index 00000000..981c4d14 --- /dev/null +++ b/Docs/pull-repo.md @@ -0,0 +1,41 @@ +# PowerShell Script: pull-repo.ps1 +```powershell +pull-repo.ps1 [] +``` + +Pulls updates for a local Git repository (including submodules) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/pull-repo.ps1 [[-RepoDir] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./pull-repo C:\MyRepo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of pull-repo.ps1* diff --git a/Docs/pull-repos.md b/Docs/pull-repos.md new file mode 100644 index 00000000..9e9fe27e --- /dev/null +++ b/Docs/pull-repos.md @@ -0,0 +1,41 @@ +# PowerShell Script: pull-repos.ps1 +```powershell +pull-repos.ps1 [] +``` + +Pulls updates for all Git repositories under the current/given directory (including submodules) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/pull-repos.ps1 [[-ParentDir] ] [] +``` + +``` +-ParentDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./pull-repos C:\MyRepos +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1* diff --git a/Docs/query-smart-data.md b/Docs/query-smart-data.md new file mode 100644 index 00000000..96695303 --- /dev/null +++ b/Docs/query-smart-data.md @@ -0,0 +1,44 @@ +# PowerShell Script: query-smart-data.ps1 +```powershell +query-smart-data.ps1 [] +``` + +Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given directory +(use smart-data2csv.ps1 to generate a CSV table for analysis). + + Requires smartctl (smartmontools) and admin rights. For automation copy this script to /etc/cron.daily + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/query-smart-data.ps1 [[-Directory] ] [] +``` + +``` +-Directory + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./query-smart-data +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of query-smart-data.ps1* diff --git a/Docs/reboot-fritzbox.md b/Docs/reboot-fritzbox.md new file mode 100644 index 00000000..f1f718c4 --- /dev/null +++ b/Docs/reboot-fritzbox.md @@ -0,0 +1,51 @@ +# PowerShell Script: reboot-fritzbox.ps1 +```powershell +reboot-fritzbox.ps1 [] [] +``` + +Reboots the FRITZ!Box device + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/reboot-fritzbox.ps1 [[-USERNAME] ] [[-PASSWORD] ] [] +``` + +``` +-USERNAME + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-PASSWORD + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./reboot-fritzbox +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of reboot-fritzbox.ps1* diff --git a/Docs/reboot.md b/Docs/reboot.md new file mode 100644 index 00000000..7351728a --- /dev/null +++ b/Docs/reboot.md @@ -0,0 +1,31 @@ +# PowerShell Script: reboot.ps1 +```powershell +reboot.ps1 +``` + +Reboots the local computer (needs admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/reboot.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./reboot +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of reboot.ps1* diff --git a/Docs/remove-empty-dirs.md b/Docs/remove-empty-dirs.md new file mode 100644 index 00000000..966c56c1 --- /dev/null +++ b/Docs/remove-empty-dirs.md @@ -0,0 +1,41 @@ +# PowerShell Script: remove-empty-dirs.ps1 +```powershell +remove-empty-dirs.ps1 [] +``` + +Removes all empty subfolders within the given directory tree + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/remove-empty-dirs.ps1 [[-DirTree] ] [] +``` + +``` +-DirTree + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./remove-empty-dirs C:\Temp +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of remove-empty-dirs.ps1* diff --git a/Docs/remove-print-jobs.md b/Docs/remove-print-jobs.md new file mode 100644 index 00000000..a36a9236 --- /dev/null +++ b/Docs/remove-print-jobs.md @@ -0,0 +1,31 @@ +# PowerShell Script: remove-print-jobs.ps1 +```powershell +remove-print-jobs.ps1 +``` + +Removes all jobs from all printers + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/remove-print-jobs.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./remove-print-jobs +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of remove-print-jobs.ps1* diff --git a/Docs/remove-tag.md b/Docs/remove-tag.md new file mode 100644 index 00000000..986a9b1b --- /dev/null +++ b/Docs/remove-tag.md @@ -0,0 +1,61 @@ +# PowerShell Script: remove-tag.ps1 +```powershell +remove-tag.ps1 [] [] [] +``` + +Removes a Git tag (locally, remote, or both) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/remove-tag.ps1 [[-TagName] ] [[-Mode] ] [[-RepoDir] ] [] +``` + +``` +-TagName + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Mode + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-RepoDir + + Required? false + Position? 3 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./remove-tag v1.7 locally +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of remove-tag.ps1* diff --git a/Docs/replace-in-files.md b/Docs/replace-in-files.md new file mode 100644 index 00000000..b8c00fbf --- /dev/null +++ b/Docs/replace-in-files.md @@ -0,0 +1,61 @@ +# PowerShell Script: replace-in-files.ps1 +```powershell +replace-in-files.ps1 [] [] [] +``` + +Search and replace a pattern in the given files by the replacement + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/replace-in-files.ps1 [[-pattern] ] [[-replacement] ] [[-files] ] [] +``` + +``` +-pattern + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-replacement + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-files + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./replace-in-files IO "Input Output" C:\Temp\*.txt +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of replace-in-files.ps1* diff --git a/Docs/restart-network-adapters.md b/Docs/restart-network-adapters.md new file mode 100644 index 00000000..d492689f --- /dev/null +++ b/Docs/restart-network-adapters.md @@ -0,0 +1,31 @@ +# PowerShell Script: restart-network-adapters.ps1 +```powershell +restart-network-adapters.ps1 +``` + +Restarts all local network adapters (needs admin rights) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/restart-network-adapters.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./restart-network-adapters +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +htts://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of restart-network-adapters.ps1* diff --git a/Docs/scan-ports.md b/Docs/scan-ports.md new file mode 100644 index 00000000..5eb76f70 --- /dev/null +++ b/Docs/scan-ports.md @@ -0,0 +1,31 @@ +# PowerShell Script: scan-ports.ps1 +```powershell +scan-ports.ps1 +``` + +Scans the network for open/closed ports + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/scan-ports.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./scan-ports +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of scan-ports.ps1* diff --git a/Docs/search-filename.md b/Docs/search-filename.md new file mode 100644 index 00000000..1a569caa --- /dev/null +++ b/Docs/search-filename.md @@ -0,0 +1,52 @@ +# PowerShell Script: search-filename.ps1 +```powershell +search-filename.ps1 +``` + +This script serves as a quick Powershell replacement to the search functionality in Windows +After you pass in a root folder and a search term, the script will list all files and folders matching that phrase. + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/search-filename.ps1 [-path] [-term] [] +``` + +``` +-path + + Required? true + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-term + + Required? true + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./search-filename +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of search-filename.ps1* diff --git a/Docs/search-files.md b/Docs/search-files.md new file mode 100644 index 00000000..4dbff91f --- /dev/null +++ b/Docs/search-files.md @@ -0,0 +1,51 @@ +# PowerShell Script: search-files.ps1 +```powershell +search-files.ps1 [] [] +``` + +Searches for a pattern in the given files + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/search-files.ps1 [[-pattern] ] [[-files] ] [] +``` + +``` +-pattern + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-files + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./search-files UFO C:\Temp\*.txt +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of search-files.ps1* diff --git a/Docs/send-email.md b/Docs/send-email.md new file mode 100644 index 00000000..370628b1 --- /dev/null +++ b/Docs/send-email.md @@ -0,0 +1,31 @@ +# PowerShell Script: send-email.ps1 +```powershell +send-email.ps1 +``` + +Sends an email message + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/send-email.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./send-email +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of send-email.ps1* diff --git a/Docs/send-tcp.md b/Docs/send-tcp.md new file mode 100644 index 00000000..b5e5c622 --- /dev/null +++ b/Docs/send-tcp.md @@ -0,0 +1,61 @@ +# PowerShell Script: send-tcp.ps1 +```powershell +send-tcp.ps1 [] [] [] +``` + +Sends a TCP message to the given IP address and port + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/send-tcp.ps1 [[-TargetIP] ] [[-TargetPort] ] [[-Message] ] [] +``` + +``` +-TargetIP + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-TargetPort + + Required? false + Position? 2 + Default value 0 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Message + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./send-tcp 192.168.100.100 8080 "TEST" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of send-tcp.ps1* diff --git a/Docs/send-udp.md b/Docs/send-udp.md new file mode 100644 index 00000000..50556956 --- /dev/null +++ b/Docs/send-udp.md @@ -0,0 +1,12 @@ +# PowerShell Script: send-udp.ps1 +```powershell + +``` + +``` +[] + 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 send-udp.ps1* diff --git a/Docs/set-profile.md b/Docs/set-profile.md new file mode 100644 index 00000000..d1daead9 --- /dev/null +++ b/Docs/set-profile.md @@ -0,0 +1,31 @@ +# PowerShell Script: set-profile.ps1 +```powershell +set-profile.ps1 +``` + +Sets the PowerShell profile for the current user + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/set-profile.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./set-profile +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of set-profile.ps1* diff --git a/Docs/set-timer.md b/Docs/set-timer.md new file mode 100644 index 00000000..d34257eb --- /dev/null +++ b/Docs/set-timer.md @@ -0,0 +1,41 @@ +# PowerShell Script: set-timer.ps1 +```powershell +set-timer.ps1 [] +``` + +Sets a timer for a countdown + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/set-timer.ps1 [[-Seconds] ] [] +``` + +``` +-Seconds + + Required? false + Position? 1 + Default value 0 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./set-timer 60 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of set-timer.ps1* diff --git a/Docs/set-wallpaper.md b/Docs/set-wallpaper.md new file mode 100644 index 00000000..ca825a50 --- /dev/null +++ b/Docs/set-wallpaper.md @@ -0,0 +1,12 @@ +# PowerShell Script: set-wallpaper.ps1 +```powershell + +``` + +``` +[] + 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 set-wallpaper.ps1* diff --git a/Docs/simulate-matrix.md b/Docs/simulate-matrix.md new file mode 100644 index 00000000..6ce02f24 --- /dev/null +++ b/Docs/simulate-matrix.md @@ -0,0 +1,31 @@ +# PowerShell Script: simulate-matrix.ps1 +```powershell +simulate-matrix.ps1 +``` + +Simulates the Matrix (fun) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/simulate-matrix.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./simulate-matrix +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of simulate-matrix.ps1* diff --git a/Docs/simulate-presence.md b/Docs/simulate-presence.md new file mode 100644 index 00000000..e2a47c71 --- /dev/null +++ b/Docs/simulate-presence.md @@ -0,0 +1,41 @@ +# PowerShell Script: simulate-presence.ps1 +```powershell +simulate-presence.ps1 [] +``` + +Simulates the human presence against burglars + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/simulate-presence.ps1 [[-IPaddress] ] [] +``` + +``` +-IPaddress + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./simulate-presence 192.168.100.100 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of simulate-presence.ps1* diff --git a/Docs/smart-data2csv.md b/Docs/smart-data2csv.md new file mode 100644 index 00000000..6cd77eaf --- /dev/null +++ b/Docs/smart-data2csv.md @@ -0,0 +1,42 @@ +# PowerShell Script: smart-data2csv.ps1 +```powershell +smart-data2csv.ps1 [] +``` + +Converts the S.M.A.R.T. JSON files in the current/given directory to a CSV table for analysis + (use query-smart-data.ps1 to generate those JSON files). + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/smart-data2csv.ps1 [[-Directory] ] [] +``` + +``` +-Directory + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./smart-data2csv +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of smart-data2csv.ps1* diff --git a/Docs/speak-checklist.md b/Docs/speak-checklist.md new file mode 100644 index 00000000..64bea0df --- /dev/null +++ b/Docs/speak-checklist.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-checklist.ps1 +```powershell +speak-checklist.ps1 [] +``` + +Speaks the given checklist by text-to-speech (TTS) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-checklist.ps1 [[-Name] ] [] +``` + +``` +-Name + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-checklist +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-checklist.ps1* diff --git a/Docs/speak-countdown.md b/Docs/speak-countdown.md new file mode 100644 index 00000000..eefb622e --- /dev/null +++ b/Docs/speak-countdown.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-countdown.ps1 +```powershell +speak-countdown.ps1 [start-number] +``` + +Speaks a countdown by text-to-speech (TTS) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-countdown.ps1 [[-StartNumber] ] [] +``` + +``` +-StartNumber + + Required? false + Position? 1 + Default value 10 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-countdown 60 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-countdown.ps1* diff --git a/Docs/speak-date.md b/Docs/speak-date.md new file mode 100644 index 00000000..0677ab0d --- /dev/null +++ b/Docs/speak-date.md @@ -0,0 +1,31 @@ +# PowerShell Script: speak-date.ps1 +```powershell +speak-date.ps1 +``` + +Speaks the current date by text-to-speech (TTS) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-date.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-date +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-date.ps1* diff --git a/Docs/speak-english.md b/Docs/speak-english.md new file mode 100644 index 00000000..b8621842 --- /dev/null +++ b/Docs/speak-english.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-english.ps1 +```powershell +speak-english.ps1 [] +``` + +Speaks the given text with an English text-to-speech (TTS) voice + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-english.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-english "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-english.ps1* diff --git a/Docs/speak-epub.md b/Docs/speak-epub.md new file mode 100644 index 00000000..2f29c093 --- /dev/null +++ b/Docs/speak-epub.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-epub.ps1 +```powershell +speak-epub.ps1 [] +``` + +Speaks the content of the given Epub file by text-to-speech (TTS). + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-epub.ps1 [[-Filename] ] [] +``` + +``` +-Filename + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-epub C:\MyBook.epub +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-epub.ps1* diff --git a/Docs/speak-file.md b/Docs/speak-file.md new file mode 100644 index 00000000..94fa4b0e --- /dev/null +++ b/Docs/speak-file.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-file.ps1 +```powershell +speak-file.ps1 [] +``` + +Speaks the content of the given text file by text-to-speech (TTS) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-file.ps1 [[-File] ] [] +``` + +``` +-File + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-file C:\MyFile.txt +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-file.ps1* diff --git a/Docs/speak-french.md b/Docs/speak-french.md new file mode 100644 index 00000000..6d972d61 --- /dev/null +++ b/Docs/speak-french.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-french.ps1 +```powershell +speak-french.ps1 [] +``` + +Speaks the given text with a French text-to-speech (TTS) voice + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-french.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-french Salut +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-french.ps1* diff --git a/Docs/speak-german.md b/Docs/speak-german.md new file mode 100644 index 00000000..df2f6efd --- /dev/null +++ b/Docs/speak-german.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-german.ps1 +```powershell +speak-german.ps1 [] +``` + +Speaks the given text with a German text-to-speech (TTS) voice + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-german.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-german Hallo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-german.ps1* diff --git a/Docs/speak-italian.md b/Docs/speak-italian.md new file mode 100644 index 00000000..249a34d0 --- /dev/null +++ b/Docs/speak-italian.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-italian.ps1 +```powershell +speak-italian.ps1 [] +``` + +Speaks the given text with an Italian text-to-speech (TTS) voice + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-italian.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-italian Ciao +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-italian.ps1* diff --git a/Docs/speak-joke.md b/Docs/speak-joke.md new file mode 100644 index 00000000..c3375155 --- /dev/null +++ b/Docs/speak-joke.md @@ -0,0 +1,31 @@ +# PowerShell Script: speak-joke.ps1 +```powershell +speak-joke.ps1 +``` + +Speaks a random Chuck Norris joke by text-to-speech (TTS) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-joke.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-joke +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-joke.ps1* diff --git a/Docs/speak-quote.md b/Docs/speak-quote.md new file mode 100644 index 00000000..c080e056 --- /dev/null +++ b/Docs/speak-quote.md @@ -0,0 +1,31 @@ +# PowerShell Script: speak-quote.ps1 +```powershell +speak-quote.ps1 +``` + +Speaks a random quote by text-to-speech (TTS) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-quote.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-quote +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-quote.ps1* diff --git a/Docs/speak-spanish.md b/Docs/speak-spanish.md new file mode 100644 index 00000000..6d7e800e --- /dev/null +++ b/Docs/speak-spanish.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-spanish.ps1 +```powershell +speak-spanish.ps1 [] +``` + +Speaks the given text with a Spanish text-to-speech (TTS) voice + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-spanish.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-spanish Hola +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-spanish.ps1* diff --git a/Docs/speak-test.md b/Docs/speak-test.md new file mode 100644 index 00000000..17ab0ca6 --- /dev/null +++ b/Docs/speak-test.md @@ -0,0 +1,13 @@ +# PowerShell Script: speak-test.ps1 +```powershell +speak-test.ps1 + +``` + +``` +[] + 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 speak-test.ps1* diff --git a/Docs/speak-text.md b/Docs/speak-text.md new file mode 100644 index 00000000..f28b8b14 --- /dev/null +++ b/Docs/speak-text.md @@ -0,0 +1,41 @@ +# PowerShell Script: speak-text.ps1 +```powershell +speak-text.ps1 [] +``` + +Speaks the given text by the default text-to-speech (TTS) voice + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-text.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-text "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-text.ps1* diff --git a/Docs/speak-time.md b/Docs/speak-time.md new file mode 100644 index 00000000..343662f4 --- /dev/null +++ b/Docs/speak-time.md @@ -0,0 +1,31 @@ +# PowerShell Script: speak-time.ps1 +```powershell +speak-time.ps1 +``` + +Speaks the current time by text-to-speech (TTS) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/speak-time.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./speak-time +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of speak-time.ps1* diff --git a/Docs/start-calibre-server.md b/Docs/start-calibre-server.md new file mode 100644 index 00000000..c5953f22 --- /dev/null +++ b/Docs/start-calibre-server.md @@ -0,0 +1,41 @@ +# PowerShell Script: start-calibre-server.ps1 +```powershell +start-calibre-server.ps1 [] +``` + +Starts a local Calibre server as background process (Web port number is 8099 by default) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/start-calibre-server.ps1 [[-port] ] [] +``` + +``` +-port + + Required? false + Position? 1 + Default value 8099 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./start-calibre-server +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of start-calibre-server.ps1* diff --git a/Docs/start-ipfs-server.md b/Docs/start-ipfs-server.md new file mode 100644 index 00000000..eb1e997b --- /dev/null +++ b/Docs/start-ipfs-server.md @@ -0,0 +1,31 @@ +# PowerShell Script: start-ipfs-server.ps1 +```powershell +start-ipfs-server.ps1 +``` + +Starts a local IPFS server as a daemon process + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/start-ipfs-server.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./start-ipfs-server +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of start-ipfs-server.ps1* diff --git a/Docs/switch-branch.md b/Docs/switch-branch.md new file mode 100644 index 00000000..4c5877d6 --- /dev/null +++ b/Docs/switch-branch.md @@ -0,0 +1,51 @@ +# PowerShell Script: switch-branch.ps1 +```powershell +switch-branch.ps1 [] [] +``` + +Switches to another branch in a Git repository (including submodules) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/switch-branch.ps1 [[-BranchName] ] [[-RepoDir] ] [] +``` + +``` +-BranchName + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-RepoDir + + Required? false + Position? 2 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./switch-branch main C:\MyRepo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of switch-branch.ps1* diff --git a/Docs/switch-shelly1.md b/Docs/switch-shelly1.md new file mode 100644 index 00000000..96c1cc4f --- /dev/null +++ b/Docs/switch-shelly1.md @@ -0,0 +1,62 @@ +# PowerShell Script: switch-shelly1.ps1 +```powershell +switch-shelly1.ps1 [] [] [] +``` + +Switches a Shelly1 device in the local network +(Host is either a hostname or IP address, TurnMode is either 'on', 'off', or 'toggle') + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/switch-shelly1.ps1 [[-Host] ] [[-TurnMode] ] [[-Timer] ] [] +``` + +``` +-Host + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-TurnMode + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Timer + + Required? false + Position? 3 + Default value -999 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./switch-shelly1 192.168.100.100 toggle 10 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of switch-shelly1.ps1* diff --git a/Docs/sync-repo.md b/Docs/sync-repo.md new file mode 100644 index 00000000..6c170001 --- /dev/null +++ b/Docs/sync-repo.md @@ -0,0 +1,41 @@ +# PowerShell Script: sync-repo.ps1 +```powershell +sync-repo.ps1 [] +``` + +Synchronizes a Git repository by push & pull (including submodules) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/sync-repo.ps1 [[-RepoDir] ] [] +``` + +``` +-RepoDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./sync-repo C:\MyRepo +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of sync-repo.ps1* diff --git a/Docs/take-screenshot.md b/Docs/take-screenshot.md new file mode 100644 index 00000000..17fe61a6 --- /dev/null +++ b/Docs/take-screenshot.md @@ -0,0 +1,41 @@ +# PowerShell Script: take-screenshot.ps1 +```powershell +take-screenshot.ps1 [] +``` + +Takes a single screenshot and saves it into the current/given directory + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/take-screenshot.ps1 [[-Directory] ] [] +``` + +``` +-Directory + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./take-screenshot C:\Temp +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of take-screenshot.ps1* diff --git a/Docs/take-screenshots.md b/Docs/take-screenshots.md new file mode 100644 index 00000000..454b5255 --- /dev/null +++ b/Docs/take-screenshots.md @@ -0,0 +1,51 @@ +# PowerShell Script: take-screenshots.ps1 +```powershell +take-screenshots.ps1 [] [] +``` + +Takes screenshots and saves them into a target directory (per default every 60 seconds) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/take-screenshots.ps1 [[-TargetDir] ] [[-Interval] ] [] +``` + +``` +-TargetDir + + Required? false + Position? 1 + Default value "$PWD" + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Interval + + Required? false + Position? 2 + Default value 60 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./take-screenshots C:\Temp 60 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of take-screenshots.ps1* diff --git a/Docs/translate-file.md b/Docs/translate-file.md new file mode 100644 index 00000000..a2396370 --- /dev/null +++ b/Docs/translate-file.md @@ -0,0 +1,61 @@ +# PowerShell Script: translate-file.ps1 +```powershell +translate-file.ps1 [] [] [] +``` + +Translates the given text file into another language and prints the result + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/translate-file.ps1 [[-File] ] [[-SourceLang] ] [[-TargetLang] ] [] +``` + +``` +-File + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-SourceLang + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-TargetLang + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./translate-file C:\Memo.txt en de +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of translate-file.ps1* diff --git a/Docs/translate-files.md b/Docs/translate-files.md new file mode 100644 index 00000000..8268ab73 --- /dev/null +++ b/Docs/translate-files.md @@ -0,0 +1,12 @@ +# PowerShell Script: translate-files.ps1 +```powershell + +``` + +``` +[] + 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 translate-files.ps1* diff --git a/Docs/translate-text.md b/Docs/translate-text.md new file mode 100644 index 00000000..1a5eb7c6 --- /dev/null +++ b/Docs/translate-text.md @@ -0,0 +1,61 @@ +# PowerShell Script: translate-text.ps1 +```powershell +translate-text.ps1 [] [] [] +``` + +Translates the given text into other languages + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/translate-text.ps1 [[-Text] ] [[-SourceLang] ] [[-TargetLang] ] [] +``` + +``` +-Text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-SourceLang + + Required? false + Position? 2 + Default value en + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-TargetLang + + Required? false + Position? 3 + Default value any + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./translate-text "Hello World" de en +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of translate-text.ps1* diff --git a/Docs/turn-volume-down.md b/Docs/turn-volume-down.md new file mode 100644 index 00000000..129cc549 --- /dev/null +++ b/Docs/turn-volume-down.md @@ -0,0 +1,41 @@ +# PowerShell Script: turn-volume-down.ps1 +```powershell +turn-volume-down.ps1 [] +``` + +Turns the audio volume down (-10% by default) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/turn-volume-down.ps1 [[-percent] ] [] +``` + +``` +-percent + + Required? false + Position? 1 + Default value 10 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./turn-volume-down +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of turn-volume-down.ps1* diff --git a/Docs/turn-volume-up.md b/Docs/turn-volume-up.md new file mode 100644 index 00000000..152b0034 --- /dev/null +++ b/Docs/turn-volume-up.md @@ -0,0 +1,41 @@ +# PowerShell Script: turn-volume-up.ps1 +```powershell +turn-volume-up.ps1 [] +``` + +Turns the audio volume up (+10% by default) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/turn-volume-up.ps1 [[-percent] ] [] +``` + +``` +-percent + + Required? false + Position? 1 + Default value 10 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./turn-volume-up +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of turn-volume-up.ps1* diff --git a/Docs/unmute-audio.md b/Docs/unmute-audio.md new file mode 100644 index 00000000..0170805e --- /dev/null +++ b/Docs/unmute-audio.md @@ -0,0 +1,31 @@ +# PowerShell Script: unmute-audio.ps1 +```powershell +unmute-audio.ps1 +``` + +Unmutes the audio output. + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/unmute-audio.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>.\unmute-audio.ps1 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of unmute-audio.ps1* diff --git a/Docs/upgrade-ubuntu.md b/Docs/upgrade-ubuntu.md new file mode 100644 index 00000000..40accdad --- /dev/null +++ b/Docs/upgrade-ubuntu.md @@ -0,0 +1,31 @@ +# PowerShell Script: upgrade-ubuntu.ps1 +```powershell +upgrade-ubuntu.ps1 +``` + +Upgrades Ubuntu Linux to the latest (LTS) release. + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/upgrade-ubuntu.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>.\upgrade-ubuntu.ps1 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of upgrade-ubuntu.ps1* diff --git a/Docs/upload-file.md b/Docs/upload-file.md new file mode 100644 index 00000000..bbadb81d --- /dev/null +++ b/Docs/upload-file.md @@ -0,0 +1,71 @@ +# PowerShell Script: upload-file.ps1 +```powershell +upload-file.ps1 [] [] [] [] +``` + +Uploads the local file to the given FTP server. + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/upload-file.ps1 [[-File] ] [[-URL] ] [[-Username] ] [[-Password] ] [] +``` + +``` +-File + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-URL + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Username + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Password + + Required? false + Position? 4 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>.\upload-file.ps1 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of upload-file.ps1* diff --git a/Docs/voice-control.md b/Docs/voice-control.md new file mode 100644 index 00000000..f1ea2cd8 --- /dev/null +++ b/Docs/voice-control.md @@ -0,0 +1,31 @@ +# PowerShell Script: voice-control.ps1 +```powershell +voice-control.ps1 +``` + +Executes all the PowerShell scripts by voice. + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/voice-control.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>.\voice-control.ps1 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of voice-control.ps1* diff --git a/Docs/wakeup.md b/Docs/wakeup.md new file mode 100644 index 00000000..dad4ef13 --- /dev/null +++ b/Docs/wakeup.md @@ -0,0 +1,61 @@ +# PowerShell Script: wakeup.ps1 +```powershell +wakeup.ps1 [] [] +``` + +Sends a magic packet to a computer to wake him up (requires Wake-On-LAN) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/wakeup.ps1 [[-MACaddress] ] [[-IPaddress] ] [[-Port] ] [] +``` + +``` +-MACaddress + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-IPaddress + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Port + + Required? false + Position? 3 + Default value 9 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./wakeup 11:22:33:44:55:66 192.168.100.100 +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of wakeup.ps1* diff --git a/Docs/weather-report.md b/Docs/weather-report.md new file mode 100644 index 00000000..2294eed3 --- /dev/null +++ b/Docs/weather-report.md @@ -0,0 +1,41 @@ +# PowerShell Script: weather-report.ps1 +```powershell +weather-report.ps1 [] +``` + +Prints the local weather report + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/weather-report.ps1 [[-GeoLocation] ] [] +``` + +``` +-GeoLocation + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./weather-report Paris +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of weather-report.ps1* diff --git a/Docs/weather.md b/Docs/weather.md new file mode 100644 index 00000000..43c372a5 --- /dev/null +++ b/Docs/weather.md @@ -0,0 +1,41 @@ +# PowerShell Script: weather.ps1 +```powershell +weather.ps1 [] +``` + +Prints the current weather forecast + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/weather.ps1 [[-GeoLocation] ] [] +``` + +``` +-GeoLocation + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./weather Paris +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of weather.ps1* diff --git a/Docs/what-is.md b/Docs/what-is.md new file mode 100644 index 00000000..098d0d9c --- /dev/null +++ b/Docs/what-is.md @@ -0,0 +1,41 @@ +# PowerShell Script: what-is.ps1 +```powershell +what-is.ps1 [] +``` + +Prints a description of the given abbreviation. + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/what-is.ps1 [[-abbreviation] ] [] +``` + +``` +-abbreviation + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./what-is CIA +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of what-is.ps1* diff --git a/Docs/write-animated.md b/Docs/write-animated.md new file mode 100644 index 00000000..eb83f42a --- /dev/null +++ b/Docs/write-animated.md @@ -0,0 +1,131 @@ +# PowerShell Script: write-animated.ps1 +```powershell +write-animated.ps1 [] .. [line9>] [] +``` + +Writes animated text + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-animated.ps1 [[-Line1] ] [[-Line2] ] [[-Line3] ] [[-Line4] ] [[-Line5] ] [[-Line6] ] [[-Line7] ] [[-Line8] ] [[-Line9] ] [[-Speed] ] [] +``` + +``` +-Line1 + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Line2 + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Line3 + + Required? false + Position? 3 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Line4 + + Required? false + Position? 4 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Line5 + + Required? false + Position? 5 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Line6 + + Required? false + Position? 6 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Line7 + + Required? false + Position? 7 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Line8 + + Required? false + Position? 8 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Line9 + + Required? false + Position? 9 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Speed + + Required? false + Position? 10 + Default value 30 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-animated "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-animated.ps1* diff --git a/Docs/write-big.md b/Docs/write-big.md new file mode 100644 index 00000000..c248da90 --- /dev/null +++ b/Docs/write-big.md @@ -0,0 +1,41 @@ +# PowerShell Script: write-big.ps1 +```powershell +write-big.ps1 [] +``` + +Writes the given text in big letters + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-big.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-big "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-big.ps1* diff --git a/Docs/write-blue.md b/Docs/write-blue.md new file mode 100644 index 00000000..caa10d5d --- /dev/null +++ b/Docs/write-blue.md @@ -0,0 +1,41 @@ +# PowerShell Script: write-blue.ps1 +```powershell +write-blue.ps1 [] +``` + +Writes the given text in a blue foreground color + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-blue.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-blue "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-blue.ps1* diff --git a/Docs/write-braille.md b/Docs/write-braille.md new file mode 100644 index 00000000..a65fc7f2 --- /dev/null +++ b/Docs/write-braille.md @@ -0,0 +1,41 @@ +# PowerShell Script: write-braille.ps1 +```powershell +write-braille.ps1 [] +``` + +Writes the given text in Braille + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-braille.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-braille "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-braille.ps1* diff --git a/Docs/write-calendar.md b/Docs/write-calendar.md new file mode 100644 index 00000000..f89b27c6 --- /dev/null +++ b/Docs/write-calendar.md @@ -0,0 +1,75 @@ +# PowerShell Script: write-calendar.ps1 +```powershell +write-calendar.ps1 [] [] +``` + +Writes out calendar elements, either a single month or an entire year. + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-calendar.ps1 [[-Month] ] [[-Year] ] [] +``` + +``` +-Month + If specified, will limit output to a single month with this numeral value. + + Required? false + Position? 1 + Default value (Get-Date).Month + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-Year + If specified, will output an entire year. + + Required? false + Position? 2 + Default value (Get-Date).Year + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-calendar +Outputs the current month. +``` + + +## Example +```powershell +PS>./write-calendar 2013 +Outputs the calendar for 2013. +``` + + +## Example +```powershell +PS>./write-calendar 04 2011 +Outputs the calendar for April, 2011. +``` + + +## Example +```powershell +PS>./write-calendar 7 +Outputs the calendar for July of this year. +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-calendar.ps1* diff --git a/Docs/write-chart.md b/Docs/write-chart.md new file mode 100644 index 00000000..ae93d529 --- /dev/null +++ b/Docs/write-chart.md @@ -0,0 +1,13 @@ +# PowerShell Script: write-chart.ps1 +```powershell +write-chart.ps1 + +``` + +``` +[] + 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 write-chart.ps1* diff --git a/Docs/write-green.md b/Docs/write-green.md new file mode 100644 index 00000000..7676b5e0 --- /dev/null +++ b/Docs/write-green.md @@ -0,0 +1,41 @@ +# PowerShell Script: write-green.ps1 +```powershell +write-green.ps1 [] +``` + +Writes the given text in a green foreground color + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-green.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-green "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-green.ps1* diff --git a/Docs/write-joke.md b/Docs/write-joke.md new file mode 100644 index 00000000..715ddf06 --- /dev/null +++ b/Docs/write-joke.md @@ -0,0 +1,31 @@ +# PowerShell Script: write-joke.ps1 +```powershell +write-joke.ps1 +``` + +Writes a random Juck Norris joke to the console + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-joke.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-joke +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-joke.ps1* diff --git a/Docs/write-lowercase.md b/Docs/write-lowercase.md new file mode 100644 index 00000000..651b9661 --- /dev/null +++ b/Docs/write-lowercase.md @@ -0,0 +1,41 @@ +# PowerShell Script: write-lowercase.ps1 +```powershell +write-lowercase.ps1 [] +``` + +Writes the given text in lowercase letters + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-lowercase.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-lowercase "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-lowercase.ps1* diff --git a/Docs/write-marquee.md b/Docs/write-marquee.md new file mode 100644 index 00000000..2097b6b8 --- /dev/null +++ b/Docs/write-marquee.md @@ -0,0 +1,51 @@ +# PowerShell Script: write-marquee.ps1 +```powershell +write-marquee.ps1 [] [] +``` + +Writes the given text as marquee + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-marquee.ps1 [[-text] ] [[-speed] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value PowerShell is powerful! PowerShell is cross-platform! PowerShell is open-source! PowerShell is easy to learn! Powershell is fully documented + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-speed + + Required? false + Position? 2 + Default value 60 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-marquee "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-marquee.ps1* diff --git a/Docs/write-morse-code.md b/Docs/write-morse-code.md new file mode 100644 index 00000000..bc63ae38 --- /dev/null +++ b/Docs/write-morse-code.md @@ -0,0 +1,51 @@ +# PowerShell Script: write-morse-code.ps1 +```powershell +write-morse-code.ps1 [] [] +``` + +Writes the given text in Morse code + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-morse-code.ps1 [[-text] ] [[-speed] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-speed + + Required? false + Position? 2 + Default value 100 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-morse-code "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-morse-code.ps1* diff --git a/Docs/write-motd.md b/Docs/write-motd.md new file mode 100644 index 00000000..20fa4ed1 --- /dev/null +++ b/Docs/write-motd.md @@ -0,0 +1,31 @@ +# PowerShell Script: write-motd.ps1 +```powershell +write-motd.ps1 +``` + +Writes the message of the day (MOTD) + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-motd.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-motd +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-motd.ps1* diff --git a/Docs/write-quote.md b/Docs/write-quote.md new file mode 100644 index 00000000..b4234d31 --- /dev/null +++ b/Docs/write-quote.md @@ -0,0 +1,31 @@ +# PowerShell Script: write-quote.ps1 +```powershell +write-quote.ps1 +``` + +Writes a random quote to the console + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-quote.ps1 [] +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-quote +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-quote.ps1* diff --git a/Docs/write-red.md b/Docs/write-red.md new file mode 100644 index 00000000..a292a159 --- /dev/null +++ b/Docs/write-red.md @@ -0,0 +1,41 @@ +# PowerShell Script: write-red.ps1 +```powershell +write-red.ps1 [] +``` + +Writes the given text in a red foreground color + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-red.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-red "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-red.ps1* diff --git a/Docs/write-rot13.md b/Docs/write-rot13.md new file mode 100644 index 00000000..df3bf5e0 --- /dev/null +++ b/Docs/write-rot13.md @@ -0,0 +1,41 @@ +# PowerShell Script: write-rot13.ps1 +```powershell +write-rot13.ps1 [] +``` + +Writes the given text encoded or decoded with ROT13 + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-rot13.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-rot13 "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-rot13.ps1* diff --git a/Docs/write-typewriter.md b/Docs/write-typewriter.md new file mode 100644 index 00000000..f7610d03 --- /dev/null +++ b/Docs/write-typewriter.md @@ -0,0 +1,60 @@ +# PowerShell Script: write-typewriter.ps1 +```powershell +write-typewriter.ps1 [] [] +``` + +Writes the given text with the typewriter effect + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-typewriter.ps1 [[-text] ] [[-speed] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value Hello World + ----------- + PowerShell is cross-platform + PowerShell is open-source + PowerShell is easy to learn + PowerShell is fully documented + + Thanks for watching + + :-) + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +-speed + + Required? false + Position? 2 + Default value 250 + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-typewriter "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-typewriter.ps1* diff --git a/Docs/write-uppercase.md b/Docs/write-uppercase.md new file mode 100644 index 00000000..41609ccb --- /dev/null +++ b/Docs/write-uppercase.md @@ -0,0 +1,41 @@ +# PowerShell Script: write-uppercase.ps1 +```powershell +write-uppercase.ps1 [] +``` + +Writes the given text in uppercase letters + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-uppercase.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-uppercase "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-uppercase.ps1* diff --git a/Docs/write-vertical.md b/Docs/write-vertical.md new file mode 100644 index 00000000..10b99010 --- /dev/null +++ b/Docs/write-vertical.md @@ -0,0 +1,41 @@ +# PowerShell Script: write-vertical.ps1 +```powershell +write-vertical.ps1 [] +``` + +Writes the given text in vertical direction + +## Syntax & Parameters +```powershell +/home/markus/Repos/PowerShell/Scripts/write-vertical.ps1 [[-text] ] [] +``` + +``` +-text + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Accept wildcard characters? false +``` + +``` +[] + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +## Example +```powershell +PS>./write-vertical "Hello World" +``` + + +## Notes +Author: Markus Fleschutz · License: CC0 + +## Related Links +https://github.com/fleschutz/PowerShell + +*Generated by convert-ps2md.ps1 using the comment-based help of write-vertical.ps1* diff --git a/Scripts/convert-ps2md.ps1 b/Scripts/convert-ps2md.ps1 index efe292c1..e6fbb402 100644 --- a/Scripts/convert-ps2md.ps1 +++ b/Scripts/convert-ps2md.ps1 @@ -56,10 +56,8 @@ try { $full = Get-Help $filename -Full - "# The $ScriptName PowerShell Script" + "# PowerShell Script: $ScriptName" - "" - "## Synopsis & Description" "``````powershell" "$($full.Synopsis)" "``````"