mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-24 01:11:17 +02:00
Update the manuals
This commit is contained in:
parent
2acdb5fbbf
commit
4b4a952c09
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: add-firewall-rules.ps1
|
# add-firewall-rules.ps1 - Adds firewall rules for the given executables (needs admin rights)
|
||||||
```powershell
|
|
||||||
Adds firewall rules for the given executables (needs admin rights)
|
|
||||||
```
|
|
||||||
|
|
||||||
add-firewall-rules.ps1 [<PathToExecutables>]
|
add-firewall-rules.ps1 [<PathToExecutables>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: add-memo.ps1
|
# add-memo.ps1 - Adds a memo to Memos.csv in the home folder
|
||||||
```powershell
|
|
||||||
Adds a memo to Memos.csv in the home folder
|
|
||||||
```
|
|
||||||
|
|
||||||
add-memo.ps1 [<text>]
|
add-memo.ps1 [<text>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: alert.ps1
|
# alert.ps1 - Handle and escalate the given alert message
|
||||||
```powershell
|
|
||||||
Handle and escalate the given alert message
|
|
||||||
```
|
|
||||||
|
|
||||||
alert.ps1 [<message>]
|
alert.ps1 [<message>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: build-repo.ps1
|
# build-repo.ps1 - Builds a Git repository
|
||||||
```powershell
|
|
||||||
Builds a Git repository
|
|
||||||
```
|
|
||||||
|
|
||||||
Supports building with cmake, configure, autogen, Imakefile and Makefile.
|
Supports building with cmake, configure, autogen, Imakefile and Makefile.
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: build-repos.ps1
|
# build-repos.ps1 - Builds all Git repositories in a folder
|
||||||
```powershell
|
|
||||||
Builds all Git repositories in a folder
|
|
||||||
```
|
|
||||||
|
|
||||||
build-repos.ps1 [<ParentDir>]
|
build-repos.ps1 [<ParentDir>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-desktop.ps1
|
# cd-desktop.ps1 - Change the working directory to the user's desktop folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's desktop folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-desktop.ps1
|
cd-desktop.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-docs.ps1
|
# cd-docs.ps1 - Change the working directory to the user's documents folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's documents folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-docs.ps1
|
cd-docs.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-downloads.ps1
|
# cd-downloads.ps1 - Change the working directory to the user's downloads folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's downloads folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-downloads.ps1
|
cd-downloads.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-dropbox.ps1
|
# cd-dropbox.ps1 - Change the working directory to the user's Dropbox folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's Dropbox folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-dropbox.ps1
|
cd-dropbox.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-home.ps1
|
# cd-home.ps1 - Change the working directory to the user's home directory
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's home directory
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-home.ps1
|
cd-home.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-music.ps1
|
# cd-music.ps1 - Change the working directory to the user's music folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's music folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-music.ps1
|
cd-music.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-onedrive.ps1
|
# cd-onedrive.ps1 - Change the working directory to the user's OneDrive folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's OneDrive folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-onedrive.ps1
|
cd-onedrive.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-pics.ps1
|
# cd-pics.ps1 - Change the working directory to the user's pictures folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's pictures folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-pics.ps1
|
cd-pics.ps1
|
||||||
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
# PowerShell Script: cd-recycle-bin.ps1
|
# cd-recycle-bin.ps1 - cd-recycle-bin.ps1
|
||||||
```powershell
|
|
||||||
cd-recycle-bin.ps1
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-repos.ps1
|
# cd-repos.ps1 - Change the working directory to the user's Git repositories folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's Git repositories folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-repos.ps1
|
cd-repos.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-root.ps1
|
# cd-root.ps1 - Change the working directory to the root directory (C:\ on Windows)
|
||||||
```powershell
|
|
||||||
Change the working directory to the root directory (C:\ on Windows)
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-root.ps1
|
cd-root.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-scripts.ps1
|
# cd-scripts.ps1 - Change the working directory to the PowerShell scripts folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the PowerShell scripts folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-scripts.ps1
|
cd-scripts.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-ssh.ps1
|
# cd-ssh.ps1 - Change the working directory to the user's SSH folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's SSH folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-ssh.ps1
|
cd-ssh.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-up.ps1
|
# cd-up.ps1 - Change the working directory to one level up
|
||||||
```powershell
|
|
||||||
Change the working directory to one level up
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-up.ps1
|
cd-up.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-up2.ps1
|
# cd-up2.ps1 - Change the working directory to two directory levels up
|
||||||
```powershell
|
|
||||||
Change the working directory to two directory levels up
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-up2.ps1
|
cd-up2.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-up3.ps1
|
# cd-up3.ps1 - Change the working directory to three directory levels up
|
||||||
```powershell
|
|
||||||
Change the working directory to three directory levels up
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-up3.ps1
|
cd-up3.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-up4.ps1
|
# cd-up4.ps1 - Change the working directory to four directory levels up
|
||||||
```powershell
|
|
||||||
Change the working directory to four directory levels up
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-up4.ps1
|
cd-up4.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: cd-videos.ps1
|
# cd-videos.ps1 - Change the working directory to the user's videos folder
|
||||||
```powershell
|
|
||||||
Change the working directory to the user's videos folder
|
|
||||||
```
|
|
||||||
|
|
||||||
cd-videos.ps1
|
cd-videos.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-cpu-temp.ps1
|
# check-cpu-temp.ps1 - Checks the CPU temperature
|
||||||
```powershell
|
|
||||||
Checks the CPU temperature
|
|
||||||
```
|
|
||||||
|
|
||||||
check-cpu-temp.ps1
|
check-cpu-temp.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-dns-resolution.ps1
|
# check-dns-resolution.ps1 - Checks the DNS resolution with frequently used domain names
|
||||||
```powershell
|
|
||||||
Checks the DNS resolution with frequently used domain names
|
|
||||||
```
|
|
||||||
|
|
||||||
check-dns-resolution.ps1
|
check-dns-resolution.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-drive-space.ps1
|
# check-drive-space.ps1 - Checks a drive for free space left (20 GB by default)
|
||||||
```powershell
|
|
||||||
Checks a drive for free space left (20 GB by default)
|
|
||||||
```
|
|
||||||
|
|
||||||
check-drive-space.ps1 [<drive>] [<min-level>]
|
check-drive-space.ps1 [<drive>] [<min-level>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-file-system.ps1
|
# check-file-system.ps1 - Checks the file system of a drive (needs admin rights)
|
||||||
```powershell
|
|
||||||
Checks the file system of a drive (needs admin rights)
|
|
||||||
```
|
|
||||||
|
|
||||||
check-file-system.ps1 [<drive>]
|
check-file-system.ps1 [<drive>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-health.ps1
|
# check-health.ps1 - Checks the health of the local computer
|
||||||
```powershell
|
|
||||||
Checks the health of the local computer
|
|
||||||
```
|
|
||||||
|
|
||||||
check-health.ps1
|
check-health.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-ipv4-address.ps1
|
# check-ipv4-address.ps1 - Checks the given IPv4 address for validity
|
||||||
```powershell
|
|
||||||
Checks the given IPv4 address for validity
|
|
||||||
```
|
|
||||||
|
|
||||||
check-ipv4-address.ps1 [<Address>]
|
check-ipv4-address.ps1 [<Address>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-ipv6-address.ps1
|
# check-ipv6-address.ps1 - Checks the given IPv6 address for validity
|
||||||
```powershell
|
|
||||||
Checks the given IPv6 address for validity
|
|
||||||
```
|
|
||||||
|
|
||||||
check-ipv6-address.ps1 [<Address>]
|
check-ipv6-address.ps1 [<Address>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-mac-address.ps1
|
# check-mac-address.ps1 - Checks the given MAC address for validity
|
||||||
```powershell
|
|
||||||
Checks the given MAC address for validity
|
|
||||||
```
|
|
||||||
|
|
||||||
Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000.
|
Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000.
|
||||||
check-mac-address.ps1 [<MAC>]
|
check-mac-address.ps1 [<MAC>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-ping.ps1
|
# check-ping.ps1 - Checks the ping latency from the local computer to selected Internet hosts
|
||||||
```powershell
|
|
||||||
Checks the ping latency from the local computer to selected Internet hosts
|
|
||||||
```
|
|
||||||
|
|
||||||
Hosts by default are: amazon.com,apple.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com
|
Hosts by default are: amazon.com,apple.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com
|
||||||
check-ping.ps1 [<hosts>]
|
check-ping.ps1 [<hosts>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-smart-devices.ps1
|
# check-smart-devices.ps1 - Performs a selftest on your S.M.A.R.T. HDD/SSD devices.
|
||||||
```powershell
|
|
||||||
Performs a selftest on your S.M.A.R.T. HDD/SSD devices.
|
|
||||||
```
|
|
||||||
|
|
||||||
check-smart-devices.ps1 [<type>]
|
check-smart-devices.ps1 [<type>]
|
||||||
Type is either short(default) or long.
|
Type is either short(default) or long.
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-subnet-mask.ps1
|
# check-subnet-mask.ps1 - Checks the given subnet mask for validity
|
||||||
```powershell
|
|
||||||
Checks the given subnet mask for validity
|
|
||||||
```
|
|
||||||
|
|
||||||
check-subnet-mask.ps1 [<address>]
|
check-subnet-mask.ps1 [<address>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-swap-space.ps1
|
# check-swap-space.ps1 - Checks the free swap space
|
||||||
```powershell
|
|
||||||
Checks the free swap space
|
|
||||||
```
|
|
||||||
|
|
||||||
check-swap-space.ps1 [<min-level>]
|
check-swap-space.ps1 [<min-level>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-symlinks.ps1
|
# check-symlinks.ps1 - Checks every symlink in a folder (including subfolders)
|
||||||
```powershell
|
|
||||||
Checks every symlink in a folder (including subfolders)
|
|
||||||
```
|
|
||||||
|
|
||||||
check-symlinks.ps1 [<folder>]
|
check-symlinks.ps1 [<folder>]
|
||||||
Returns the number of broken symlinks as exit value.
|
Returns the number of broken symlinks as exit value.
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-weather.ps1
|
# check-weather.ps1 - Checks the weather for critical values
|
||||||
```powershell
|
|
||||||
Checks the weather for critical values
|
|
||||||
```
|
|
||||||
|
|
||||||
check-weather.ps1 [<location>]
|
check-weather.ps1 [<location>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-windows-system-files.ps1
|
# check-windows-system-files.ps1 - Checks the validity of the Windows system files (requires admin rights)
|
||||||
```powershell
|
|
||||||
Checks the validity of the Windows system files (requires admin rights)
|
|
||||||
```
|
|
||||||
|
|
||||||
check-windows-system-files.ps1
|
check-windows-system-files.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: check-xml-file.ps1
|
# check-xml-file.ps1 - Checks the given XML file for validity
|
||||||
```powershell
|
|
||||||
Checks the given XML file for validity
|
|
||||||
```
|
|
||||||
|
|
||||||
check-xml-file [<file>]
|
check-xml-file [<file>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: clean-repo.ps1
|
# clean-repo.ps1 - Cleans a Git repository from untracked files (including submodules)
|
||||||
```powershell
|
|
||||||
Cleans a Git repository from untracked files (including submodules)
|
|
||||||
```
|
|
||||||
|
|
||||||
clean-repo.ps1 [<RepoDir>]
|
clean-repo.ps1 [<RepoDir>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: clean-repos.ps1
|
# clean-repos.ps1 - Cleans all Git repositories in a folder from untracked files (including submodules)
|
||||||
```powershell
|
|
||||||
Cleans all Git repositories in a folder from untracked files (including submodules)
|
|
||||||
```
|
|
||||||
|
|
||||||
clean-repos.ps1 [<ParentDir>]
|
clean-repos.ps1 [<ParentDir>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: clear-recycle-bin.ps1
|
# clear-recycle-bin.ps1 - Removes the content of the recycle bin folder permanently
|
||||||
```powershell
|
|
||||||
Removes the content of the recycle bin folder permanently
|
|
||||||
```
|
|
||||||
|
|
||||||
clear-recycle-bin.ps1
|
clear-recycle-bin.ps1
|
||||||
NOTE: can not be undo!
|
NOTE: can not be undo!
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: clone-repos.ps1
|
# clone-repos.ps1 - Clones well-known Git repositories into a folder
|
||||||
```powershell
|
|
||||||
Clones well-known Git repositories into a folder
|
|
||||||
```
|
|
||||||
|
|
||||||
clone-repos.ps1 [<folder>]
|
clone-repos.ps1 [<folder>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-calculator.ps1
|
# close-calculator.ps1 - Closes the calculator program gracefully
|
||||||
```powershell
|
|
||||||
Closes the calculator program gracefully
|
|
||||||
```
|
|
||||||
|
|
||||||
close-calculator.ps1
|
close-calculator.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-chrome.ps1
|
# close-chrome.ps1 - Closes the Google Chrome Web browser
|
||||||
```powershell
|
|
||||||
Closes the Google Chrome Web browser
|
|
||||||
```
|
|
||||||
|
|
||||||
close-chrome.ps1
|
close-chrome.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-cortana.ps1
|
# close-cortana.ps1 - Closes Microsoft's Cortana application
|
||||||
```powershell
|
|
||||||
Closes Microsoft's Cortana application
|
|
||||||
```
|
|
||||||
|
|
||||||
close-cortana.ps1
|
close-cortana.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-edge.ps1
|
# close-edge.ps1 - Closes Microsoft's Edge Web browser
|
||||||
```powershell
|
|
||||||
Closes Microsoft's Edge Web browser
|
|
||||||
```
|
|
||||||
|
|
||||||
close-edge.ps1
|
close-edge.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-file-explorer.ps1
|
# close-file-explorer.ps1 - Closes Microsoft's File Explorer
|
||||||
```powershell
|
|
||||||
Closes Microsoft's File Explorer
|
|
||||||
```
|
|
||||||
|
|
||||||
close-file-explorer.ps1
|
close-file-explorer.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-firefox.ps1
|
# close-firefox.ps1 - Closes Mozilla's Firefox Web browser
|
||||||
```powershell
|
|
||||||
Closes Mozilla's Firefox Web browser
|
|
||||||
```
|
|
||||||
|
|
||||||
close-firefox.ps1
|
close-firefox.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-netflix.ps1
|
# close-netflix.ps1 - Closes the Netflix application
|
||||||
```powershell
|
|
||||||
Closes the Netflix application
|
|
||||||
```
|
|
||||||
|
|
||||||
close-netflix.ps1
|
close-netflix.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-onedrive.ps1
|
# close-onedrive.ps1 - Closes Microsoft's OneDrive folder
|
||||||
```powershell
|
|
||||||
Closes Microsoft's OneDrive folder
|
|
||||||
```
|
|
||||||
|
|
||||||
close-onedrive.ps1
|
close-onedrive.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-program.ps1
|
# close-program.ps1 - Closes the processes of the given program gracefully
|
||||||
```powershell
|
|
||||||
Closes the processes of the given program gracefully
|
|
||||||
```
|
|
||||||
|
|
||||||
close-program.ps1 [<FullProgramName>] [<ProgramName>] [<ProgramAliasName>]
|
close-program.ps1 [<FullProgramName>] [<ProgramName>] [<ProgramAliasName>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-system-settings.ps1
|
# close-system-settings.ps1 - Closes the System Settings window
|
||||||
```powershell
|
|
||||||
Closes the System Settings window
|
|
||||||
```
|
|
||||||
|
|
||||||
close-system-settings.ps1
|
close-system-settings.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-thunderbird.ps1
|
# close-thunderbird.ps1 - Closes Mozilla's Thunderbird email client
|
||||||
```powershell
|
|
||||||
Closes Mozilla's Thunderbird email client
|
|
||||||
```
|
|
||||||
|
|
||||||
close-thunderbird.ps1
|
close-thunderbird.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-vlc.ps1
|
# close-vlc.ps1 - Closes the VLC media player application
|
||||||
```powershell
|
|
||||||
Closes the VLC media player application
|
|
||||||
```
|
|
||||||
|
|
||||||
close-vlc.ps1
|
close-vlc.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: close-windows-terminal.ps1
|
# close-windows-terminal.ps1 - Closes the Windows Terminal application
|
||||||
```powershell
|
|
||||||
Closes the Windows Terminal application
|
|
||||||
```
|
|
||||||
|
|
||||||
close-windows-terminal.ps1
|
close-windows-terminal.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: configure-git.ps1
|
# configure-git.ps1 - Configures the user settings for Git
|
||||||
```powershell
|
|
||||||
Configures the user settings for Git
|
|
||||||
```
|
|
||||||
|
|
||||||
configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>]
|
configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: convert-csv2txt.ps1
|
# convert-csv2txt.ps1 - Converts a .CSV file into a text file
|
||||||
```powershell
|
|
||||||
Converts a .CSV file into a text file
|
|
||||||
```
|
|
||||||
|
|
||||||
convert-csv2txt.ps1 [<csv-file>]
|
convert-csv2txt.ps1 [<csv-file>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: convert-mysql2csv.ps1
|
# convert-mysql2csv.ps1 - Convert a MySQL database table to a .CSV file
|
||||||
```powershell
|
|
||||||
Convert a MySQL database table to a .CSV file
|
|
||||||
```
|
|
||||||
|
|
||||||
convert-mysql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
|
convert-mysql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: convert-ps2bat.ps1
|
# convert-ps2bat.ps1 - Converts a PowerShell script to .bat files
|
||||||
```powershell
|
|
||||||
Converts a PowerShell script to .bat files
|
|
||||||
```
|
|
||||||
|
|
||||||
convert-ps2bat.ps1 [<pattern>]
|
convert-ps2bat.ps1 [<pattern>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: convert-ps2md.ps1
|
# convert-ps2md.ps1 - Converts the comment-based help of a PowerShell script to Markdown
|
||||||
```powershell
|
|
||||||
Converts the comment-based help of a PowerShell script to Markdown
|
|
||||||
```
|
|
||||||
|
|
||||||
convert-ps2md.ps1 [<filename>]
|
convert-ps2md.ps1 [<filename>]
|
||||||
|
|
||||||
@ -12,6 +9,7 @@ convert-ps2md.ps1 [<filename>]
|
|||||||
|
|
||||||
```
|
```
|
||||||
-filename <String>
|
-filename <String>
|
||||||
|
Specifies the path to the PowerShell script
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: convert-sql2csv.ps1
|
# convert-sql2csv.ps1 - Converts a SQL database table to a .CSV file
|
||||||
```powershell
|
|
||||||
Converts a SQL database table to a .CSV file
|
|
||||||
```
|
|
||||||
|
|
||||||
convert-sql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
|
convert-sql2csv.ps1 [<server>] [<database>] [<username>] [<password>] [<query>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: convert-txt2wav.ps1
|
# convert-txt2wav.ps1 - Converts text to a .WAV audio file
|
||||||
```powershell
|
|
||||||
Converts text to a .WAV audio file
|
|
||||||
```
|
|
||||||
|
|
||||||
convert-txt2wav.ps1 [<text>] [<wav-file>]
|
convert-txt2wav.ps1 [<text>] [<wav-file>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: copy-photos-sorted.ps1
|
# copy-photos-sorted.ps1 - Copy image files sorted by year and month
|
||||||
```powershell
|
|
||||||
Copy image files sorted by year and month
|
|
||||||
```
|
|
||||||
|
|
||||||
Copy image files from SourceDir to TargetDir sorted by year and month
|
Copy image files from SourceDir to TargetDir sorted by year and month
|
||||||
copy-photos-sorted.ps1 [<SourceDir>] [<TargetDir>]
|
copy-photos-sorted.ps1 [<SourceDir>] [<TargetDir>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: decrypt-file.ps1
|
# decrypt-file.ps1 - Decrypts the given file
|
||||||
```powershell
|
|
||||||
Decrypts the given file
|
|
||||||
```
|
|
||||||
|
|
||||||
decrypt-file.ps1 [<path>] [<password>]
|
decrypt-file.ps1 [<path>] [<password>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: display-time.ps1
|
# display-time.ps1 - Displays the current time
|
||||||
```powershell
|
|
||||||
Displays the current time
|
|
||||||
```
|
|
||||||
|
|
||||||
Displays the current time (for 10 seconds by default)
|
Displays the current time (for 10 seconds by default)
|
||||||
display-time.ps1 [<seconds>]
|
display-time.ps1 [<seconds>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: download-dir.ps1
|
# download-dir.ps1 - Downloads a folder (including subfolders) from the given URL
|
||||||
```powershell
|
|
||||||
Downloads a folder (including subfolders) from the given URL
|
|
||||||
```
|
|
||||||
|
|
||||||
download-dir.ps1 [<URL>]
|
download-dir.ps1 [<URL>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: download-file.ps1
|
# download-file.ps1 - Downloads a file from the given URL
|
||||||
```powershell
|
|
||||||
Downloads a file from the given URL
|
|
||||||
```
|
|
||||||
|
|
||||||
download-file.ps1 [<URL>]
|
download-file.ps1 [<URL>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: edit.ps1
|
# edit.ps1 - Opens the built-in text editor to edit the given file
|
||||||
```powershell
|
|
||||||
Opens the built-in text editor to edit the given file
|
|
||||||
```
|
|
||||||
|
|
||||||
edit.ps1 <filename>
|
edit.ps1 <filename>
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: enable-crash-dumps.ps1
|
# enable-crash-dumps.ps1 - Enables the writing of crash dumps
|
||||||
```powershell
|
|
||||||
Enables the writing of crash dumps
|
|
||||||
```
|
|
||||||
|
|
||||||
enable-crash-dumps.ps1
|
enable-crash-dumps.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: enable-god-mode.ps1
|
# enable-god-mode.ps1 - Enables the god mode
|
||||||
```powershell
|
|
||||||
Enables the god mode
|
|
||||||
```
|
|
||||||
|
|
||||||
Enables the god mode (adds a new icon to the desktop)
|
Enables the god mode (adds a new icon to the desktop)
|
||||||
enable-god-mode.ps1
|
enable-god-mode.ps1
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: encrypt-file.ps1
|
# encrypt-file.ps1 - Encrypts a file
|
||||||
```powershell
|
|
||||||
Encrypts a file
|
|
||||||
```
|
|
||||||
|
|
||||||
encrypt-file.ps1 [<Path>] [<Password>]
|
encrypt-file.ps1 [<Path>] [<Password>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: enter-chat.ps1
|
# enter-chat.ps1 - Enters a chat using a common network shared file
|
||||||
```powershell
|
|
||||||
Enters a chat using a common network shared file
|
|
||||||
```
|
|
||||||
|
|
||||||
enter-chat.ps1
|
enter-chat.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: fetch-repo.ps1
|
# fetch-repo.ps1 - Fetches updates for a local Git repository (including submodules)
|
||||||
```powershell
|
|
||||||
Fetches updates for a local Git repository (including submodules)
|
|
||||||
```
|
|
||||||
|
|
||||||
fetch-repo.ps1 [<RepoDir>]
|
fetch-repo.ps1 [<RepoDir>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: fetch-repos.ps1
|
# fetch-repos.ps1 - Fetches updates for all Git repositories in a folder (including submodules)
|
||||||
```powershell
|
|
||||||
Fetches updates for all Git repositories in a folder (including submodules)
|
|
||||||
```
|
|
||||||
|
|
||||||
fetch-repos.ps1 [<ParentDir>]
|
fetch-repos.ps1 [<ParentDir>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: get-md5.ps1
|
# get-md5.ps1 -
|
||||||
```powershell
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: get-sha1.ps1
|
# get-sha1.ps1 -
|
||||||
```powershell
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: get-sha256.ps1
|
# get-sha256.ps1 -
|
||||||
```powershell
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: hibernate.ps1
|
# hibernate.ps1 - Enables hibernate mode for the local computer (needs admin rights)
|
||||||
```powershell
|
|
||||||
Enables hibernate mode for the local computer (needs admin rights)
|
|
||||||
```
|
|
||||||
|
|
||||||
hibernate.ps1
|
hibernate.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: inspect-exe.ps1
|
# inspect-exe.ps1 - Prints basic information of an executable file
|
||||||
```powershell
|
|
||||||
Prints basic information of an executable file
|
|
||||||
```
|
|
||||||
|
|
||||||
inspect-exe.ps1 [<path-to-exe-file>]
|
inspect-exe.ps1 [<path-to-exe-file>]
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: install-github-cli.ps1
|
# install-github-cli.ps1 - Installs GitHub CLI
|
||||||
```powershell
|
|
||||||
Installs GitHub CLI
|
|
||||||
```
|
|
||||||
|
|
||||||
install-github-cli.ps1
|
install-github-cli.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: install-google-chrome.ps1
|
# install-google-chrome.ps1 - Installs the latest Google Chrome browser
|
||||||
```powershell
|
|
||||||
Installs the latest Google Chrome browser
|
|
||||||
```
|
|
||||||
|
|
||||||
install-google-chrome.ps1
|
install-google-chrome.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: install-knot-resolver.ps1
|
# install-knot-resolver.ps1 - Installs Knot Resolver (needs admin rights)
|
||||||
```powershell
|
|
||||||
Installs Knot Resolver (needs admin rights)
|
|
||||||
```
|
|
||||||
|
|
||||||
Knot Resolver is a DNS resolver daemon.
|
Knot Resolver is a DNS resolver daemon.
|
||||||
install-knot-resolver.ps1
|
install-knot-resolver.ps1
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: install-signal-cli.ps1
|
# install-signal-cli.ps1 - Installs signal-cli
|
||||||
```powershell
|
|
||||||
Installs signal-cli
|
|
||||||
```
|
|
||||||
|
|
||||||
Installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number
|
Installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number
|
||||||
install-signal-cli.ps1 [<version>]
|
install-signal-cli.ps1 [<version>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: install-ssh-client.ps1
|
# install-ssh-client.ps1 - Installs the SSH client (needs admin rights)
|
||||||
```powershell
|
|
||||||
Installs the SSH client (needs admin rights)
|
|
||||||
```
|
|
||||||
|
|
||||||
install-ssh-client.ps1
|
install-ssh-client.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: install-ssh-server.ps1
|
# install-ssh-server.ps1 - Installs the SSH server (needs admin rights)
|
||||||
```powershell
|
|
||||||
Installs the SSH server (needs admin rights)
|
|
||||||
```
|
|
||||||
|
|
||||||
install-ssh-server.ps1
|
install-ssh-server.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: install-updates.ps1
|
# install-updates.ps1 - Installs updates for the local machine (needs admin rights)
|
||||||
```powershell
|
|
||||||
Installs updates for the local machine (needs admin rights)
|
|
||||||
```
|
|
||||||
|
|
||||||
install-updates.ps1
|
install-updates.ps1
|
||||||
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
# PowerShell Script: install-vscode.ps1
|
# install-vscode.ps1 - Installs Visual Studio Code, the PowerShell extension, and optionally
|
||||||
```powershell
|
|
||||||
Installs Visual Studio Code, the PowerShell extension, and optionally
|
|
||||||
a list of additional extensions.
|
a list of additional extensions.
|
||||||
```
|
|
||||||
|
|
||||||
This script can be used to easily install Visual Studio Code and the
|
This script can be used to easily install Visual Studio Code and the
|
||||||
PowerShell extension on your machine. You may also specify additional
|
PowerShell extension on your machine. You may also specify additional
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: install-wsl.ps1
|
# install-wsl.ps1 - Installs Windows Subsystem for Linux (needs admin rights)
|
||||||
```powershell
|
|
||||||
Installs Windows Subsystem for Linux (needs admin rights)
|
|
||||||
```
|
|
||||||
|
|
||||||
install-wsl.ps1
|
install-wsl.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: introduce-powershell.ps1
|
# introduce-powershell.ps1 - Introduces PowerShell to new users
|
||||||
```powershell
|
|
||||||
Introduces PowerShell to new users
|
|
||||||
```
|
|
||||||
|
|
||||||
introduce-powershell.ps1
|
introduce-powershell.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: list-aliases.ps1
|
# list-aliases.ps1 - Lists all PowerShell aliases
|
||||||
```powershell
|
|
||||||
Lists all PowerShell aliases
|
|
||||||
```
|
|
||||||
|
|
||||||
list-aliases.ps1
|
list-aliases.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: list-anagrams.ps1
|
# list-anagrams.ps1 - Lists all anagrams of the given word
|
||||||
```powershell
|
|
||||||
Lists all anagrams of the given word
|
|
||||||
```
|
|
||||||
|
|
||||||
list-anagrams.ps1 [<word>] [<columns>]
|
list-anagrams.ps1 [<word>] [<columns>]
|
||||||
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
# PowerShell Script: list-automatic-variables.ps1
|
# list-automatic-variables.ps1 - list-automatic-variables.ps1
|
||||||
```powershell
|
|
||||||
list-automatic-variables.ps1
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: list-branches.ps1
|
# list-branches.ps1 - Lists all branches in a Git repository
|
||||||
```powershell
|
|
||||||
Lists all branches in a Git repository
|
|
||||||
```
|
|
||||||
|
|
||||||
list-branches.ps1 [<RepoDir>] [<SearchPattern>]
|
list-branches.ps1 [<RepoDir>] [<SearchPattern>]
|
||||||
<RepoDir> is the current working directory by default
|
<RepoDir> is the current working directory by default
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: list-cheat-sheet.ps1
|
# list-cheat-sheet.ps1 - Lists the PowerShell cheat sheet
|
||||||
```powershell
|
|
||||||
Lists the PowerShell cheat sheet
|
|
||||||
```
|
|
||||||
|
|
||||||
list-cheat-sheet.ps1
|
list-cheat-sheet.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: list-city-weather.ps1
|
# list-city-weather.ps1 - List the current weather of cities world-wide
|
||||||
```powershell
|
|
||||||
List the current weather of cities world-wide
|
|
||||||
```
|
|
||||||
|
|
||||||
List the current weather of cities world-wide (west to east)
|
List the current weather of cities world-wide (west to east)
|
||||||
list-city-weather.ps1
|
list-city-weather.ps1
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
# PowerShell Script: list-cli-tools.ps1
|
# list-cli-tools.ps1 - list-cli-tools.ps1
|
||||||
```powershell
|
|
||||||
list-cli-tools.ps1
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: list-clipboard.ps1
|
# list-clipboard.ps1 - Lists the contents of the clipboard
|
||||||
```powershell
|
|
||||||
Lists the contents of the clipboard
|
|
||||||
```
|
|
||||||
|
|
||||||
list-clipboard.ps1
|
list-clipboard.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: list-cmdlets.ps1
|
# list-cmdlets.ps1 - Lists all PowerShell cmdlets
|
||||||
```powershell
|
|
||||||
Lists all PowerShell cmdlets
|
|
||||||
```
|
|
||||||
|
|
||||||
list-cmdlets.ps1
|
list-cmdlets.ps1
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# PowerShell Script: list-commits.ps1
|
# list-commits.ps1 - Lists all commits in a Git repository
|
||||||
```powershell
|
|
||||||
Lists all commits in a Git repository
|
|
||||||
```
|
|
||||||
|
|
||||||
list-commits.ps1 [<RepoDir>] [<Format>]
|
list-commits.ps1 [<RepoDir>] [<Format>]
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user