Building PowerShell Arrays and Hashtables for…

Building PowerShell Arrays and Hashtables for JSON Payloads – Wahl Network

Building PowerShell Arrays and Hashtables for…

While tinkering around with Slack’s Incoming Webhooks feature, I came upon the ability to add message attachments. This seemed like a nifty way to condense a few different pieces of information into a rich formatted Slack message with a bit of PowerShell code. The challenge is converting the syntax for arrays and key-value pairs (hashtables) from native JSON to native PowerShell.


VMware Social Media Advocacy

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: