PowerShell is fun :)

Blogs about things I encounter in my daily work as an IT Consultant

Skip to content
  • Home
  • Privacy Policy
  • Contact
  • About
Search

Slack

Create Slack messages using PowerShell

May 4, 2022May 13, 2023 / Harm Veenstra / Leave a comment

If you're a Slack user like myself, you can use PowerShell to send messages to your Slack channel. This is very useful for scripts that run during the day on which you want to receive information. This is done using the Invoke-Webrequest method, and in this blog post, I will show you how you can use it in your scripts.

You can take PowerShell courses (And others) here at PluralSight at the link below!

If you like my blog posts, consider buying me a coffee :)

Buy Me a Coffee

Blog Stats

  • 244,353 hits

Post Types

  • Post (115)
  • Page (3)

Join 63 other subscribers
  • 365 (7)
  • 9GAG (1)
  • Active Directory (6)
  • Azure (2)
  • Azure AD (2)
  • chromeOS Flex (1)
  • Crypto (1)
  • Docker (1)
  • Formatting (11)
  • Fun (7)
  • GitHub (4)
  • Hyper-V (6)
  • Intune (13)
  • JSON (1)
  • Jupyter (1)
  • Learning (3)
  • Licensing (1)
  • Linux (3)
  • Logs (5)
  • MarkDown (1)
  • Mastodon (1)
  • Microsoft Defender (1)
  • Microsoft Endpoint Manager (13)
  • Microsoft Evaluation Center (2)
  • Microsoft Exchange (6)
  • Microsoft Graph (6)
  • Netsh (1)
  • Networking (7)
  • PowerShell (109)
  • Printers (3)
  • PSEdit (2)
  • PSReadline (4)
  • PSRemoting (1)
  • RSS (1)
  • Security (18)
  • Slack (1)
  • Social (4)
  • Stream Deck (1)
  • Twitter (1)
  • Visual Studio Code (11)
  • WHOIS (1)
  • Windows Sandbox (4)
  • Windows Terminal (4)
  • Winget (3)
  • Check for PowerShell module updatesSeptember 20, 2023
  • Using Windows PowerShell Web AccessSeptember 14, 2023
  • Retrieve Intune Device Primary User and all users ever logged on to that deviceSeptember 7, 2023
  • Use PowerShell to change the color of your Govee lampAugust 31, 2023
  • Retrieve local and remote PowerShell logsAugust 23, 2023
  • Three ways to start Visual Studio CodeAugust 16, 2023
  • Recent podcasts I was a guest onAugust 9, 2023
  • Things I use most in my PowerShell scriptsAugust 2, 2023
  • PowerShell Out-ConsoleGridView and F7HistoryJuly 26, 2023
  • Retrieve synopsis and help URLs for all PowerShell cmdlets/functions in your ModulesJuly 19, 2023
  • September 2023 (3)
  • August 2023 (5)
  • July 2023 (4)
  • June 2023 (6)
  • May 2023 (5)
  • April 2023 (4)
  • March 2023 (4)
  • February 2023 (5)
  • January 2023 (5)
  • December 2022 (6)
  • November 2022 (5)
  • October 2022 (8)
  • September 2022 (9)
  • August 2022 (10)
  • July 2022 (12)
  • June 2022 (11)
  • May 2022 (10)
  • April 2022 (3)
  1. Harm Veenstra on Retrieve local and remote PowerShell logsSeptember 21, 2023

    If you don't specify a computername, it will connect to your local computer. If you do specify a computername using…

  2. Harm Veenstra on Check for PowerShell module updatesSeptember 21, 2023

    Ah, no worries and no problem 😊

  3. doooodles on Retrieve local and remote PowerShell logsSeptember 21, 2023

    If I understood you correctly, you asked me to run the script as follows: unblock-file get-powershelllogs.ps1 This results in no…

  4. doooodles on Check for PowerShell module updatesSeptember 21, 2023

    Apparently my syntax was incorrect (I think I had quotes where I shouldn't have - I'll never understand 'command' or…

  5. Harm Veenstra on Check for PowerShell module updatesSeptember 21, 2023

    No warnings or errors? You saved it somewhere and ran it from a PowerShell prompt, or from ISE or VSCode?

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

You can take PowerShell courses (And others) here at PluralSight at the link below!

 

Loading Comments...