mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-11 16:39:10 +01:00
Rename to close-google-chrome.ps1
This commit is contained in:
parent
a00cb9a299
commit
bd4e4b8303
@ -42,10 +42,10 @@ clean-repos.ps1, Cleans all Git repositories under the current/given directory f
|
|||||||
clear-recycle-bin.ps1, Removes the content of the recycle bin folder (can not be undo!)
|
clear-recycle-bin.ps1, Removes the content of the recycle bin folder (can not be undo!)
|
||||||
clone-repos.ps1, Clones well-known Git repositories
|
clone-repos.ps1, Clones well-known Git repositories
|
||||||
close-calculator.ps1, Closes the calculator program gracefully
|
close-calculator.ps1, Closes the calculator program gracefully
|
||||||
close-chrome.ps1, Closes the Google Chrome Web browser
|
|
||||||
close-cortana.ps1, Closes Cortana gracefully
|
close-cortana.ps1, Closes Cortana gracefully
|
||||||
close-file-explorer.ps1, Closes Microsoft File Explorer gracefully
|
close-file-explorer.ps1, Closes Microsoft File Explorer gracefully
|
||||||
close-firefox.ps1, Closes the Firefox Web browser
|
close-firefox.ps1, Closes the Firefox Web browser
|
||||||
|
close-google-chrome.ps1, Closes the Google Chrome Web browser
|
||||||
close-program.ps1, Closes the given program gracefully
|
close-program.ps1, Closes the given program gracefully
|
||||||
close-microsoft-edge.ps1, Closes the Microsoft Edge Web browser
|
close-microsoft-edge.ps1, Closes the Microsoft Edge Web browser
|
||||||
close-microsoft-store.ps1, Closes the Microsoft Store app
|
close-microsoft-store.ps1, Closes the Microsoft Store app
|
||||||
|
|
26
Docs/close-google-chrome.md
Normal file
26
Docs/close-google-chrome.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
## close-google-chrome.ps1 - Closes the Google Chrome Web browser
|
||||||
|
|
||||||
|
This script closes the Google Chrome Web browser gracefully.
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
```powershell
|
||||||
|
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*
|
@ -95,10 +95,10 @@ Mega Collection of PowerShell Scripts
|
|||||||
| Script | Description | Help |
|
| Script | Description | Help |
|
||||||
| ---------------------------------------------------- | ------------------------------------------------------------------ | --------------------------------------- |
|
| ---------------------------------------------------- | ------------------------------------------------------------------ | --------------------------------------- |
|
||||||
| [close-calculator.ps1](Scripts/close-calculator.ps1) | Closes the calculator application | [Help](Docs/close-calculator.md) |
|
| [close-calculator.ps1](Scripts/close-calculator.ps1) | Closes the calculator application | [Help](Docs/close-calculator.md) |
|
||||||
| [close-chrome.ps1](Scripts/close-chrome.ps1) | Closes the Google Chrome Web browser | [Help](Docs/close-chrome.md) |
|
|
||||||
| [close-cortana.ps1](Scripts/close-cortana.ps1) | Closes Cortana | [Help](Docs/close-cortana.md) |
|
| [close-cortana.ps1](Scripts/close-cortana.ps1) | Closes Cortana | [Help](Docs/close-cortana.md) |
|
||||||
| [close-file-explorer.ps1](Scripts/close-file-explorer.ps1) | Closes Microsoft File Explorer | [Help](Docs/close-file-explorer.md) |
|
| [close-file-explorer.ps1](Scripts/close-file-explorer.ps1) | Closes Microsoft File Explorer | [Help](Docs/close-file-explorer.md) |
|
||||||
| [close-firefox.ps1](Scripts/close-firefox.ps1) | Closes the Firefox Web browser | [Help](Docs/close-firefox.md) |
|
| [close-firefox.ps1](Scripts/close-firefox.ps1) | Closes the Firefox Web browser | [Help](Docs/close-firefox.md) |
|
||||||
|
| [close-google-chrome.ps1](Scripts/close-google-chrome.ps1)| Closes the Google Chrome Web browser | [Help](Docs/close-google-chrome.md) |
|
||||||
| [close-program.ps1](Scripts/close-program.ps1) | Closes the given program gracefully | [Help](Docs/close-program.md) |
|
| [close-program.ps1](Scripts/close-program.ps1) | Closes the given program gracefully | [Help](Docs/close-program.md) |
|
||||||
| [close-microsoft-edge.ps1](Scripts/close-microsoft-edge.ps1)| Closes the Microsoft Edge Web browser | [Help](Docs/close-microsoft-edge.md) |
|
| [close-microsoft-edge.ps1](Scripts/close-microsoft-edge.ps1)| Closes the Microsoft Edge Web browser | [Help](Docs/close-microsoft-edge.md) |
|
||||||
| [close-microsoft-store.ps1](Scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app | [Help](Docs/close-microsoft-store.md) |
|
| [close-microsoft-store.ps1](Scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app | [Help](Docs/close-microsoft-store.md) |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This script closes the Google Chrome Web browser gracefully.
|
This script closes the Google Chrome Web browser gracefully.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./close-chrome
|
PS> ./close-google-chrome
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz · License: CC0
|
Author: Markus Fleschutz · License: CC0
|
||||||
.LINK
|
.LINK
|
@ -11,5 +11,7 @@
|
|||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
#Requires -RunAsAdministrator
|
||||||
|
|
||||||
& "$PSScriptRoot/close-program.ps1" "Task Manager" "Taskmgr" "Taskmgr.exe"
|
& "$PSScriptRoot/close-program.ps1" "Task Manager" "Taskmgr" "Taskmgr.exe"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
|
Loading…
Reference in New Issue
Block a user