PowerShell/Scripts/close-file-explorer.ps1

12 lines
332 B
PowerShell
Raw Normal View History

#!/snap/bin/powershell
# Syntax: ./close-file-explorer.ps1
# Description: closes Microsoft File Explorer gracefully
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
2020-12-28 10:34:20 +01:00
$PathToRepo=(get-item $MyInvocation.MyCommand.Path).directory.parent
2020-12-28 10:53:24 +01:00
."$PathToRepo/Scripts/close-program.ps1" "explorer"