Created
April 20, 2017 18:39
-
-
Save bdwyertech/495b3dbe59de0b93474eb7a62e0a988d to your computer and use it in GitHub Desktop.
Reset Slack Windows App -- Typically resolves crashing issues
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
# Reset_Slack.ps1 | |
# Brian Dwyer - Intelligent Digital Services | |
# Fixes Slack startup crashing issues on Windows | |
Stop-Process -Name slack -Force -EA SilentlyContinue | |
Remove-Item -Path (Resolve-Path "$env:APPDATA\Slack\*") -Recurse -Force -EA SilentlyContinue -Verbose |
Dear God no! Despite the fact that http://bit.ly/2oqZQm9 does appear to resolve to the above script, no one should ever run a powershell script directly off of some bit.ly link. Download it, look at it, and then run it.
While I have no reason to distrust @bdwyertech, and the script linked does do what it says it does, there's nothing stopping them from swapping out the destination of that link in the future, or even redirecting the link based on the user agent string of the request and slipping in something malicious.
lol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear God no! Despite the fact that http://bit.ly/2oqZQm9 does appear to resolve to the above script, no one should ever run a powershell script directly off of some bit.ly link. Download it, look at it, and then run it.
While I have no reason to distrust @bdwyertech, and the script linked does do what it says it does, there's nothing stopping them from swapping out the destination of that link in the future, or even redirecting the link based on the user agent string of the request and slipping in something malicious.