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
param( | |
[Parameter(Mandatory=$true)][String]$subject, | |
[Parameter(Mandatory=$true)][String]$description, | |
[Parameter(Mandatory=$true)][String]$requesterID, | |
[Parameter(Mandatory=$true)][String]$assignedGroupID, | |
[String]$tag | |
) | |
#Zendesk API Connection Headers Referencing System Environmental Variables for username and API token. | |
$headers = @{Authorization = 'Basic ' + [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("$($ZendeskAPI_Username):$($ZendeskAPI_Token)"));} |
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
param( | |
[Parameter(Mandatory=$true)][String]$emailAddress | |
) | |
#API token from https://www.dropbox.com/developers/apps | |
$token = 'Bearer YourTeamMemberInformationAppTokenHere' | |
$body = '{"members":[{".tag":"email","email":"'+$emailAddress+'"}]}' | |
$headers = @{ |
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
param( | |
[Parameter(Mandatory=$true)][String]$markdownFilePath, | |
[String]$parentFolderID | |
) | |
$token = 'Bearer xxxyourapptokenherexxx' | |
#You'll need to use the Dropbox Business API to get the Team Member's ID. | |
$teamMemberID = "xxxxxx" |
NewerOlder