Skip to content

Commit bd4e4b8

Browse files
committed
Rename to close-google-chrome.ps1
1 parent a00cb9a commit bd4e4b8

5 files changed

Lines changed: 31 additions & 3 deletions

File tree

Data/scripts.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ clean-repos.ps1, Cleans all Git repositories under the current/given directory f
4242
clear-recycle-bin.ps1, Removes the content of the recycle bin folder (can not be undo!)
4343
clone-repos.ps1, Clones well-known Git repositories
4444
close-calculator.ps1, Closes the calculator program gracefully
45-
close-chrome.ps1, Closes the Google Chrome Web browser
4645
close-cortana.ps1, Closes Cortana gracefully
4746
close-file-explorer.ps1, Closes Microsoft File Explorer gracefully
4847
close-firefox.ps1, Closes the Firefox Web browser
48+
close-google-chrome.ps1, Closes the Google Chrome Web browser
4949
close-program.ps1, Closes the given program gracefully
5050
close-microsoft-edge.ps1, Closes the Microsoft Edge Web browser
5151
close-microsoft-store.ps1, Closes the Microsoft Store app

Docs/close-google-chrome.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## close-google-chrome.ps1 - Closes the Google Chrome Web browser
2+
3+
This script closes the Google Chrome Web browser gracefully.
4+
5+
## Parameters
6+
```powershell
7+
close-google-chrome.ps1 [<CommonParameters>]
8+
9+
[<CommonParameters>]
10+
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
11+
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
12+
```
13+
14+
## Example
15+
```powershell
16+
PS> ./close-google-chrome
17+
18+
```
19+
20+
## Notes
21+
Author: Markus Fleschutz · License: CC0
22+
23+
## Related Links
24+
https://github.com/fleschutz/PowerShell
25+
26+
*Generated by convert-ps2md.ps1 using the comment-based help of close-google-chrome.ps1*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ Mega Collection of PowerShell Scripts
9595
| Script | Description | Help |
9696
| ---------------------------------------------------- | ------------------------------------------------------------------ | --------------------------------------- |
9797
| [close-calculator.ps1](Scripts/close-calculator.ps1) | Closes the calculator application | [Help](Docs/close-calculator.md) |
98-
| [close-chrome.ps1](Scripts/close-chrome.ps1) | Closes the Google Chrome Web browser | [Help](Docs/close-chrome.md) |
9998
| [close-cortana.ps1](Scripts/close-cortana.ps1) | Closes Cortana | [Help](Docs/close-cortana.md) |
10099
| [close-file-explorer.ps1](Scripts/close-file-explorer.ps1) | Closes Microsoft File Explorer | [Help](Docs/close-file-explorer.md) |
101100
| [close-firefox.ps1](Scripts/close-firefox.ps1) | Closes the Firefox Web browser | [Help](Docs/close-firefox.md) |
101+
| [close-google-chrome.ps1](Scripts/close-google-chrome.ps1)| Closes the Google Chrome Web browser | [Help](Docs/close-google-chrome.md) |
102102
| [close-program.ps1](Scripts/close-program.ps1) | Closes the given program gracefully | [Help](Docs/close-program.md) |
103103
| [close-microsoft-edge.ps1](Scripts/close-microsoft-edge.ps1)| Closes the Microsoft Edge Web browser | [Help](Docs/close-microsoft-edge.md) |
104104
| [close-microsoft-store.ps1](Scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app | [Help](Docs/close-microsoft-store.md) |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.DESCRIPTION
55
This script closes the Google Chrome Web browser gracefully.
66
.EXAMPLE
7-
PS> ./close-chrome
7+
PS> ./close-google-chrome
88
.NOTES
99
Author: Markus Fleschutz · License: CC0
1010
.LINK

Scripts/close-task-manager.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@
1111
https://github.com/fleschutz/PowerShell
1212
#>
1313

14+
#Requires -RunAsAdministrator
15+
1416
& "$PSScriptRoot/close-program.ps1" "Task Manager" "Taskmgr" "Taskmgr.exe"
1517
exit 0 # success

0 commit comments

Comments
 (0)