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