mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-24 17:03:45 +01:00
Update the manuals
This commit is contained in:
parent
c4d33be8cb
commit
3fcf9d0c6d
@ -1,2 +1,38 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## add-firewall-rules.ps1 - Adds firewall rules for executables (needs admin rights)
|
||||
|
||||
This script adds firewall rules for the given executable. Administrator rights are required.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/add-firewall-rules.ps1 [[-PathToExecutables] <String>] [<CommonParameters>]
|
||||
|
||||
-PathToExecutables <String>
|
||||
Specifies the path to the executables
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./add-firewall-rules C:\MyApp\bin
|
||||
Adding firewall rule for C:\MyApp\bin\app1.exe
|
||||
Adding firewall rule for C:\MyApp\bin\app2.exe
|
||||
...
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1*
|
||||
|
@ -1,2 +1,36 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## add-memo.ps1 - Adds a memo text to $HOME/Memos.csv
|
||||
|
||||
This script adds the given memo text to $HOME/Memos.csv.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/add-memo.ps1 [[-text] <String>] [<CommonParameters>]
|
||||
|
||||
-text <String>
|
||||
Specifies the text to memorize
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./add-memo "Buy apples"
|
||||
✔️ added to 📄/home/markus/Memos.csv
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## alert.ps1 - Handles and escalates an alert
|
||||
|
||||
This script handles and escalates the given alert message.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/alert.ps1 [[-Message] <String>] [<CommonParameters>]
|
||||
|
||||
-Message <String>
|
||||
Specifies the alert message
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./alert "Harddisk failure"
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of alert.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## build-repo.ps1 - Builds a Git repository
|
||||
|
||||
This scripts supports building with cmake, configure, autogen, Imakefile and Makefile.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/build-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||
|
||||
-RepoDir <String>
|
||||
Specifies the path to the Git repository
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./build-repo C:\MyRepo
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## build-repos.ps1 - Builds all Git repositories in a folder
|
||||
|
||||
This script builds all Git repositories in a given folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/build-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||
|
||||
-ParentDir <String>
|
||||
Specifies the path to the folder containing the Git repositories
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./build-repos C:\MyRepos
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-autostart.ps1 - Sets the working directory to the user's autostart folder
|
||||
|
||||
This script changes the working directory to the user's autostart folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-autostart.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-autostart
|
||||
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-desktop.ps1 - Sets the working directory to the user's desktop folder
|
||||
|
||||
This script changes the working directory to the user's desktop folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-desktop.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-desktop
|
||||
📂/home/markus/Desktop
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-docs.ps1 - Sets the working directory to the user's documents folder
|
||||
|
||||
This scripts changes the working directory to the user's documents folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-docs.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-docs
|
||||
📂/home/markus/Documents
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-downloads.ps1 - Sets the working directory to the user's downloads folder
|
||||
|
||||
This script changes the working directory to the user's downloads folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-downloads.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-downloads
|
||||
📂/home/markus/Downloads
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-dropbox.ps1 - Sets the working directory to the user's Dropbox folder
|
||||
|
||||
This script changes the working directory to the user's Dropbox folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-dropbox.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-dropbox
|
||||
📂/home/markus/Dropbox
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-home.ps1 - Sets the working directory to the user's home directory
|
||||
|
||||
This script changes the working directory to the user's home directory.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-home.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-home
|
||||
📂/home/markus
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-music.ps1 - Sets the working directory to the user's music folder
|
||||
|
||||
This script changes the working directory to the user's music folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-music.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-music
|
||||
📂/home/markus/Music
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-onedrive.ps1 - Sets the working directory to the user's OneDrive folder
|
||||
|
||||
This script changes the working directory to the user's OneDrive folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-onedrive.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-onedrive
|
||||
📂/home/markus/OneDrive
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-pics.ps1 - Sets the working directory to the user's pictures folder
|
||||
|
||||
This script changes the working directory to the user's pictures folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-pics.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-pics
|
||||
📂/home/markus/Pictures
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-repos.ps1 - Sets the working directory to the user's Git repositories folder
|
||||
|
||||
This script changes the working directory to the user's Git repositories folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-repos.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-repos
|
||||
📂/home/markus/Repos
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-root.ps1 - Sets the working directory to the root directory (C:\ on Windows)
|
||||
|
||||
This script changes the working directory to the root directory (C:\ on Windows).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-root.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-root
|
||||
📂C:\
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-scripts.ps1 - Sets the working directory to the PowerShell scripts folder
|
||||
|
||||
This script changes the working directory to the PowerShell scripts folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-scripts.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-scripts
|
||||
📂/home/markus/PowerShell/Scripts
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-ssh.ps1 - Sets the working directory to the user's SSH folder
|
||||
|
||||
This script changes the working directory to the user's SSH folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-ssh.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-ssh
|
||||
📂/home/markus/.ssh
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-up.ps1 - Sets the working directory to one level up
|
||||
|
||||
This script changes the working directory to one directory level up.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-up.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> .\cd-up
|
||||
(one level up)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-up2.ps1 - Sets the working directory to two directory levels up
|
||||
|
||||
This script changes the working directory to two directory level up.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-up2.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-up2
|
||||
(two levels up)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-up3.ps1 - Sets the working directory to three directory levels up
|
||||
|
||||
This script changes the working directory to three directory levels up.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-up3.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-up3
|
||||
(three levels up)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-up4.ps1 - Sets the working directory to four directory levels up
|
||||
|
||||
This script changes the working directory to four directory levels up.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-up4.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-up4
|
||||
(four levels up)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## cd-videos.ps1 - Sets the working directory to the user's videos folder
|
||||
|
||||
This script changes the working directory to the user's videos folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/cd-videos.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./cd-videos
|
||||
📂/home/markus/Videos
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-cpu-temp.ps1 - Checks the CPU temperature
|
||||
|
||||
This script checks the CPU temperature.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-cpu-temp.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-cpu-temp
|
||||
✔️ CPU has 30.3 °C: good
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-cpu-temp.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-dns-resolution.ps1 - Checks the DNS resolution with frequently used domain names
|
||||
|
||||
This script checks the DNS resolution with frequently used domain names.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-dns-resolution.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-dns-resolution
|
||||
✔️ 11.8 domains/sec (177 domains resolved in 15 sec)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-dns-resolution.ps1*
|
||||
|
@ -1,2 +1,45 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-drive-space.ps1 - Checks a drive for free space left (20 GB by default)
|
||||
|
||||
This script checks a drive for free space left (20 GB by default).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||
|
||||
-Drive <String>
|
||||
Specifies the drive to check
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-MinLevel <Int32>
|
||||
Specifies the minimum level in Gigabyte
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value 20
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-drive-space C
|
||||
✔️ 172 GB left on drive C (61 of 233 GB used)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1*
|
||||
|
@ -1,2 +1,36 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-file-system.ps1 - Checks the file system of a drive (needs admin rights)
|
||||
|
||||
This script checks the file system of a drive. It needs admin rights.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
||||
|
||||
-Drive <String>
|
||||
Specifies the drive to check
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-file-system C
|
||||
✔️ file system on drive C is clean
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1*
|
||||
|
@ -1,2 +1,33 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-health.ps1 - Checks the health of the local computer
|
||||
|
||||
This script checks the health of the local computer.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-health.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-health
|
||||
✔️ 1213 GB left for swap space (67 of 1280 GB used)
|
||||
✔️ 172 GB left on drive C (61 of 233 GB used)
|
||||
✔️ 30.3 °C CPU temperature - good
|
||||
✔️ 19.7 domains/s (177 domains resolved in 9 sec)
|
||||
✔️ 29 ms ping average (13 ms min, 110 ms max, 10 hosts)
|
||||
✔️ Windmill is healthy
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz
|
||||
License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1*
|
||||
|
@ -1,2 +1,36 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-ipv4-address.ps1 - Checks an IPv4 address for validity
|
||||
|
||||
This script checks the given IPv4 address for validity.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||
|
||||
-Address <String>
|
||||
Specifies the IPv4 address to check
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-ipv4-address 192.168.11.22
|
||||
✔️ IPv4 192.168.11.22 is valid
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1*
|
||||
|
@ -1,2 +1,36 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-ipv6-address.ps1 - Checks an IPv6 address for validity
|
||||
|
||||
This script checks the given IPv6 address for validity
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||
|
||||
-Address <String>
|
||||
Specifies the IPv6 address to check
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
||||
✔️ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1*
|
||||
|
@ -1,2 +1,37 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## 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.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
||||
|
||||
-MAC <String>
|
||||
Specifies the MAC address to check
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-mac-address 11:22:33:44:55:66
|
||||
✔️ MAC address 11:22:33:44:55:66 is valid
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1*
|
||||
|
@ -1,2 +1,37 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-ping.ps1 - Checks the ping latency from the local computer to selected Internet hosts
|
||||
|
||||
This script checks the ping latency from the local computer to selected Internet 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
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-ping.ps1 [[-hosts] <String>] [<CommonParameters>]
|
||||
|
||||
-hosts <String>
|
||||
Specifies the hosts to check (separated by comma)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value amazon.com,apple.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-ping
|
||||
✔️ Ping is 36 ms average (13 ms min, 109 ms max, using 10 hosts)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-ping.ps1*
|
||||
|
@ -1,2 +1,37 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-smart-devices.ps1 - Performs a selftest on your S.M.A.R.T. HDD/SSD devices.
|
||||
|
||||
This script performs a selftest on your S.M.A.R.T. HDD/SSD devices.
|
||||
It requires smartctl (smartmontools package) and admin rights.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-smart-devices.ps1 [[-type] <String>] [<CommonParameters>]
|
||||
|
||||
-type <String>
|
||||
Specifies the type of selftest: either short (default) or long
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value short
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-smart-devices
|
||||
✔️ short selftest started on S.M.A.R.T. device /dev/sda
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1*
|
||||
|
@ -1,2 +1,36 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-subnet-mask.ps1 - Checks the given subnet mask for validity
|
||||
|
||||
This script checks the given subnet mask for validity.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-subnet-mask.ps1 [[-address] <String>] [<CommonParameters>]
|
||||
|
||||
-address <String>
|
||||
Specifies the subnet mask to check
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-subnet-mask 255.255.255.0
|
||||
✔️ subnet mask 255.255.255.0 is valid
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1*
|
||||
|
@ -1,2 +1,36 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-swap-space.ps1 - Checks the free swap space
|
||||
|
||||
This script checks the free swap space.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-swap-space.ps1 [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||
|
||||
-MinLevel <Int32>
|
||||
Specifies the minimum level (50 GB by default)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value 50
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-swap-space
|
||||
✔️ 1213 GB left for swap space (67 of 1280 GB used)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1*
|
||||
|
@ -1,2 +1,37 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-symlinks.ps1 - Checks every symlink in a folder (including subfolders)
|
||||
|
||||
This script checks every symlink in a folder (including subfolders).
|
||||
Returns the number of broken symlinks as exit value.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-symlinks.ps1 [[-folder] <String>] [<CommonParameters>]
|
||||
|
||||
-folder <String>
|
||||
Specifies the path to the directory tree
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-symlinks .
|
||||
✔️ 0 out of 10 symlinks are broken in 📂/home/markus
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-weather.ps1 - Checks the weather for critical values
|
||||
|
||||
Checks the current weather for critical values.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-weather.ps1 [[-location] <String>] [<CommonParameters>]
|
||||
|
||||
-location <String>
|
||||
Specifies the location to use (determined automatically per default)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-weather
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-windows-system-files.ps1 - Checks the validity of the Windows system files (requires admin rights)
|
||||
|
||||
This script checks the validity of the Windows system files. It requires admin rights.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-windows-system-files.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-windows-system-files
|
||||
✔️ checked Windows system files
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-windows-system-files.ps1*
|
||||
|
@ -1,2 +1,36 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## check-xml-file.ps1 - Checks the given XML file for validity
|
||||
|
||||
This script checks the given XML file for validity.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/check-xml-file.ps1 [[-file] <String>] [<CommonParameters>]
|
||||
|
||||
-file <String>
|
||||
Specifies the path to the XML file to check
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-xml-file myfile.xml
|
||||
✔️ XML file is valid
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-xml-file.ps1*
|
||||
|
@ -1,2 +1,37 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## clean-repo.ps1 - Cleans a Git repository from untracked files (including submodules)
|
||||
|
||||
This script cleans a Git repository from untracked files (including submodules).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/clean-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||
|
||||
-RepoDir <String>
|
||||
Specifies the path to the Git repository
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./clean-repo C:\MyRepo
|
||||
🧹 Cleaning from untracked files...
|
||||
✔️ cleaned Git repository 📂C:\MyRepo in 0 sec
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of clean-repo.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## clean-repos.ps1 - Cleans all Git repositories in a folder from untracked files (including submodules)
|
||||
|
||||
This script cleans all Git repositories in a folder from untracked files (including submodules).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/clean-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||
|
||||
-ParentDir <String>
|
||||
Specifies the path to the parent folder
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./clean-repos C:\MyRepos
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of clean-repos.ps1*
|
||||
|
@ -1,2 +1,28 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## clear-recycle-bin.ps1 - Removes the content of the recycle bin folder permanently
|
||||
|
||||
This script removes the content of the recycle bin folder permanently.
|
||||
NOTE: can not be undo!
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/clear-recycle-bin.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./clear-recycle-bin
|
||||
✔️ cleared recycle bin
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of clear-recycle-bin.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## clone-repos.ps1 - Clones well-known Git repositories into a folder
|
||||
|
||||
This script clones well-known Git repositories into a folder.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/clone-repos.ps1 [[-folder] <String>] [<CommonParameters>]
|
||||
|
||||
-folder <String>
|
||||
Specifies the target folder
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./clone-repos C:\Users\Markus\Repos
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of clone-repos.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-calculator.ps1 - Closes the calculator program
|
||||
|
||||
This script closes the calculator program gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-calculator.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-calculator
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-calculator.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-cortana.ps1 - Closes Microsoft's Cortana application
|
||||
|
||||
This script closes Microsoft's Cortana application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-cortana.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-cortana
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-cortana.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-file-explorer.ps1 - Closes Microsoft's File Explorer
|
||||
|
||||
This script closes Microsoft's File Explorer gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-file-explorer.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-file-explorer
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-file-explorer.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-google-chrome.ps1 - Closes the Google Chrome Web browser
|
||||
|
||||
This script closes the Google Chrome Web browser gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-google-chrome.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-google-chrome
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-google-chrome.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-microsoft-edge.ps1 - Closes the Microsoft Edge Web browser
|
||||
|
||||
This script closes the Microsoft Edge Web browser gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-microsoft-edge.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-microsoft-edge
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-edge.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-microsoft-store.ps1 - Closes the Microsoft Store app
|
||||
|
||||
This script closes the Microsoft Store application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-microsoft-store.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-microsoft-store
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-microsoft-store.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-mozilla-firefox.ps1 - Closes Mozilla's Firefox Web browser
|
||||
|
||||
This script closes Mozilla's Firefox Web browser gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-mozilla-firefox.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-mozilla-firefox
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-mozilla-firefox.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-mozilla-thunderbird.ps1 - Closes Mozilla's Thunderbird email client
|
||||
|
||||
This script closes the Mozilla Thunderbird email client gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-mozilla-thunderbird.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-mozilla-thunderbird
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-mozilla-thunderbird.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-netflix.ps1 - Closes the Netflix application
|
||||
|
||||
This script closes the Netflix application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-netflix.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-netflix
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-netflix.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-one-drive.ps1 - Closes Microsoft's OneDrive
|
||||
|
||||
This script closes Microsoft's OneDrive gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-one-drive.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-one-drive
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-one-drive.ps1*
|
||||
|
@ -1,2 +1,53 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-program.ps1 - Closes a program's processes
|
||||
|
||||
This script closes a program's processes gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-program.ps1 [[-FullProgramName] <String>] [[-ProgramName] <String>] [[-ProgramAliasName] <String>] [<CommonParameters>]
|
||||
|
||||
-FullProgramName <String>
|
||||
Specifies the full program name
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-ProgramName <String>
|
||||
Specifies the program name
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-ProgramAliasName <String>
|
||||
Specifies the program alias name
|
||||
|
||||
Required? false
|
||||
Position? 3
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-program "Google Chrome" "chrome.exe"
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-program.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-screen-magnifier.ps1 - Closes the Screen Magnifier
|
||||
|
||||
This script closes the Windows Screen Magnifier application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-screen-magnifier.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-screen-magnifier
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-screen-magnifier.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-serenade.ps1 - Closes the Serenade.ai application
|
||||
|
||||
This script closes the Serenade.ai application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-serenade.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-serenade
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-serenade.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-snipping-tool.ps1 - Closes the Snipping Tool
|
||||
|
||||
This script closes the Snipping Tool application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-snipping-tool.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-snipping-tool
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-snipping-tool.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-spotify.ps1 - Closes Spotify
|
||||
|
||||
This script closes the Spotify application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-spotify.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-spotify
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-spotify.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-system-settings.ps1 - Closes the System Settings window
|
||||
|
||||
This script closes the System Settings window gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-system-settings.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-system-settings
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-system-settings.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-task-manager.ps1 - Closes the Task Manager
|
||||
|
||||
This script closes the Task Manager application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-task-manager.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-task-manager
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-task-manager.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-vlc.ps1 - Closes the VLC media player application
|
||||
|
||||
This script closes the VLC media player application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-vlc.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-vlc
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-vlc.ps1*
|
||||
|
@ -1,2 +1,27 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## close-windows-terminal.ps1 - Closes the Windows Terminal application
|
||||
|
||||
This script closes the Windows Terminal application gracefully.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/close-windows-terminal.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./close-windows-terminal
|
||||
(Windows Terminal is closed)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of close-windows-terminal.ps1*
|
||||
|
@ -1,2 +1,53 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## configure-git.ps1 - Configures the user settings for Git
|
||||
|
||||
This script configures the user settings for Git.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/configure-git.ps1 [[-FullName] <String>] [[-EmailAddress] <String>] [[-FavoriteEditor] <String>] [<CommonParameters>]
|
||||
|
||||
-FullName <String>
|
||||
Specifies the user's full name
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-EmailAddress <String>
|
||||
Specifies the user's email address
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-FavoriteEditor <String>
|
||||
Specifies the user's favorite text editor
|
||||
|
||||
Required? false
|
||||
Position? 3
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./configure-git
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of configure-git.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## convert-csv2txt.ps1 - Converts a .CSV file into a text file
|
||||
|
||||
This script converts a .CSV file into a text file.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/convert-csv2txt.ps1 [[-Path] <String>] [<CommonParameters>]
|
||||
|
||||
-Path <String>
|
||||
Specifies the path to the .CSV file
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./convert-csv2txt salaries.csv
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of convert-csv2txt.ps1*
|
||||
|
@ -1,2 +1,71 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## convert-mysql2csv.ps1 - Convert a MySQL database table to a .CSV file
|
||||
|
||||
This script converts a MySQL database table to a .CSV file.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/convert-mysql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <String>] [[-password] <String>] [[-query] <String>] [<CommonParameters>]
|
||||
|
||||
-server <String>
|
||||
Specifies the server's hostname or IP address
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-database <String>
|
||||
Specifies the database name
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-username <String>
|
||||
Specifies the user name
|
||||
|
||||
Required? false
|
||||
Position? 3
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-password <String>
|
||||
Specifies the password
|
||||
|
||||
Required? false
|
||||
Position? 4
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-query <String>
|
||||
Specifies the SQL query
|
||||
|
||||
Required? false
|
||||
Position? 5
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./convert-mysql2csv
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of convert-mysql2csv.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## convert-ps2bat.ps1 - Converts PowerShell scripts to batch files
|
||||
|
||||
This script converts one or more PowerShell scripts to .bat batch files.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/convert-ps2bat.ps1 [[-Filepattern] <String>] [<CommonParameters>]
|
||||
|
||||
-Filepattern <String>
|
||||
Specifies the file pattern
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./convert-ps2bat *.ps1
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of convert-ps2bat.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## convert-ps2md.ps1 - Converts the comment-based help of a PowerShell script to Markdown
|
||||
|
||||
This script converts the comment-based help of a PowerShell script to Markdown.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/convert-ps2md.ps1 [[-filename] <String>] [<CommonParameters>]
|
||||
|
||||
-filename <String>
|
||||
Specifies the path to the PowerShell script
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./convert-ps2md myscript.ps1
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of convert-ps2md.ps1*
|
||||
|
@ -1,2 +1,71 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## convert-sql2csv.ps1 - Converts a SQL database table to a .CSV file
|
||||
|
||||
This script converts a SQL database table to a .CSV file.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/convert-sql2csv.ps1 [[-server] <String>] [[-database] <String>] [[-username] <String>] [[-password] <String>] [[-query] <String>] [<CommonParameters>]
|
||||
|
||||
-server <String>
|
||||
Specifies the server's hostname or IP address
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-database <String>
|
||||
Specifies the database name
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-username <String>
|
||||
Specifies the user name
|
||||
|
||||
Required? false
|
||||
Position? 3
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-password <String>
|
||||
Specifies the password
|
||||
|
||||
Required? false
|
||||
Position? 4
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-query <String>
|
||||
Specifies the SQL query
|
||||
|
||||
Required? false
|
||||
Position? 5
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./convert-sql2csv
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of convert-sql2csv.ps1*
|
||||
|
@ -1,2 +1,44 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## convert-txt2wav.ps1 - Converts text to a .WAV audio file
|
||||
|
||||
This script converts text to a .WAV audio file.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/convert-txt2wav.ps1 [[-Text] <String>] [[-WavFile] <String>] [<CommonParameters>]
|
||||
|
||||
-Text <String>
|
||||
Specifies the text to use
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-WavFile <String>
|
||||
Specifies the path to the resulting WAV file
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./convert-txt2wav "Hello World" spoken.wav
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of convert-txt2wav.ps1*
|
||||
|
@ -1,2 +1,44 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## decrypt-file.ps1 - Decrypts the given file
|
||||
|
||||
This script decrypts the given file.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/decrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
||||
|
||||
-Path <String>
|
||||
Specifies the path to the file to decrypt
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-Password <String>
|
||||
Specifies the password
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./decrypt-file-rules C:\MyFile.txt "123"
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of decrypt-file.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## display-time.ps1 - Displays the current time
|
||||
|
||||
Displays the current time (for 10 seconds by default)
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/display-time.ps1 [[-Seconds] <Int32>] [<CommonParameters>]
|
||||
|
||||
-Seconds <Int32>
|
||||
Specifies the number of seconds to display the time
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value 10
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./display-time
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of display-time.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## download-dir.ps1 - Downloads a folder (including subfolders) from an URL
|
||||
|
||||
This script downloads a folder (including subfolders) from the given URL.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/download-dir.ps1 [[-URL] <String>] [<CommonParameters>]
|
||||
|
||||
-URL <String>
|
||||
Specifies the URL where to download from
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./download-dir https://www.cnn.com
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of download-dir.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## download-file.ps1 - Downloads a file from an URL
|
||||
|
||||
This script downloads a file from the given URL
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/download-file.ps1 [[-URL] <String>] [<CommonParameters>]
|
||||
|
||||
-URL <String>
|
||||
Specifies the URL where to download from
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./download-file https://www.cnn.com/index.html
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of download-file.ps1*
|
||||
|
37
Docs/edit.md
37
Docs/edit.md
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## edit.ps1 - Opens an editor to edit a file
|
||||
|
||||
Opens a text editor to edit the given file.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/edit.ps1 [[-Filename] <String>] [<CommonParameters>]
|
||||
|
||||
-Filename <String>
|
||||
Specifies the path to the filename
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./edit C:\MyFile.txt
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of edit.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## enable-crash-dumps.ps1 - Enables the writing of crash dumps
|
||||
|
||||
Enables the writing of crash dumps.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/enable-crash-dumps.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./enable-crash-dumps
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of enable-crash-dumps.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## enable-god-mode.ps1 - Enables the god mode
|
||||
|
||||
This script enables the god mode. It adds a new icon to the desktop.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/enable-god-mode.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./enable-god-mode
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of enable-god-mode.ps1*
|
||||
|
@ -1,2 +1,44 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## encrypt-file.ps1 - Encrypts a file
|
||||
|
||||
This script encrypts the given file.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/encrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
||||
|
||||
-Path <String>
|
||||
Specifies the path to the file to encrypt
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-Password <String>
|
||||
Specifies the password to use
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./encrypt-file C:\MyFile.txt "123"
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of encrypt-file.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## enter-chat.ps1 - Enters a chat using a common network shared file
|
||||
|
||||
This script enters a chat using a common network shared file.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/enter-chat.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./enter-chat
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of enter-chat.ps1*
|
||||
|
@ -1,2 +1,44 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## export-to-manuals.ps1 - Exports all scripts as manuals
|
||||
|
||||
This script exports the comment based help of all PowerShell scripts as manuals.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/export-to-manuals.ps1 [[-FilePattern] <String>] [[-TargetDir] <String>] [<CommonParameters>]
|
||||
|
||||
-FilePattern <String>
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PSScriptRoot/*.ps1"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-TargetDir <String>
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value "$PSScriptRoot/../Docs"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./export-to-manuals.ps1
|
||||
Found 264 scripts, exporting them to /home/markus/PowerShell/Docs...
|
||||
✔️ exported 264 PowerShell scripts in 28 sec
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of export-to-manuals.ps1*
|
||||
|
@ -1,2 +1,64 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## export-to-serenade.ps1 - Exports all scripts to Serenade for voice control
|
||||
|
||||
This script exports all PowerShell scripts to Serenade to execute them by voice.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/export-to-serenade.ps1 [[-WakeWord] <String>] [[-FilePattern] <String>] [[-Application] <String>] [[-TargetFile] <String>] [<CommonParameters>]
|
||||
|
||||
-WakeWord <String>
|
||||
Specifies the wakeword (none by default)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-FilePattern <String>
|
||||
Specifies the file pattern for the scripts ("$PSScriptRoot/*.ps1" by default)
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value "$PSScriptRoot/*.ps1"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-Application <String>
|
||||
Specifies the application to be used
|
||||
|
||||
Required? false
|
||||
Position? 3
|
||||
Default value terminal
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-TargetFile <String>
|
||||
Specifies the target file ("$HOME/.serenade/scripts/PowerShell.js" by default)
|
||||
|
||||
Required? false
|
||||
Position? 4
|
||||
Default value "$HOME/.serenade/scripts/PowerShell.js"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./export-to-serenade.ps1 Computer
|
||||
⏳ Exporting 264 PowerShell scripts to C:\Users\Markus/.serenade/scripts/PowerShell.js...
|
||||
✔️ exported 264 scripts with wakework "Computer" to Serenade in 22 sec
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of export-to-serenade.ps1*
|
||||
|
@ -1,2 +1,37 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## fetch-repo.ps1 - Fetches updates for a local Git repository (including submodules)
|
||||
|
||||
This script fetches updates for a local Git repository (including submodules).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/fetch-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||
|
||||
-RepoDir <String>
|
||||
Specifies the path to the Git repository.
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./fetch-repo
|
||||
🢃 Fetching updates...
|
||||
✔️ fetched updates for Git repository 📂PowerShell in 14 sec
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of fetch-repo.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## fetch-repos.ps1 - Fetches updates for all Git repositories in a folder (including submodules)
|
||||
|
||||
This script fetches updates for all Git repositories in a folder (including submodules).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/fetch-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||
|
||||
-ParentDir <String>
|
||||
Specifies the path to the parent folder
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./fetch-repos C:\MyRepos
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of fetch-repos.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## find-android-phone.ps1 - Opens Google Find My Device
|
||||
|
||||
This script launches the Web browser with the Google Find My Device website.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/find-android-phone.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./open-android-phone
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of find-android-phone.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## hibernate.ps1 - Enables hibernate mode for the local computer (needs admin rights)
|
||||
|
||||
This script enables hibernate mode for the local computer. It needs admin rights.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/hibernate.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./hibernate
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of hibernate.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## inspect-exe.ps1 - Prints basic information of an executable file
|
||||
|
||||
This script prints basic information of an executable file.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/inspect-exe.ps1 [[-PathToExe] <String>] [<CommonParameters>]
|
||||
|
||||
-PathToExe <String>
|
||||
Specifies the path to the executable file
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./inspect-exe C:\MyApp.exe
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of inspect-exe.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## install-github-cli.ps1 - Installs GitHub CLI
|
||||
|
||||
This script installs GitHub command-line interface (CLI).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/install-github-cli.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./install-github-cli
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of install-github-cli.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## install-google-chrome.ps1 - Installs the latest Google Chrome browser
|
||||
|
||||
This script installs the latest Google Chrome Web browser.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/install-google-chrome.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./install-google-chrome
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of install-google-chrome.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## install-knot-resolver.ps1 - Installs Knot Resolver (needs admin rights)
|
||||
|
||||
This script installs Knot Resolver. Knot Resolver is a DNS resolver daemon. It needs admin rights.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/install-knot-resolver.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./install-knot-resolver
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of install-knot-resolver.ps1*
|
||||
|
@ -1,2 +1,35 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## 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.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/install-signal-cli.ps1 [[-Version] <String>] [<CommonParameters>]
|
||||
|
||||
-Version <String>
|
||||
Specifies the version to install
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./install-signal-cli 0.11.12
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of install-signal-cli.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## install-ssh-client.ps1 - Installs the SSH client (needs admin rights)
|
||||
|
||||
This script installs the SSH client (needs admin rights).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/install-ssh-client.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./install-ssh-client
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of install-ssh-client.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## install-ssh-server.ps1 - Installs the SSH server (needs admin rights)
|
||||
|
||||
This script installs the SSH server (needs admin rights).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/install-ssh-server.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./install-ssh-server
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of install-ssh-server.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## install-updates.ps1 - Installs updates for the local machine (needs admin rights)
|
||||
|
||||
This script installs updates for the local machine (needs admin rights).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/install-updates.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./install-updates
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of install-updates.ps1*
|
||||
|
@ -1,2 +1,159 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## 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
|
||||
extensions to be installed using the -AdditionalExtensions parameter.
|
||||
The -LaunchWhenDone parameter will cause VS Code to be launched as
|
||||
soon as installation has completed.
|
||||
|
||||
Please contribute improvements to this script on GitHub!
|
||||
|
||||
https://github.com/PowerShell/vscode-powershell/blob/master/scripts/Install-VSCode.ps1
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/install-vscode.ps1 [[-Architecture] <String>] [[-BuildEdition] <String>] [[-AdditionalExtensions] <String[]>] [-LaunchWhenDone] [-EnableContextMenus] [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||
|
||||
-Architecture <String>
|
||||
A validated string defining the bit version to download. Values can be either 64-bit or 32-bit.
|
||||
If 64-bit is chosen and the OS Architecture does not match, then the 32-bit build will be
|
||||
downloaded instead. If parameter is not used, then 64-bit is used as default.
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value 64-bit
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-BuildEdition <String>
|
||||
A validated string defining which build edition or "stream" to download:
|
||||
Stable or Insiders Edition (system install or user profile install).
|
||||
If the parameter is not used, then stable is downloaded as default.
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value Stable-System
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-AdditionalExtensions <String[]>
|
||||
An array of strings that are the fully-qualified names of extensions to be
|
||||
installed in addition to the PowerShell extension. The fully qualified
|
||||
name is formatted as "<publisher name>.<extension name>" and can be found
|
||||
next to the extension's name in the details tab that appears when you
|
||||
click an extension in the Extensions panel in Visual Studio Code.
|
||||
|
||||
Required? false
|
||||
Position? 3
|
||||
Default value @()
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-LaunchWhenDone [<SwitchParameter>]
|
||||
When present, causes Visual Studio Code to be launched as soon as installation
|
||||
has finished.
|
||||
|
||||
Required? false
|
||||
Position? named
|
||||
Default value False
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-EnableContextMenus [<SwitchParameter>]
|
||||
When present, causes the installer to configure the Explorer context menus
|
||||
|
||||
Required? false
|
||||
Position? named
|
||||
Default value False
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-WhatIf [<SwitchParameter>]
|
||||
|
||||
Required? false
|
||||
Position? named
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-Confirm [<SwitchParameter>]
|
||||
|
||||
Required? false
|
||||
Position? named
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS > Install-VSCode.ps1 -Architecture 32-bit
|
||||
|
||||
|
||||
|
||||
Installs Visual Studio Code (32-bit) and the powershell extension.
|
||||
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS > Install-VSCode.ps1 -LaunchWhenDone
|
||||
|
||||
|
||||
|
||||
Installs Visual Studio Code (64-bit) and the PowerShell extension and then launches
|
||||
the editor after installation completes.
|
||||
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS > Install-VSCode.ps1 -AdditionalExtensions 'eamodio.gitlens', 'vscodevim.vim'
|
||||
|
||||
|
||||
|
||||
Installs Visual Studio Code (64-bit), the PowerShell extension, and additional
|
||||
extensions.
|
||||
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS > Install-VSCode.ps1 -BuildEdition Insider-User -LaunchWhenDone
|
||||
|
||||
|
||||
|
||||
Installs Visual Studio Code Insiders Edition (64-bit) to the user profile and then launches the editor
|
||||
after installation completes.
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
This script is licensed under the MIT License:
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of install-vscode.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## install-wsl.ps1 - Installs Windows Subsystem for Linux (needs admin rights)
|
||||
|
||||
This script installs Windows Subsystem for Linux. It needs admin rights.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/install-wsl.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./install-wsl
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of install-wsl.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## introduce-powershell.ps1 - Introduces PowerShell to new users
|
||||
|
||||
This script introduces PowerShell to new users.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/introduce-powershell.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./introduce-powershell
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of introduce-powershell.ps1*
|
||||
|
@ -1,2 +1,34 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## list-aliases.ps1 - Lists all PowerShell aliases
|
||||
|
||||
This scripts lists all PowerShell aliases.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/list-aliases.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./list-aliases
|
||||
|
||||
|
||||
|
||||
CommandType Name Version Source
|
||||
----------- ---- ------- ------
|
||||
Alias CFS -> ConvertFrom-String 3.1.0.0 Microsoft.PowerShell.Utility
|
||||
Alias fhx -> Format-Hex 3.1.0.0 Microsoft.PowerShell.Utility
|
||||
...
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of list-aliases.ps1*
|
||||
|
@ -1,2 +1,44 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## list-anagrams.ps1 - Lists all anagrams of the given word
|
||||
|
||||
This script lists all anagrams of the given word.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/list-anagrams.ps1 [[-Word] <String>] [[-Columns] <Int32>] [<CommonParameters>]
|
||||
|
||||
-Word <String>
|
||||
Specifies the word to use
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-Columns <Int32>
|
||||
Specifies the number of columns
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value 8
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./list-anagrams Baby
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of list-anagrams.ps1*
|
||||
|
@ -1,2 +1,44 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## list-branches.ps1 - Lists all branches in a Git repository
|
||||
|
||||
This script lists all branches in a Git repository.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/list-branches.ps1 [[-RepoDir] <String>] [[-SearchPattern] <String>] [<CommonParameters>]
|
||||
|
||||
-RepoDir <String>
|
||||
Specifies the path to the Git repository (current working directory by default)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value "$PWD"
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-SearchPattern <String>
|
||||
Specifies the search patter (anything by default)
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value *
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./list-branches
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of list-branches.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## list-cheat-sheet.ps1 - Lists the PowerShell cheat sheet
|
||||
|
||||
This script lists the PowerShell cheat sheet.
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/list-cheat-sheet.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./list-cheat-sheet
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of list-cheat-sheet.ps1*
|
||||
|
@ -1,2 +1,26 @@
|
||||
⚠️ Error: Could not load file or assembly 'System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
|
||||
(convert-ps2md.ps1:57)
|
||||
## list-city-weather.ps1 - Lists current weather of cities world-wide
|
||||
|
||||
This script lists the current weather of cities world-wide (west to east).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
/home/markus/Repos/PowerShell/Scripts/list-city-weather.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./list-city-weather
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of list-city-weather.ps1*
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user