mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-13 22:38:46 +02:00
Add open-visual-studio.ps1 and close-visual-studio.ps1
This commit is contained in:
15
Scripts/close-visual-studio.ps1
Normal file
15
Scripts/close-visual-studio.ps1
Normal file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Closes Visual Studio
|
||||
.DESCRIPTION
|
||||
This script closes the Microsoft Visual Studio application gracefully.
|
||||
.EXAMPLE
|
||||
PS> ./close-visual-studio
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
taskkill /im devenv.exe
|
||||
exit 0 # success
|
Reference in New Issue
Block a user