Last active
December 21, 2021 15:32
-
-
Save shinayser/d48bc728b84941096e0b54dc053a221a to your computer and use it in GitHub Desktop.
Kill steam process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$steam = Get-Process steam -ErrorAction Ignore | |
if ($null -eq $steam) { | |
Write-Output "Steam not found" | |
} | |
else { | |
$steam.Kill($true) | |
Write-Output 'Steam is dead' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment