mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-04 22:38:34 +02:00
Add open-microsoft-store.ps1 and close-microsoft-store.ps1
This commit is contained in:
parent
cbe13303dd
commit
84f030a0ef
@ -48,6 +48,7 @@ close-edge.ps1, Closes the Microsoft Edge Web browser
|
|||||||
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-program.ps1, Closes the given program gracefully
|
close-program.ps1, Closes the given program gracefully
|
||||||
|
close-microsoft-store.ps1, Closes the Microsoft Store app
|
||||||
close-netflix.ps1, Closes the Netflix application gracefully
|
close-netflix.ps1, Closes the Netflix application gracefully
|
||||||
close-onedrive.ps1, Closes Microsoft OneDrive gracefully
|
close-onedrive.ps1, Closes Microsoft OneDrive gracefully
|
||||||
close-serenade.ps1, Closes the Serenade.ai application gracefully
|
close-serenade.ps1, Closes the Serenade.ai application gracefully
|
||||||
@ -179,6 +180,7 @@ open-google-search.ps1, Opens Google Search
|
|||||||
open-google-translate.ps1, Opens Google Translate
|
open-google-translate.ps1, Opens Google Translate
|
||||||
open-home-folder.ps1, Opens the user's home folder
|
open-home-folder.ps1, Opens the user's home folder
|
||||||
open-music-folder.ps1, Opens the user's music folder
|
open-music-folder.ps1, Opens the user's music folder
|
||||||
|
open-microsoft-store.ps1, Starts the Microsoft Store app
|
||||||
open-netflix.ps1, Starts the Netflix app
|
open-netflix.ps1, Starts the Netflix app
|
||||||
open-notepad.ps1, Starts the Notepad app
|
open-notepad.ps1, Starts the Notepad app
|
||||||
open-onedrive-folder.ps1, Opens the user's OneDrive folder
|
open-onedrive-folder.ps1, Opens the user's OneDrive folder
|
||||||
|
Can't render this file because it has a wrong number of fields in line 95.
|
26
Docs/close-microsoft-store.md
Normal file
26
Docs/close-microsoft-store.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
## close-microsoft-store.ps1 - Closes the Microsoft Store app
|
||||||
|
|
||||||
|
This script closes the Microsoft Store application gracefully.
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
```powershell
|
||||||
|
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*
|
26
Docs/open-microsoft-store.md
Normal file
26
Docs/open-microsoft-store.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
## open-microsoft-store.ps1 - Starts the Microsoft Store app
|
||||||
|
|
||||||
|
This script starts the Microsoft Store application.
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
```powershell
|
||||||
|
open-microsoft-store.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
## Example
|
||||||
|
```powershell
|
||||||
|
PS> ./open-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 open-microsoft-store.ps1*
|
@ -101,7 +101,8 @@ Mega Collection of PowerShell Scripts
|
|||||||
| [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-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-netflix.ps1](Scripts/close-netflix.ps1) | Closes the Netflix application | [Help](Docs/close-netflix.md) |
|
| [close-microsoft-store.ps1](Scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app | [Help](Docs/close-microsoft-store.md) |
|
||||||
|
| [close-netflix.ps1](Scripts/close-netflix.ps1) | Closes the Netflix app | [Help](Docs/close-netflix.md) |
|
||||||
| [close-onedrive.ps1](Scripts/close-onedrive.ps1) | Closes Microsoft OneDrive | [Help](Docs/close-onedrive.md) |
|
| [close-onedrive.ps1](Scripts/close-onedrive.ps1) | Closes Microsoft OneDrive | [Help](Docs/close-onedrive.md) |
|
||||||
| [close-serenade.ps1](Scripts/close-serenade.ps1) | Closes the Serenade application | [Help](Docs/close-serenade.md) |
|
| [close-serenade.ps1](Scripts/close-serenade.ps1) | Closes the Serenade application | [Help](Docs/close-serenade.md) |
|
||||||
| [close-snipping-tool.ps1](Scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application | [Help](Docs/close-snipping-tool.md) |
|
| [close-snipping-tool.ps1](Scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application | [Help](Docs/close-snipping-tool.md) |
|
||||||
@ -135,6 +136,7 @@ Mega Collection of PowerShell Scripts
|
|||||||
| [open-home-folder.ps1](Scripts/open-home-folder.ps1) | Opens the user's home folder | [Help](Docs/open-home-folder.md) |
|
| [open-home-folder.ps1](Scripts/open-home-folder.ps1) | Opens the user's home folder | [Help](Docs/open-home-folder.md) |
|
||||||
| [open-music-folder.ps1](Scripts/open-music-folder.ps1)| Opens the user's music folder | [Help](Docs/open-music-folder.md) |
|
| [open-music-folder.ps1](Scripts/open-music-folder.ps1)| Opens the user's music folder | [Help](Docs/open-music-folder.md) |
|
||||||
| [open-netflix.ps1](Scripts/open-netflix.ps1) | Starts the Netflix app | [Help](Docs/open-netflix.md) |
|
| [open-netflix.ps1](Scripts/open-netflix.ps1) | Starts the Netflix app | [Help](Docs/open-netflix.md) |
|
||||||
|
| [open-microsoft-store.ps1](Scripts/open-microsoft-store.ps1)| Starts the Microsoft Store app | [Help](Docs/open-microsoft-store.md) |
|
||||||
| [open-notepad.ps1](Scripts/open-notepad.ps1) | Starts the Notepad app | [Help](Docs/open-notepad.md) |
|
| [open-notepad.ps1](Scripts/open-notepad.ps1) | Starts the Notepad app | [Help](Docs/open-notepad.md) |
|
||||||
| [open-onedrive-folder.ps1](Scripts/open-onedrive-folder.ps1)| Opens the user's OneDrive folder | [Help](Docs/open-onedrive-folder.md) |
|
| [open-onedrive-folder.ps1](Scripts/open-onedrive-folder.ps1)| Opens the user's OneDrive folder | [Help](Docs/open-onedrive-folder.md) |
|
||||||
| [open-pictures-folder.ps1](Scripts/open-pictures-folder.ps1) | Opens the user's pictures folder | [Help](Docs/open-pictures-folder.md) |
|
| [open-pictures-folder.ps1](Scripts/open-pictures-folder.ps1) | Opens the user's pictures folder | [Help](Docs/open-pictures-folder.md) |
|
||||||
|
15
Scripts/close-microsoft-store.ps1
Executable file
15
Scripts/close-microsoft-store.ps1
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Closes the Microsoft Store app
|
||||||
|
.DESCRIPTION
|
||||||
|
This script closes the Microsoft Store application gracefully.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./close-microsoft-store
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz · License: CC0
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
#>
|
||||||
|
|
||||||
|
& "$PSScriptRoot/close-program.ps1" "Microsoft Store" "WinStore.App" ""
|
||||||
|
exit 0 # success
|
15
Scripts/open-microsoft-store.ps1
Executable file
15
Scripts/open-microsoft-store.ps1
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Starts the Microsoft Store app
|
||||||
|
.DESCRIPTION
|
||||||
|
This script starts the Microsoft Store application.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./open-microsoft-store
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz · License: CC0
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
#>
|
||||||
|
|
||||||
|
Start-Process ms-windows-store:
|
||||||
|
exit 0 # success
|
Loading…
Reference in New Issue
Block a user