A PowerShell script to extract all messages and files from a User's slack account. Or, optionally specify a limited number of channels to download from.
powershell -exec bypass
Import-Module .\SlackExtract.ps1
Get-Help Invoke-SlackExtract -full
**Note you will need to provide the slack session cookie or the slack API token to use this function. Login to slack with a Browser and grab the Slack session cookie (the cookie is named "d") and provide it to this script (the script does not utilize the normal credentials). See the wiki for details on how to obtain the API token which you can provide instead of the dCookie.
See the Wiki for additional notes.