-
-
Save bdwyertech/495b3dbe59de0b93474eb7a62e0a988d to your computer and use it in GitHub Desktop.
# 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.
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
This can be run by pasting this into a command prompt (
Windows Key + R
,'cmd' + enter
)