Update the documentation

This commit is contained in:
Markus Fleschutz 2021-09-28 11:56:17 +02:00
parent 75e2952be0
commit 4d0258cba7
260 changed files with 10011 additions and 3 deletions

View File

@ -0,0 +1,41 @@
# PowerShell Script: add-firewall-rules.ps1
```powershell
add-firewall-rules.ps1 [<path-to-executables>]
```
Adds firewall rules for the given executables (needs administrator rights)
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/add-firewall-rules.ps1 [[-PathToExecutables] <String>] [<CommonParameters>]
```
```
-PathToExecutables <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/add-memo.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: add-memo.ps1
```powershell
add-memo.ps1 [<text>]
```
Adds the given memo text to $HOME/Memos.csv
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/add-memo.ps1 [[-text] <String>] [<CommonParameters>]
```
```
-text <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/alert.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: alert.ps1
```powershell
alert.ps1 [<message>]
```
Handle and escalate the given alert message
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/alert.ps1 [[-Message] <String>] [<CommonParameters>]
```
```
-Message <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

31
Docs/cd-desktop.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-docs.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-downloads.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-dropbox.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-home.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-music.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-onedrive.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-pics.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

13
Docs/cd-recycle-bin.md Normal file
View File

@ -0,0 +1,13 @@
# PowerShell Script: cd-recycle-bin.ps1
```powershell
cd-recycle-bin.ps1
```
```
[<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
*Generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1*

31
Docs/cd-repos.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-root.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-scripts.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-ssh.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-up.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-up2.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-up3.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-up4.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/cd-videos.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/check-cpu-temp.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

51
Docs/check-drive-space.md Normal file
View File

@ -0,0 +1,51 @@
# PowerShell Script: check-drive-space.ps1
```powershell
check-drive-space.ps1 [<drive>] [<min-level>]
```
Checks a drive for free space left (20 GB by default)
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonParameters>]
```
```
-Drive <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-MinLevel <Int32>
Required? false
Position? 2
Default value 20
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/check-file-system.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: check-file-system.ps1
```powershell
check-file-system.ps1 [<drive>]
```
Checks the file system of a drive (needs admin rights)
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
```
```
-Drive <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

32
Docs/check-health.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

View File

@ -0,0 +1,41 @@
# PowerShell Script: check-ipv4-address.ps1
```powershell
check-ipv4-address.ps1 [<address>]
```
Checks the given IPv4 address for validity
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
```
```
-Address <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

View File

@ -0,0 +1,41 @@
# PowerShell Script: check-ipv6-address.ps1
```powershell
check-ipv6-address.ps1 [<address>]
```
Checks the given IPv6 address for validity
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
```
```
-Address <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/check-mac-address.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: check-mac-address.ps1
```powershell
check-mac-address.ps1 [<MAC>]
```
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] <String>] [<CommonParameters>]
```
```
-MAC <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

42
Docs/check-ping.md Normal file
View File

@ -0,0 +1,42 @@
# PowerShell Script: check-ping.ps1
```powershell
check-ping.ps1 [<hosts>]
```
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] <String>] [<CommonParameters>]
```
```
-hosts <String>
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
```
```
[<CommonParameters>]
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*

41
Docs/check-subnet-mask.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: check-subnet-mask.ps1
```powershell
check-subnet-mask.ps1 [<address>]
```
Checks the given subnet mask for validity
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/check-subnet-mask.ps1 [[-address] <String>] [<CommonParameters>]
```
```
-address <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/check-swap-space.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: check-swap-space.ps1
```powershell
check-swap-space.ps1 [<min-level>]
```
Checks the free swap space
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/check-swap-space.ps1 [[-MinLevel] <Int32>] [<CommonParameters>]
```
```
-MinLevel <Int32>
Required? false
Position? 1
Default value 50
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/check-symlinks.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: check-symlinks.ps1
```powershell
check-symlinks.ps1 [<DirTree>]
```
Checks every symlink in a directory tree
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/check-symlinks.ps1 [[-DirTree] <String>] [<CommonParameters>]
```
```
-DirTree <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/check-weather.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: check-weather.ps1
```powershell
check-weather.ps1 [<location>]
```
Checks the weather for critical values
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/check-weather.ps1 [[-location] <String>] [<CommonParameters>]
```
```
-location <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

41
Docs/check-xml-file.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: check-xml-file.ps1
```powershell
check-xml-file [<file>]
```
Checks the given XML file for validity
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/check-xml-file.ps1 [[-file] <String>] [<CommonParameters>]
```
```
-file <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

72
Docs/cherry-picker.md Normal file
View File

@ -0,0 +1,72 @@
# PowerShell Script: cherry-picker.ps1
```powershell
cherry-picker.ps1 [<CommitID>] [<CommitMessage>] [<Branches>] [<RepoDir>]
```
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] <String>] [[-CommitMessage] <String>] [[-Branches] <String>] [[-RepoDir] <String>] [<CommonParameters>]
```
```
-CommitID <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-CommitMessage <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-Branches <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-RepoDir <String>
Required? false
Position? 4
Default value "$PWD"
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/clean-repo.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: clean-repo.ps1
```powershell
clean-repo.ps1 [<RepoDir>]
```
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] <String>] [<CommonParameters>]
```
```
-RepoDir <String>
Required? false
Position? 1
Default value "$PWD"
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/clean-repos.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: clean-repos.ps1
```powershell
clean-repos.ps1 [<ParentDir>]
```
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] <String>] [<CommonParameters>]
```
```
-ParentDir <String>
Required? false
Position? 1
Default value "$PWD"
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

32
Docs/clear-recycle-bin.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

41
Docs/clone-repos.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: clone-repos.ps1
```powershell
clone-repos.ps1 [<ParentDir>]
```
Clones well-known Git repositories under the current/given directory
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/clone-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
```
```
-ParentDir <String>
Required? false
Position? 1
Default value "$PWD"
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

31
Docs/close-calculator.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/close-chrome.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/close-cortana.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/close-edge.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/close-firefox.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/close-netflix.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/close-onedrive.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

61
Docs/close-program.md Normal file
View File

@ -0,0 +1,61 @@
# PowerShell Script: close-program.ps1
```powershell
close-program.ps1 [<FullProgramName>] [<ProgramName>] [<ProgramAliasName>]
```
Closes the processes of the given program gracefully
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/close-program.ps1 [[-FullProgramName] <String>] [[-ProgramName] <String>] [[-ProgramAliasName] <String>] [<CommonParameters>]
```
```
-FullProgramName <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-ProgramName <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-ProgramAliasName <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/close-thunderbird.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/close-vlc.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

61
Docs/configure-git.md Normal file
View File

@ -0,0 +1,61 @@
# PowerShell Script: configure-git.ps1
```powershell
configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>]
```
Sets up the Git user configuration
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/configure-git.ps1 [[-FullName] <String>] [[-EmailAddress] <String>] [[-FavoriteEditor] <String>] [<CommonParameters>]
```
```
-FullName <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-EmailAddress <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-FavoriteEditor <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/convert-csv2txt.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: convert-csv2txt.ps1
```powershell
convert-csv2txt.ps1 [<csv-file>]
```
Converts a .CSV file into a text file
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/convert-csv2txt.ps1 [[-Path] <String>] [<CommonParameters>]
```
```
-Path <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

81
Docs/convert-mysql2csv.md Normal file
View File

@ -0,0 +1,81 @@
# PowerShell Script: convert-mysql2csv.ps1
```powershell
convert-mysql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
```
Convert a MySQL database table to a .CSV file
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/convert-mysql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <String>] [[-password] <String>] [[-query] <String>] [<CommonParameters>]
```
```
-server <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-database <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-username <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-password <String>
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-query <String>
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/convert-ps2bat.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: convert-ps2bat.ps1
```powershell
convert-ps2bat.ps1 [<pattern>]
```
Converts a PowerShell script to .bat files
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/convert-ps2bat.ps1 [[-Pattern] <String>] [<CommonParameters>]
```
```
-Pattern <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/convert-ps2md.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: convert-ps2md.ps1
```powershell
convert-ps2md.ps1 [<filename>]
```
Converts the comment-based help of a PowerShell script to Markdown
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/convert-ps2md.ps1 [[-filename] <String>] [<CommonParameters>]
```
```
-filename <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

81
Docs/convert-sql2csv.md Normal file
View File

@ -0,0 +1,81 @@
# PowerShell Script: convert-sql2csv.ps1
```powershell
convert-sql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
```
Converts a SQL database table to a .CSV file
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/convert-sql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <String>] [[-password] <String>] [[-query] <String>] [<CommonParameters>]
```
```
-server <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-database <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-username <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-password <String>
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-query <String>
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

51
Docs/convert-txt2wav.md Normal file
View File

@ -0,0 +1,51 @@
# PowerShell Script: convert-txt2wav.ps1
```powershell
convert-txt2wav.ps1 [<text>] [<wav-file>]
```
Converts text to a .WAV audio file
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/convert-txt2wav.ps1 [[-Text] <String>] [[-WavFile] <String>] [<CommonParameters>]
```
```
-Text <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-WavFile <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

View File

@ -0,0 +1,51 @@
# PowerShell Script: copy-photos-sorted.ps1
```powershell
copy-photos-sorted.ps1 [<SourceDir>] [<TargetDir>]
```
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] <String>] [[-TargetDir] <String>] [<CommonParameters>]
```
```
-SourceDir <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-TargetDir <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

51
Docs/decrypt-file.md Normal file
View File

@ -0,0 +1,51 @@
# PowerShell Script: decrypt-file.ps1
```powershell
decrypt-file.ps1 [<path>] [<password>]
```
Decrypts the given file
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/decrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
```
```
-Path <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-Password <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/display-time.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: display-time.ps1
```powershell
display-time.ps1 [<seconds>]
```
Displays the current time (for 10 seconds by default)
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/display-time.ps1 [[-Seconds] <Int32>] [<CommonParameters>]
```
```
-Seconds <Int32>
Required? false
Position? 1
Default value 10
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/download-dir.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: download-dir.ps1
```powershell
download-dir.ps1 [<URL>]
```
Downloads a directory tree from the given URL
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/download-dir.ps1 [[-URL] <String>] [<CommonParameters>]
```
```
-URL <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/download-file.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: download-file.ps1
```powershell
download-file.ps1 [<URL>]
```
Downloads a file from the given URL
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/download-file.ps1 [[-URL] <String>] [<CommonParameters>]
```
```
-URL <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/edit.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: edit.ps1
```powershell
edit.ps1 <filename>
```
Opens the built-in text editor to edit the given file
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/edit.ps1 [[-Filename] <String>] [<CommonParameters>]
```
```
-Filename <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/enable-god-mode.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

51
Docs/encrypt-file.md Normal file
View File

@ -0,0 +1,51 @@
# PowerShell Script: encrypt-file.ps1
```powershell
encrypt-file.ps1 [<path>] [<password>]
```
Encrypts the given file
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/encrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
```
```
-Path <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-Password <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

31
Docs/enter-chat.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

41
Docs/fetch-repo.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: fetch-repo.ps1
```powershell
fetch-repo.ps1 [<repo-dir>]
```
Fetches updates for a local Git repository (including submodules)
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/fetch-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
```
```
-RepoDir <String>
Required? false
Position? 1
Default value "$PWD"
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

41
Docs/fetch-repos.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: fetch-repos.ps1
```powershell
fetch-repos.ps1 [<ParentDir>]
```
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] <String>] [<CommonParameters>]
```
```
-ParentDir <String>
Required? false
Position? 1
Default value "$PWD"
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

12
Docs/get-md5.md Normal file
View File

@ -0,0 +1,12 @@
# PowerShell Script: get-md5.ps1
```powershell
```
```
[<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
*Generated by convert-ps2md.ps1 using the comment-based help of get-md5.ps1*

12
Docs/get-sha1.md Normal file
View File

@ -0,0 +1,12 @@
# PowerShell Script: get-sha1.ps1
```powershell
```
```
[<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
*Generated by convert-ps2md.ps1 using the comment-based help of get-sha1.ps1*

12
Docs/get-sha256.md Normal file
View File

@ -0,0 +1,12 @@
# PowerShell Script: get-sha256.ps1
```powershell
```
```
[<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
*Generated by convert-ps2md.ps1 using the comment-based help of get-sha256.ps1*

31
Docs/hibernate.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

41
Docs/inspect-exe.md Normal file
View File

@ -0,0 +1,41 @@
# PowerShell Script: inspect-exe.ps1
```powershell
inspect-exe.ps1 [<path-to-exe-file>]
```
Prints basic information of the given executable file
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/inspect-exe.ps1 [[-PathToExe] <String>] [<CommonParameters>]
```
```
-PathToExe <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

View File

@ -0,0 +1,41 @@
# PowerShell Script: install-signal-cli.ps1
```powershell
install-signal-cli.ps1 [<version>]
```
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] <String>] [<CommonParameters>]
```
```
-Version <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/install-updates.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

178
Docs/install-vscode.md Normal file
View File

@ -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] <String>] [[-BuildEdition] <String>] [[-AdditionalExtensions] <String[]>] [-LaunchWhenDone] [-EnableContextMenus] [-WhatIf] [-Confirm] [<CommonParameters>]
```
```
-Architecture <String>
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 <String>
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 <String[]>
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 "<publisher name>.<extension name>" 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 [<SwitchParameter>]
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 [<SwitchParameter>]
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 [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

31
Docs/install-wsl.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/list-aliases.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

51
Docs/list-anagrams.md Normal file
View File

@ -0,0 +1,51 @@
# PowerShell Script: list-anagrams.ps1
```powershell
list-anagrams.ps1 [<word>] [<columns>]
```
Lists all anagrams of the given word
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/list-anagrams.ps1 [[-Word] <String>] [[-Columns] <Int32>] [<CommonParameters>]
```
```
-Word <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
-Columns <Int32>
Required? false
Position? 2
Default value 8
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

View File

@ -0,0 +1,13 @@
# PowerShell Script: list-automatic-variables.ps1
```powershell
list-automatic-variables.ps1
```
```
[<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
*Generated by convert-ps2md.ps1 using the comment-based help of list-automatic-variables.ps1*

51
Docs/list-branches.md Normal file
View File

@ -0,0 +1,51 @@
# PowerShell Script: list-branches.ps1
```powershell
list-branches.ps1 [<repo-dir>] [<pattern>]
```
Lists all branches in the current/given Git repository
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/list-branches.ps1 [[-RepoDir] <String>] [[-Pattern] <String>] [<CommonParameters>]
```
```
-RepoDir <String>
Required? false
Position? 1
Default value "$PWD"
Accept pipeline input? false
Accept wildcard characters? false
```
```
-Pattern <String>
Required? false
Position? 2
Default value *
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

31
Docs/list-cheat-sheet.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/list-city-weather.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

13
Docs/list-cli-tools.md Normal file
View File

@ -0,0 +1,13 @@
# PowerShell Script: list-cli-tools.ps1
```powershell
list-cli-tools.ps1
```
```
[<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
*Generated by convert-ps2md.ps1 using the comment-based help of list-cli-tools.ps1*

31
Docs/list-clipboard.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

31
Docs/list-cmdlets.md Normal file
View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

51
Docs/list-commits.md Normal file
View File

@ -0,0 +1,51 @@
# PowerShell Script: list-commits.ps1
```powershell
list-commits.ps1 [<RepoDir>] [<Format>]
```
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] <String>] [[-Format] <String>] [<CommonParameters>]
```
```
-RepoDir <String>
Required? false
Position? 1
Default value "$PWD"
Accept pipeline input? false
Accept wildcard characters? false
```
```
-Format <String>
Required? false
Position? 2
Default value list
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
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*

View File

@ -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 [<CommonParameters>]
```
```
[<CommonParameters>]
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*

13
Docs/list-countries.md Normal file
View File

@ -0,0 +1,13 @@
# PowerShell Script: list-countries.ps1
```powershell
list-countries.ps1
```
```
[<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
*Generated by convert-ps2md.ps1 using the comment-based help of list-countries.ps1*

Some files were not shown because too many files have changed in this diff Show More