Skip to content

Instantly share code, notes, and snippets.

View zakes-it's full-sized avatar

Michael Le-Zakes zakes-it

View GitHub Profile
@zakes-it
zakes-it / Remove-TrelloUser.ps1
Created August 4, 2016 22:43
Deactivate a Trello account matching an Active Directory user
# Get-oAuth2AccessToken and Get-TrelloToken functions copied from
# https://github.com/danroot/PowerTrello
Function Remove-TrelloUser {
[CmdletBinding()]
Param(
# Active Directory user hash
[Parameter(Mandatory = $true)] $user,
# Get your key by signing in Trello and visit https://trello.com/app-key
[Parameter(Mandatory = $true)] [string] $appKey,