mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-19 03:17:04 +02:00
Update the comment based help
This commit is contained in:
parent
c296024b8f
commit
73037be877
@ -1,12 +1,13 @@
|
|||||||
## check-file-system.ps1 - 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>]
|
This script checks the file system of a drive. It needs admin rights.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Drive <String>
|
-Drive <String>
|
||||||
|
Specifies the drive to check
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## check-health.ps1 - Checks the health of the local computer
|
## check-health.ps1 - Checks the health of the local computer
|
||||||
|
|
||||||
check-health.ps1
|
This script checks the health of the local computer.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## check-ipv4-address.ps1 - Checks the given IPv4 address for validity
|
## check-ipv4-address.ps1 - Checks an IPv4 address for validity
|
||||||
|
|
||||||
check-ipv4-address.ps1 [<Address>]
|
This script checks the given IPv4 address for validity.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Address <String>
|
-Address <String>
|
||||||
|
Specifies the IPv4 address to check
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## check-ipv6-address.ps1 - Checks the given IPv6 address for validity
|
## check-ipv6-address.ps1 - Checks an IPv6 address for validity
|
||||||
|
|
||||||
check-ipv6-address.ps1 [<Address>]
|
This script checks the given IPv6 address for validity
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Address <String>
|
-Address <String>
|
||||||
|
Specifies the IPv6 address to check
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
## check-mac-address.ps1 - Checks the given MAC address for validity
|
## check-mac-address.ps1 - Checks the given MAC address for validity
|
||||||
|
|
||||||
|
This script 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>]
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-MAC <String>
|
-MAC <String>
|
||||||
|
Specifies the MAC address to check
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
## check-ping.ps1 - 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
|
This script checks the ping latency from the local computer to selected Internet hosts.
|
||||||
check-ping.ps1 [<hosts>]
|
The hosts by default are: amazon.com,apple.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-ping.ps1 [[-hosts] <String>] [<CommonParameters>]
|
check-ping.ps1 [[-hosts] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-hosts <String>
|
-hosts <String>
|
||||||
|
Specifies the hosts to check (separated by comma)
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
## check-smart-devices.ps1 - 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>]
|
This script performs a selftest on your S.M.A.R.T. HDD/SSD devices.
|
||||||
Type is either short(default) or long.
|
It requires smartctl (smartmontools package) and admin rights.
|
||||||
Requires smartctl (smartmontools package) and admin rights.
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-smart-devices.ps1 [[-type] <String>] [<CommonParameters>]
|
check-smart-devices.ps1 [[-type] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-type <String>
|
-type <String>
|
||||||
|
Specifies the type of selftest: either short (default) or long
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## check-subnet-mask.ps1 - Checks the given subnet mask for validity
|
## check-subnet-mask.ps1 - Checks the given subnet mask for validity
|
||||||
|
|
||||||
check-subnet-mask.ps1 [<address>]
|
This script checks the given subnet mask for validity.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-subnet-mask.ps1 [[-address] <String>] [<CommonParameters>]
|
check-subnet-mask.ps1 [[-address] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-address <String>
|
-address <String>
|
||||||
|
Specifies the subnet mask to check
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## check-swap-space.ps1 - Checks the free swap space
|
## check-swap-space.ps1 - Checks the free swap space
|
||||||
|
|
||||||
check-swap-space.ps1 [<min-level>]
|
This script checks the free swap space.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-swap-space.ps1 [[-MinLevel] <Int32>] [<CommonParameters>]
|
check-swap-space.ps1 [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||||
|
|
||||||
-MinLevel <Int32>
|
-MinLevel <Int32>
|
||||||
|
Specifies the minimum level (50 GB by default)
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## check-symlinks.ps1 - Checks every symlink in a folder (including subfolders)
|
## check-symlinks.ps1 - Checks every symlink in a folder (including subfolders)
|
||||||
|
|
||||||
check-symlinks.ps1 [<folder>]
|
This script checks every symlink in a folder (including subfolders).
|
||||||
Returns the number of broken symlinks as exit value.
|
Returns the number of broken symlinks as exit value.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
@ -8,6 +8,7 @@ Returns the number of broken symlinks as exit value.
|
|||||||
check-symlinks.ps1 [[-folder] <String>] [<CommonParameters>]
|
check-symlinks.ps1 [[-folder] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-folder <String>
|
-folder <String>
|
||||||
|
Specifies the path to the directory tree
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## check-weather.ps1 - Checks the weather for critical values
|
## check-weather.ps1 - Checks the weather for critical values
|
||||||
|
|
||||||
check-weather.ps1 [<location>]
|
Checks the current weather for critical values.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-weather.ps1 [[-location] <String>] [<CommonParameters>]
|
check-weather.ps1 [[-location] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-location <String>
|
-location <String>
|
||||||
|
Specifies the location to use (determined automatically per default)
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## check-windows-system-files.ps1 - 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
|
This script checks the validity of the Windows system files. It requires admin rights.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## check-xml-file.ps1 - Checks the given XML file for validity
|
## check-xml-file.ps1 - Checks the given XML file for validity
|
||||||
|
|
||||||
check-xml-file [<file>]
|
This script checks the given XML file for validity.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
check-xml-file.ps1 [[-file] <String>] [<CommonParameters>]
|
check-xml-file.ps1 [[-file] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-file <String>
|
-file <String>
|
||||||
|
Specifies the path to the XML file to check
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## clean-repo.ps1 - 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>]
|
This script cleans a Git repository from untracked files (including submodules).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
clean-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
clean-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-RepoDir <String>
|
-RepoDir <String>
|
||||||
|
Specifies the path to the Git repository
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -22,7 +23,7 @@ clean-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
|||||||
## Example
|
## Example
|
||||||
```powershell
|
```powershell
|
||||||
PS>./clean-repo C:\MyRepo
|
PS>./clean-repo C:\MyRepo
|
||||||
🧹 Cleaning Git repository 📂C:\MyRepo from untracked files...
|
🧹 Cleaning from untracked files...
|
||||||
✔️ cleaned Git repository 📂C:\MyRepo in 0 sec
|
✔️ cleaned Git repository 📂C:\MyRepo in 0 sec
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## clean-repos.ps1 - 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>]
|
This script cleans all Git repositories in a folder from untracked files (including submodules).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
clean-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
clean-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-ParentDir <String>
|
-ParentDir <String>
|
||||||
|
Specifies the path to the parent folder
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## clear-recycle-bin.ps1 - 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
|
This script removes the content of the recycle bin folder permanently.
|
||||||
NOTE: can not be undo!
|
NOTE: can not be undo!
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## clone-repos.ps1 - Clones well-known Git repositories into a folder
|
## clone-repos.ps1 - Clones well-known Git repositories into a folder
|
||||||
|
|
||||||
clone-repos.ps1 [<folder>]
|
This script clones well-known Git repositories into a folder.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
clone-repos.ps1 [[-folder] <String>] [<CommonParameters>]
|
clone-repos.ps1 [[-folder] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-folder <String>
|
-folder <String>
|
||||||
|
Specifies the target folder
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-calculator.ps1 - Closes the calculator program gracefully
|
## close-calculator.ps1 - Closes the calculator program
|
||||||
|
|
||||||
close-calculator.ps1
|
This script closes the calculator program gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-chrome.ps1 - Closes the Google Chrome Web browser
|
## close-chrome.ps1 - Closes the Google Chrome Web browser
|
||||||
|
|
||||||
close-chrome.ps1
|
This script closes the Google Chrome Web browser gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-cortana.ps1 - Closes Microsoft's Cortana application
|
## close-cortana.ps1 - Closes Microsoft's Cortana application
|
||||||
|
|
||||||
close-cortana.ps1
|
This script closes Microsoft's Cortana application gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-edge.ps1 - Closes Microsoft's Edge Web browser
|
## close-edge.ps1 - Closes Microsoft's Edge Web browser
|
||||||
|
|
||||||
close-edge.ps1
|
This script closes Microsoft's Edge Web browser gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-file-explorer.ps1 - Closes Microsoft's File Explorer
|
## close-file-explorer.ps1 - Closes Microsoft's File Explorer
|
||||||
|
|
||||||
close-file-explorer.ps1
|
This script closes Microsoft's File Explorer gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-firefox.ps1 - Closes Mozilla's Firefox Web browser
|
## close-firefox.ps1 - Closes Mozilla's Firefox Web browser
|
||||||
|
|
||||||
close-firefox.ps1
|
This script closes Mozilla's Firefox Web browser gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-netflix.ps1 - Closes the Netflix application
|
## close-netflix.ps1 - Closes the Netflix application
|
||||||
|
|
||||||
close-netflix.ps1
|
This script closes the Netflix application gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-onedrive.ps1 - Closes Microsoft's OneDrive folder
|
## close-onedrive.ps1 - Closes Microsoft's OneDrive folder
|
||||||
|
|
||||||
close-onedrive.ps1
|
This script closes Microsoft's OneDrive folder gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## close-program.ps1 - Closes the processes of the given program gracefully
|
## close-program.ps1 - Closes a program's processes
|
||||||
|
|
||||||
close-program.ps1 [<FullProgramName>] [<ProgramName>] [<ProgramAliasName>]
|
This script closes a program's processes gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
close-program.ps1 [[-FullProgramName] <String>] [[-ProgramName] <String>] [[-ProgramAliasName] <String>] [<CommonParameters>]
|
close-program.ps1 [[-FullProgramName] <String>] [[-ProgramName] <String>] [[-ProgramAliasName] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-FullProgramName <String>
|
-FullProgramName <String>
|
||||||
|
Specifies the full program name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ close-program.ps1 [[-FullProgramName] <String>] [[-ProgramName] <String>] [[-Pro
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-ProgramName <String>
|
-ProgramName <String>
|
||||||
|
Specifies the program name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
@ -23,6 +25,7 @@ close-program.ps1 [[-FullProgramName] <String>] [[-ProgramName] <String>] [[-Pro
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-ProgramAliasName <String>
|
-ProgramAliasName <String>
|
||||||
|
Specifies the program alias name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 3
|
Position? 3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-system-settings.ps1 - Closes the System Settings window
|
## close-system-settings.ps1 - Closes the System Settings window
|
||||||
|
|
||||||
close-system-settings.ps1
|
This script closes the System Settings window gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-thunderbird.ps1 - Closes Mozilla's Thunderbird email client
|
## close-thunderbird.ps1 - Closes Mozilla's Thunderbird email client
|
||||||
|
|
||||||
close-thunderbird.ps1
|
This script closes Mozilla's Thunderbird email client gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-vlc.ps1 - Closes the VLC media player application
|
## close-vlc.ps1 - Closes the VLC media player application
|
||||||
|
|
||||||
close-vlc.ps1
|
This script closes the VLC media player application gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## close-windows-terminal.ps1 - Closes the Windows Terminal application
|
## close-windows-terminal.ps1 - Closes the Windows Terminal application
|
||||||
|
|
||||||
close-windows-terminal.ps1
|
This script closes the Windows Terminal application gracefully.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
@ -14,6 +14,7 @@ close-windows-terminal.ps1 [<CommonParameters>]
|
|||||||
## Example
|
## Example
|
||||||
```powershell
|
```powershell
|
||||||
PS>./close-windows-terminal
|
PS>./close-windows-terminal
|
||||||
|
(Windows Terminal is closed)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## configure-git.ps1 - Configures the user settings for Git
|
## configure-git.ps1 - Configures the user settings for Git
|
||||||
|
|
||||||
configure-git.ps1 [<full-name>] [<email-address>] [<favorite-editor>]
|
This script configures the user settings for Git.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
configure-git.ps1 [[-FullName] <String>] [[-EmailAddress] <String>] [[-FavoriteEditor] <String>] [<CommonParameters>]
|
configure-git.ps1 [[-FullName] <String>] [[-EmailAddress] <String>] [[-FavoriteEditor] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-FullName <String>
|
-FullName <String>
|
||||||
|
Specifies the user's full name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ configure-git.ps1 [[-FullName] <String>] [[-EmailAddress] <String>] [[-FavoriteE
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-EmailAddress <String>
|
-EmailAddress <String>
|
||||||
|
Specifies the user's email address
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
@ -23,6 +25,7 @@ configure-git.ps1 [[-FullName] <String>] [[-EmailAddress] <String>] [[-FavoriteE
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-FavoriteEditor <String>
|
-FavoriteEditor <String>
|
||||||
|
Specifies the user's favorite text editor
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 3
|
Position? 3
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## convert-csv2txt.ps1 - Converts a .CSV file into a text file
|
## convert-csv2txt.ps1 - Converts a .CSV file into a text file
|
||||||
|
|
||||||
convert-csv2txt.ps1 [<csv-file>]
|
This script converts a .CSV file into a text file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
convert-csv2txt.ps1 [[-Path] <String>] [<CommonParameters>]
|
convert-csv2txt.ps1 [[-Path] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Path <String>
|
-Path <String>
|
||||||
|
Specifies the path to the .CSV file
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## convert-mysql2csv.ps1 - 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>]
|
This script converts a MySQL database table to a .CSV file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
convert-mysql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <String>] [[-password] <String>] [[-query] <String>] [<CommonParameters>]
|
convert-mysql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <String>] [[-password] <String>] [[-query] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-server <String>
|
-server <String>
|
||||||
|
Specifies the server's hostname or IP address
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ convert-mysql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-database <String>
|
-database <String>
|
||||||
|
Specifies the database name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
@ -23,6 +25,7 @@ convert-mysql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-username <String>
|
-username <String>
|
||||||
|
Specifies the user name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 3
|
Position? 3
|
||||||
@ -31,6 +34,7 @@ convert-mysql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-password <String>
|
-password <String>
|
||||||
|
Specifies the password
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 4
|
Position? 4
|
||||||
@ -39,6 +43,7 @@ convert-mysql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-query <String>
|
-query <String>
|
||||||
|
Specifies the SQL query
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 5
|
Position? 5
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## convert-ps2bat.ps1 - Converts a PowerShell script to .bat files
|
## convert-ps2bat.ps1 - Converts PowerShell scripts to batch files
|
||||||
|
|
||||||
convert-ps2bat.ps1 [<pattern>]
|
This script converts one or more PowerShell scripts to .bat batch files.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
convert-ps2bat.ps1 [[-Pattern] <String>] [<CommonParameters>]
|
convert-ps2bat.ps1 [[-Filepattern] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Pattern <String>
|
-Filepattern <String>
|
||||||
|
Specifies the file pattern
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## convert-ps2md.ps1 - 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>]
|
This script converts the comment-based help of a PowerShell script to Markdown.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## convert-sql2csv.ps1 - 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>]
|
This script converts a SQL database table to a .CSV file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
convert-sql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <String>] [[-password] <String>] [[-query] <String>] [<CommonParameters>]
|
convert-sql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <String>] [[-password] <String>] [[-query] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-server <String>
|
-server <String>
|
||||||
|
Specifies the server's hostname or IP address
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ convert-sql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <St
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-database <String>
|
-database <String>
|
||||||
|
Specifies the database name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
@ -23,6 +25,7 @@ convert-sql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <St
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-username <String>
|
-username <String>
|
||||||
|
Specifies the user name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 3
|
Position? 3
|
||||||
@ -31,6 +34,7 @@ convert-sql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <St
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-password <String>
|
-password <String>
|
||||||
|
Specifies the password
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 4
|
Position? 4
|
||||||
@ -39,6 +43,7 @@ convert-sql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <St
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-query <String>
|
-query <String>
|
||||||
|
Specifies the SQL query
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 5
|
Position? 5
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## convert-txt2wav.ps1 - Converts text to a .WAV audio file
|
## convert-txt2wav.ps1 - Converts text to a .WAV audio file
|
||||||
|
|
||||||
convert-txt2wav.ps1 [<text>] [<wav-file>]
|
This script converts text to a .WAV audio file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
convert-txt2wav.ps1 [[-Text] <String>] [[-WavFile] <String>] [<CommonParameters>]
|
convert-txt2wav.ps1 [[-Text] <String>] [[-WavFile] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Text <String>
|
-Text <String>
|
||||||
|
Specifies the text to use
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ convert-txt2wav.ps1 [[-Text] <String>] [[-WavFile] <String>] [<CommonParameters>
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-WavFile <String>
|
-WavFile <String>
|
||||||
|
Specifies the path to the resulting WAV file
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
|
@ -1,42 +1,13 @@
|
|||||||
## copy-photos-sorted.ps1 - Copy image files sorted by year and month
|
## copy-photos-sorted.ps1 - copy-photos-sorted.ps1 [[-SourceDir] <string>] [[-TargetDir] <string>]
|
||||||
|
|
||||||
Copy image files from SourceDir to TargetDir sorted by year and month
|
|
||||||
copy-photos-sorted.ps1 [<SourceDir>] [<TargetDir>]
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
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>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
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*
|
*Generated by convert-ps2md.ps1 using the comment-based help of copy-photos-sorted.ps1*
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## decrypt-file.ps1 - Decrypts the given file
|
## decrypt-file.ps1 - Decrypts the given file
|
||||||
|
|
||||||
decrypt-file.ps1 [<path>] [<password>]
|
This script decrypts the given file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
decrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
decrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Path <String>
|
-Path <String>
|
||||||
|
Specifies the path to the file to decrypt
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ decrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-Password <String>
|
-Password <String>
|
||||||
|
Specifies the password
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
## display-time.ps1 - Displays the current time
|
## display-time.ps1 - 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>]
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
display-time.ps1 [[-Seconds] <Int32>] [<CommonParameters>]
|
display-time.ps1 [[-Seconds] <Int32>] [<CommonParameters>]
|
||||||
|
|
||||||
-Seconds <Int32>
|
-Seconds <Int32>
|
||||||
|
Specifies the number of seconds to display the time
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## download-dir.ps1 - Downloads a folder (including subfolders) from the given URL
|
## download-dir.ps1 - Downloads a folder (including subfolders) from an URL
|
||||||
|
|
||||||
download-dir.ps1 [<URL>]
|
This script downloads a folder (including subfolders) from the given URL.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
download-dir.ps1 [[-URL] <String>] [<CommonParameters>]
|
download-dir.ps1 [[-URL] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-URL <String>
|
-URL <String>
|
||||||
|
Specifies the URL where to download from
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -21,7 +22,7 @@ download-dir.ps1 [[-URL] <String>] [<CommonParameters>]
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
```powershell
|
```powershell
|
||||||
PS>./download-dir "https://www.cnn.com"
|
PS>./download-dir https://www.cnn.com
|
||||||
```
|
```
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## download-file.ps1 - Downloads a file from the given URL
|
## download-file.ps1 - Downloads a file from an URL
|
||||||
|
|
||||||
download-file.ps1 [<URL>]
|
This script downloads a file from the given URL
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
download-file.ps1 [[-URL] <String>] [<CommonParameters>]
|
download-file.ps1 [[-URL] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-URL <String>
|
-URL <String>
|
||||||
|
Specifies the URL where to download from
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -21,7 +22,7 @@ download-file.ps1 [[-URL] <String>] [<CommonParameters>]
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
```powershell
|
```powershell
|
||||||
PS>./download-file "https://www.cnn.com/index.html"
|
PS>./download-file https://www.cnn.com/index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## edit.ps1 - Opens the built-in text editor to edit the given file
|
## edit.ps1 - Opens an editor to edit a file
|
||||||
|
|
||||||
edit.ps1 <filename>
|
Opens a text editor to edit the given file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
edit.ps1 [[-Filename] <String>] [<CommonParameters>]
|
edit.ps1 [[-Filename] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Filename <String>
|
-Filename <String>
|
||||||
|
Specifies the path to the filename
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## enable-crash-dumps.ps1 - Enables the writing of crash dumps
|
## enable-crash-dumps.ps1 - Enables the writing of crash dumps
|
||||||
|
|
||||||
enable-crash-dumps.ps1
|
Enables the writing of crash dumps.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
## enable-god-mode.ps1 - Enables the god mode
|
## enable-god-mode.ps1 - Enables the god mode
|
||||||
|
|
||||||
Enables the god mode (adds a new icon to the desktop)
|
This script enables the god mode. It adds a new icon to the desktop.
|
||||||
enable-god-mode.ps1
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## encrypt-file.ps1 - Encrypts a file
|
## encrypt-file.ps1 - Encrypts a file
|
||||||
|
|
||||||
encrypt-file.ps1 [<Path>] [<Password>]
|
This script encrypts the given file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
encrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
encrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Path <String>
|
-Path <String>
|
||||||
|
Specifies the path to the file to encrypt
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ encrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-Password <String>
|
-Password <String>
|
||||||
|
Specifies the password to use
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## enter-chat.ps1 - Enters a chat using a common network shared file
|
## enter-chat.ps1 - Enters a chat using a common network shared file
|
||||||
|
|
||||||
enter-chat.ps1
|
This script enters a chat using a common network shared file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## fetch-repo.ps1 - 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>]
|
This script fetches updates for a local Git repository (including submodules).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
@ -23,8 +23,8 @@ fetch-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
|||||||
## Example
|
## Example
|
||||||
```powershell
|
```powershell
|
||||||
PS>./fetch-repo
|
PS>./fetch-repo
|
||||||
🢃 Fetching updates for Git repository 📂PowerShell ...
|
🢃 Fetching updates...
|
||||||
✔️ fetched updates for 📂PowerShell"
|
✔️ fetched updates for Git repository 📂PowerShell in 14 sec
|
||||||
```
|
```
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## fetch-repos.ps1 - 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>]
|
This script fetches updates for all Git repositories in a folder (including submodules).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
fetch-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
fetch-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-ParentDir <String>
|
-ParentDir <String>
|
||||||
|
Specifies the path to the parent folder
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## hibernate.ps1 - Enables hibernate mode for the local computer (needs admin rights)
|
## hibernate.ps1 - Enables hibernate mode for the local computer (needs admin rights)
|
||||||
|
|
||||||
hibernate.ps1
|
This script enables hibernate mode for the local computer. It needs admin rights.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## inspect-exe.ps1 - Prints basic information of an executable file
|
## inspect-exe.ps1 - Prints basic information of an executable file
|
||||||
|
|
||||||
inspect-exe.ps1 [<path-to-exe-file>]
|
This script prints basic information of an executable file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
inspect-exe.ps1 [[-PathToExe] <String>] [<CommonParameters>]
|
inspect-exe.ps1 [[-PathToExe] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-PathToExe <String>
|
-PathToExe <String>
|
||||||
|
Specifies the path to the executable file
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## install-github-cli.ps1 - Installs GitHub CLI
|
## install-github-cli.ps1 - Installs GitHub CLI
|
||||||
|
|
||||||
install-github-cli.ps1
|
This script installs GitHub command-line interface (CLI).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## install-google-chrome.ps1 - Installs the latest Google Chrome browser
|
## install-google-chrome.ps1 - Installs the latest Google Chrome browser
|
||||||
|
|
||||||
install-google-chrome.ps1
|
This script installs the latest Google Chrome Web browser.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
## install-knot-resolver.ps1 - Installs Knot Resolver (needs admin rights)
|
## install-knot-resolver.ps1 - Installs Knot Resolver (needs admin rights)
|
||||||
|
|
||||||
Knot Resolver is a DNS resolver daemon.
|
This script installs Knot Resolver. Knot Resolver is a DNS resolver daemon. It needs admin rights.
|
||||||
install-knot-resolver.ps1
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
## install-signal-cli.ps1 - 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
|
Installs signal-cli from github.com/AsamK/signal-cli. See the Web page for the correct version number.
|
||||||
install-signal-cli.ps1 [<version>]
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
install-signal-cli.ps1 [[-Version] <String>] [<CommonParameters>]
|
install-signal-cli.ps1 [[-Version] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Version <String>
|
-Version <String>
|
||||||
|
Specifies the version to install
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## install-ssh-client.ps1 - Installs the SSH client (needs admin rights)
|
## install-ssh-client.ps1 - Installs the SSH client (needs admin rights)
|
||||||
|
|
||||||
install-ssh-client.ps1
|
This script installs the SSH client (needs admin rights).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## install-ssh-server.ps1 - Installs the SSH server (needs admin rights)
|
## install-ssh-server.ps1 - Installs the SSH server (needs admin rights)
|
||||||
|
|
||||||
install-ssh-server.ps1
|
This script installs the SSH server (needs admin rights).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## install-updates.ps1 - Installs updates for the local machine (needs admin rights)
|
## install-updates.ps1 - Installs updates for the local machine (needs admin rights)
|
||||||
|
|
||||||
install-updates.ps1
|
This script installs updates for the local machine (needs admin rights).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## install-wsl.ps1 - Installs Windows Subsystem for Linux (needs admin rights)
|
## install-wsl.ps1 - Installs Windows Subsystem for Linux (needs admin rights)
|
||||||
|
|
||||||
install-wsl.ps1
|
This script installs Windows Subsystem for Linux. It needs admin rights.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## introduce-powershell.ps1 - Introduces PowerShell to new users
|
## introduce-powershell.ps1 - Introduces PowerShell to new users
|
||||||
|
|
||||||
introduce-powershell.ps1
|
This script introduces PowerShell to new users.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## locate-city.ps1 - Prints the geographic location of the given city
|
## locate-city.ps1 - Prints the geographic location of a city
|
||||||
|
|
||||||
locate-city.ps1 [<City>]
|
This script prints the geographic location of the given city.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
locate-city.ps1 [[-City] <String>] [<CommonParameters>]
|
locate-city.ps1 [[-City] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-City <String>
|
-City <String>
|
||||||
|
Specifies the city to look for
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,33 +1,13 @@
|
|||||||
## locate-ipaddress.ps1 - Prints the geographic location of the given IP address
|
## locate-ipaddress.ps1 - locate-ipaddress.ps1 [[-IPaddress] <string>]
|
||||||
|
|
||||||
locate-ipaddress.ps1 [<IPaddress>]
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
locate-ipaddress.ps1 [[-IPaddress] <String>] [<CommonParameters>]
|
|
||||||
|
|
||||||
-IPaddress <String>
|
|
||||||
|
|
||||||
Required? false
|
|
||||||
Position? 1
|
|
||||||
Default value
|
|
||||||
Accept pipeline input? false
|
|
||||||
Accept wildcard characters? false
|
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example
|
|
||||||
```powershell
|
|
||||||
PS>./locate-ipaddress 177.144.67.98
|
|
||||||
```
|
|
||||||
|
|
||||||
## Notes
|
|
||||||
Author: Markus Fleschutz · License: CC0
|
|
||||||
|
|
||||||
## Related Links
|
|
||||||
https://github.com/fleschutz/PowerShell
|
|
||||||
|
|
||||||
*Generated by convert-ps2md.ps1 using the comment-based help of locate-ipaddress.ps1*
|
*Generated by convert-ps2md.ps1 using the comment-based help of locate-ipaddress.ps1*
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## locate-zip-code.ps1 - Prints the geographic location of the given zip-code
|
## locate-zip-code.ps1 - Prints the geo location of a zip-code
|
||||||
|
|
||||||
locate-zip-code.ps1 [<CountryCode>] [<ZipCode>]
|
This script prints the geographic location of the given zip-code.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
locate-zip-code.ps1 [[-CountryCode] <String>] [[-ZipCode] <String>] [<CommonParameters>]
|
locate-zip-code.ps1 [[-CountryCode] <String>] [[-ZipCode] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-CountryCode <String>
|
-CountryCode <String>
|
||||||
|
Specifies the country code
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ locate-zip-code.ps1 [[-CountryCode] <String>] [[-ZipCode] <String>] [<CommonPara
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-ZipCode <String>
|
-ZipCode <String>
|
||||||
|
Specifies the zip code
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## make-install.ps1 - Copies newer EXE's + DLL's from the build directory to the installation directory
|
## make-install.ps1 - Copies newer EXE's + DLL's from the build directory to the installation directory
|
||||||
|
|
||||||
make-install.ps1 <BuildDir>
|
This script copies newer EXE's + DLL's from the build directory to the installation directory.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## moon.ps1 - Prints the current moon phase
|
## moon.ps1 - Prints the current moon phase
|
||||||
|
|
||||||
moon.ps1
|
This script prints the current moon phase.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## new-branch.ps1 - Creates and switches to a new branch in a Git repository
|
## new-branch.ps1 - Creates and switches to a new branch in a Git repository
|
||||||
|
|
||||||
new-branch.ps1 [<BranchName>] [<RepoDir>]
|
This script creates and switches to a new branch in a Git repository.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
new-branch.ps1 [[-BranchName] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
new-branch.ps1 [[-BranchName] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-BranchName <String>
|
-BranchName <String>
|
||||||
|
Specifies the branch name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ new-branch.ps1 [[-BranchName] <String>] [[-RepoDir] <String>] [<CommonParameters
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-RepoDir <String>
|
-RepoDir <String>
|
||||||
|
Specifies the path to the Git repository
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## new-email.ps1 - Opens the default email client to write a new email
|
## new-email.ps1 - Opens the default email client to write a new email
|
||||||
|
|
||||||
new-email.ps1 [<address>]
|
This script opens the default email client to write a new email.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
new-email.ps1 [[-EmailAddress] <String>] [<CommonParameters>]
|
new-email.ps1 [[-EmailAddress] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-EmailAddress <String>
|
-EmailAddress <String>
|
||||||
|
Specifies the email address fill in
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## new-qrcode.ps1 - Generates a new QR code image file
|
## new-qrcode.ps1 - Generates a new QR code image file
|
||||||
|
|
||||||
new-qrcode.ps1 [<Text>] [<ImageSize>]
|
This script generates a new QR code image file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
new-qrcode.ps1 [[-Text] <String>] [[-ImageSize] <String>] [<CommonParameters>]
|
new-qrcode.ps1 [[-Text] <String>] [[-ImageSize] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Text <String>
|
-Text <String>
|
||||||
|
Specifies the text to use
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ new-qrcode.ps1 [[-Text] <String>] [[-ImageSize] <String>] [<CommonParameters>]
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-ImageSize <String>
|
-ImageSize <String>
|
||||||
|
Specifies the image size (width x height)
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
## new-script.ps1 - Creates a new PowerShell script file
|
## new-script.ps1 - Creates a new PowerShell script file
|
||||||
|
|
||||||
Creates a new PowerShell script file (by using template file ../Data/template.ps1).
|
Creates a new PowerShell script file (by using template file ../Data/template.ps1).
|
||||||
new-script.ps1 [<filename>]
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
new-script.ps1 [[-filename] <String>] [<CommonParameters>]
|
new-script.ps1 [[-filename] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-filename <String>
|
-filename <String>
|
||||||
|
Specifies the path to the resulting file
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## new-shortcut.ps1 - Creates a new shortcut file
|
## new-shortcut.ps1 - Creates a new shortcut file
|
||||||
|
|
||||||
new-shortcut.ps1 [<shortcut>] [<target>] [<description>]
|
This script creates a new shortcut file.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
new-shortcut.ps1 [[-shortcut] <String>] [[-target] <String>] [[-description] <String>] [<CommonParameters>]
|
new-shortcut.ps1 [[-shortcut] <String>] [[-target] <String>] [[-description] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-shortcut <String>
|
-shortcut <String>
|
||||||
|
Specifies the shortcut filename
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ new-shortcut.ps1 [[-shortcut] <String>] [[-target] <String>] [[-description] <St
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-target <String>
|
-target <String>
|
||||||
|
Specifies the path to the target
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
@ -23,6 +25,7 @@ new-shortcut.ps1 [[-shortcut] <String>] [[-target] <String>] [[-description] <St
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-description <String>
|
-description <String>
|
||||||
|
Specifies a description
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 3
|
Position? 3
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## new-tag.ps1 - Creates a new tag in a Git repository
|
## new-tag.ps1 - Creates a new tag in a Git repository
|
||||||
|
|
||||||
new-tag.ps1 [<TagName>] [<RepoDir>]
|
This script creates a new tag in a Git repository.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
new-tag.ps1 [[-TagName] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
new-tag.ps1 [[-TagName] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-TagName <String>
|
-TagName <String>
|
||||||
|
Specifies the new tag name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ new-tag.ps1 [[-TagName] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-RepoDir <String>
|
-RepoDir <String>
|
||||||
|
Specifies the path to the Git repository
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## new-zipfile.ps1 - Creates a new .ZIP file from a folder (including subfolders)
|
## new-zipfile.ps1 - Creates a new .ZIP file from a folder (including subfolders)
|
||||||
|
|
||||||
new-zipfile.ps1 [<folder>]
|
This script creates a new .ZIP file from a folder (including subfolders).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
new-zipfile.ps1 [[-folder] <String>] [<CommonParameters>]
|
new-zipfile.ps1 [[-folder] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-folder <String>
|
-folder <String>
|
||||||
|
Specifies the path to the folder
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
## open-browser.ps1 - Opens the default Web browser
|
## open-browser.ps1 - Opens the default Web browser
|
||||||
|
|
||||||
Opens the default Web browser, optional with given URL
|
This script opens the default Web browser, optional with given URL.
|
||||||
open-browser.ps1 [<URL>]
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
open-browser.ps1 [[-URL] <String>] [<CommonParameters>]
|
open-browser.ps1 [[-URL] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-URL <String>
|
-URL <String>
|
||||||
|
Specifies the URL
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## open-calculator.ps1 - Starts the calculator application
|
## open-calculator.ps1 - Starts the calculator app
|
||||||
|
|
||||||
open-calculator.ps1
|
This script starts the calculator application.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## open-email-client.ps1 - Starts the default email client
|
## open-email-client.ps1 - Starts the default email client
|
||||||
|
|
||||||
open-email-client.ps1
|
This script starts the default email client.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## open-file-explorer.ps1 - Starts the File Explorer
|
## open-file-explorer.ps1 - Starts the File Explorer
|
||||||
|
|
||||||
open-file-explorer.ps1
|
This script starts the File Explorer.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## open-netflix.ps1 - Starts the Netflix app (needs to be installed)
|
## open-netflix.ps1 - Starts the Netflix app
|
||||||
|
|
||||||
open-netflix.ps1
|
This script starts the Netflix application.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## open-onedrive.ps1 - Opens the user's OneDrive folder
|
## open-onedrive.ps1 - Opens the user's OneDrive folder
|
||||||
|
|
||||||
open-onedrive.ps1
|
This script opens the user's OneDrive folder.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## open-recycle-bin.ps1 - Starts the File Explorer with the recycle bin folder
|
## open-recycle-bin.ps1 - Starts the File Explorer with the recycle bin folder
|
||||||
|
|
||||||
open-recycle-bin.ps1
|
This script starts the File Explorer with the recycle bin folder.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
## pick-commit.ps1 - Cherry-picks a Git commit into one or more branches
|
## pick-commit.ps1 - Cherry-picks a Git commit into one or more branches
|
||||||
|
|
||||||
pick-commit.ps1 [<CommitID>] [<CommitMessage>] [<Branches>] [<RepoDir>]
|
|
||||||
Cherry-picks a Git commit into one or more branches (branch names need to be separated by spaces)
|
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!
|
NOTE: in case of merge conflicts the script stops immediately!
|
||||||
|
|
||||||
@ -9,6 +8,7 @@ NOTE: in case of merge conflicts the script stops immediately!
|
|||||||
pick-commit.ps1 [[-CommitID] <String>] [[-CommitMessage] <String>] [[-Branches] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
pick-commit.ps1 [[-CommitID] <String>] [[-CommitMessage] <String>] [[-Branches] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-CommitID <String>
|
-CommitID <String>
|
||||||
|
Specifies the commit ID
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -17,6 +17,7 @@ pick-commit.ps1 [[-CommitID] <String>] [[-CommitMessage] <String>] [[-Branches]
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-CommitMessage <String>
|
-CommitMessage <String>
|
||||||
|
Specifies the commit message to use
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
@ -25,6 +26,7 @@ pick-commit.ps1 [[-CommitID] <String>] [[-CommitMessage] <String>] [[-Branches]
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-Branches <String>
|
-Branches <String>
|
||||||
|
Specifies the list of branches, separated by spaces
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 3
|
Position? 3
|
||||||
@ -33,6 +35,7 @@ pick-commit.ps1 [[-CommitID] <String>] [[-CommitMessage] <String>] [[-Branches]
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-RepoDir <String>
|
-RepoDir <String>
|
||||||
|
Specifies the path to the Git repository
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 4
|
Position? 4
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## play-files.ps1 - Plays the given audio files (supporting MP3 and WAV format)
|
## play-files.ps1 - Plays audio files (MP3 and WAV)
|
||||||
|
|
||||||
play-files.ps1 [<FilePattern>]
|
This script plays the given audio files (supporting MP3 and WAV format).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
play-files.ps1 [[-FilePattern] <String>] [<CommonParameters>]
|
play-files.ps1 [[-FilePattern] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-FilePattern <String>
|
-FilePattern <String>
|
||||||
|
Specifies the file pattern
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## play-jingle-bells.ps1 - Plays Jingle Bells
|
## play-jingle-bells.ps1 - Plays Jingle Bells
|
||||||
|
|
||||||
play-jingle-bells.ps1
|
This script plays Jingle Bells.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## play-m3u.ps1 - Plays the given playlist (in .M3U file format)
|
## play-m3u.ps1 - Plays a playlist (.M3U format)
|
||||||
|
|
||||||
play-m3u.ps1 [<filename>]
|
This script plays the given playlist (in .M3U file format)
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
play-m3u.ps1 [[-filename] <String>] [<CommonParameters>]
|
play-m3u.ps1 [[-filename] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-filename <String>
|
-filename <String>
|
||||||
|
Specifies the path to the playlist
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## play-mission-impossible.ps1 - Plays the Mission Impossible theme
|
## play-mission-impossible.ps1 - Plays the Mission Impossible theme
|
||||||
|
|
||||||
play-mission-impossible.ps1
|
This script plays the Mission Impossible theme.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## play-mp3.ps1 - Plays a sound file (in MP3 file format)
|
## play-mp3.ps1 - Plays a sound file (MP3 format)
|
||||||
|
|
||||||
play-mp3.ps1 [<MP3-file>]
|
This script plays a sound file (in .MP3 file format).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
play-mp3.ps1 [[-Filename] <String>] [<CommonParameters>]
|
play-mp3.ps1 [[-Filename] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Filename <String>
|
-Filename <String>
|
||||||
|
Specifies the path to the .MP3 file
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## play-super-mario.ps1 - Plays the Super Mario intro
|
## play-super-mario.ps1 - Plays the Super Mario intro
|
||||||
|
|
||||||
play-super-mario.ps1
|
This script plays the Super Mario intro.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## play-tetris-melody.ps1 - Plays the Tetris melody
|
## play-tetris-melody.ps1 - Plays the Tetris melody
|
||||||
|
|
||||||
play-tetris-melody.ps1
|
This script plays the Tetris melody.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## poweroff.ps1 - Halts the local computer (needs admin rights)
|
## poweroff.ps1 - Halts the local computer (needs admin rights)
|
||||||
|
|
||||||
poweroff.ps1
|
This script halts the local computer. It needs admin rights.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## publish-to-ipfs.ps1 - Publishes the given files & folders to IPFS
|
## publish-to-ipfs.ps1 - Publishes files & folders to IPFS
|
||||||
|
|
||||||
publish-to-ipfs.ps1 [<FilePattern>] [<HashList>]
|
This script publishes the given files and folders to IPFS.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
publish-to-ipfs.ps1 [[-FilePattern] <String>] [[-HashList] <String>] [[-DF_Hashes] <String>] [<CommonParameters>]
|
publish-to-ipfs.ps1 [[-FilePattern] <String>] [[-HashList] <String>] [[-DF_Hashes] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-FilePattern <String>
|
-FilePattern <String>
|
||||||
|
Specifies the file pattern
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ publish-to-ipfs.ps1 [[-FilePattern] <String>] [[-HashList] <String>] [[-DF_Hashe
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-HashList <String>
|
-HashList <String>
|
||||||
|
Specifies the path to the resulting hash list
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
@ -23,6 +25,7 @@ publish-to-ipfs.ps1 [[-FilePattern] <String>] [[-HashList] <String>] [[-DF_Hashe
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-DF_Hashes <String>
|
-DF_Hashes <String>
|
||||||
|
Specifies the path to the resulting digital forensic hashes
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 3
|
Position? 3
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## pull-repo.ps1 - Pulls updates for a local Git repository (including submodules)
|
## pull-repo.ps1 - Pulls updates for a Git repository (including submodules)
|
||||||
|
|
||||||
pull-repo.ps1 [<repo-dir>]
|
This script pulls updates for a local Git repository (including submodules).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
pull-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
pull-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-RepoDir <String>
|
-RepoDir <String>
|
||||||
|
Specifies the path to the Git repository
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## pull-repos.ps1 - Pulls updates for all Git repositories in a folder (including submodules)
|
## pull-repos.ps1 - Pulls updates for all Git repositories in a folder (including submodules)
|
||||||
|
|
||||||
pull-repos.ps1 [<ParentDir>]
|
This script pulls updates for all Git repositories in a folder (including submodules).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
pull-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
pull-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-ParentDir <String>
|
-ParentDir <String>
|
||||||
|
Specifies the path to the parent folder
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
## query-smart-data.ps1 - Queries and saves the S.M.A.R.T. data of your HDD's/SSD's
|
## query-smart-data.ps1 - Queries and saves the S.M.A.R.T. data of your HDD's/SSD's
|
||||||
|
|
||||||
query-smart-data.ps1 [<directory>]
|
Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given directory.
|
||||||
Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given directory
|
|
||||||
(use smart-data2csv.ps1 to generate a CSV table for analysis).
|
(use smart-data2csv.ps1 to generate a CSV table for analysis).
|
||||||
|
|
||||||
Requires smartctl (smartmontools) and admin rights. For automation copy this script to /etc/cron.daily
|
Requires smartctl (smartmontools) and admin rights. For automation copy this script to /etc/cron.daily
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
@ -11,6 +9,7 @@ Queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given
|
|||||||
query-smart-data.ps1 [[-Directory] <String>] [<CommonParameters>]
|
query-smart-data.ps1 [[-Directory] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Directory <String>
|
-Directory <String>
|
||||||
|
Specifies the path to the target directory
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## reboot-fritzbox.ps1 - Reboots the FRITZ!Box device
|
## reboot-fritzbox.ps1 - Reboots the FRITZ!Box device
|
||||||
|
|
||||||
reboot-fritzbox.ps1 [<Username>] [<Password>]
|
This script reboots the FRITZ!Box device
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
reboot-fritzbox.ps1 [[-Username] <String>] [[-Password] <String>] [<CommonParameters>]
|
reboot-fritzbox.ps1 [[-Username] <String>] [[-Password] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Username <String>
|
-Username <String>
|
||||||
|
Specifies the user name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ reboot-fritzbox.ps1 [[-Username] <String>] [[-Password] <String>] [<CommonParame
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-Password <String>
|
-Password <String>
|
||||||
|
Specifies the password
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## reboot.ps1 - Reboots the local computer (needs admin rights)
|
## reboot.ps1 - Reboots the local computer (needs admin rights)
|
||||||
|
|
||||||
reboot.ps1
|
This script reboots the local computer (needs admin rights).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## remind-me.ps1 - Creates a scheduled task that will display a popup message
|
## remind-me.ps1 - Creates a scheduled task that will display a popup message
|
||||||
|
|
||||||
remind-me.ps1
|
This script creates a scheduled task that will display a popup message.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
## remove-empty-dirs.ps1 - Removes all empty subfolders within a directory tree
|
## remove-empty-dirs.ps1 - Removes all empty subfolders within a directory tree
|
||||||
|
|
||||||
remove-empty-dirs.ps1 [<DirTree>]
|
This script removes all empty subfolders within a directory tree.
|
||||||
<DirTree> is the path to the directory tree
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
remove-empty-dirs.ps1 [[-DirTree] <String>] [<CommonParameters>]
|
remove-empty-dirs.ps1 [[-DirTree] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-DirTree <String>
|
-DirTree <String>
|
||||||
|
Specifies the path to the directory tree
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## remove-print-jobs.ps1 - Removes all jobs from all printers
|
## remove-print-jobs.ps1 - Removes all jobs from all printers
|
||||||
|
|
||||||
remove-print-jobs.ps1
|
This script removes all print jobs from all printer devices.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## remove-tag.ps1 - Removes a Git tag (locally, remote, or both)
|
## remove-tag.ps1 - Removes a Git tag (locally, remote, or both)
|
||||||
|
|
||||||
remove-tag.ps1 [<TagName>] [<Mode>] [<RepoDir>]
|
This script removes a Git tag, either locally, remote, or both.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
remove-tag.ps1 [[-TagName] <String>] [[-Mode] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
remove-tag.ps1 [[-TagName] <String>] [[-Mode] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-TagName <String>
|
-TagName <String>
|
||||||
|
Specifies the Git tag name
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ remove-tag.ps1 [[-TagName] <String>] [[-Mode] <String>] [[-RepoDir] <String>] [<
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-Mode <String>
|
-Mode <String>
|
||||||
|
Specifies either locally, remote, or both
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
@ -23,6 +25,7 @@ remove-tag.ps1 [[-TagName] <String>] [[-Mode] <String>] [[-RepoDir] <String>] [<
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-RepoDir <String>
|
-RepoDir <String>
|
||||||
|
Specifies the path to the Git repository
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 3
|
Position? 3
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
## replace-in-files.ps1 - Search and replace a pattern in the given files by the replacement
|
## replace-in-files.ps1 - Search and replace a pattern in the given files by the replacement
|
||||||
|
|
||||||
replace-in-files.ps1 [<pattern>] [<replacement>] [<files>]
|
This script searches and replaces a pattern in the given files by the replacement.
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
replace-in-files.ps1 [[-pattern] <String>] [[-replacement] <String>] [[-files] <String>] [<CommonParameters>]
|
replace-in-files.ps1 [[-pattern] <String>] [[-replacement] <String>] [[-files] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-pattern <String>
|
-pattern <String>
|
||||||
|
Specifies the pattern to look for
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -15,6 +16,7 @@ replace-in-files.ps1 [[-pattern] <String>] [[-replacement] <String>] [[-files] <
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-replacement <String>
|
-replacement <String>
|
||||||
|
Specifies the replacement
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
@ -23,6 +25,7 @@ replace-in-files.ps1 [[-pattern] <String>] [[-replacement] <String>] [[-files] <
|
|||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-files <String>
|
-files <String>
|
||||||
|
Specifies the file to scan
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 3
|
Position? 3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## restart-network-adapters.ps1 - Restarts all local network adapters (needs admin rights)
|
## restart-network-adapters.ps1 - Restarts all local network adapters (needs admin rights)
|
||||||
|
|
||||||
restart-network-adapters.ps1
|
This script restarts all local network adapters (needs admin rights).
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
```powershell
|
```powershell
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user