How to send push notifications with PowerShell

Updated on March 29, 2026

Learn how to send Signalgrid push notifications
from PowerShell scripts and admin workflows.

Signalgrid makes it straightforward to send notifications from PowerShell. The platform uses a simple model built around your client_key, a target channel, and a few core fields such as title, body, type, and optional critical.

PowerShell is a strong option for operational tasks, scheduled jobs, and Windows-based automation where a notification should be sent after a script runs.

What you need

  • A Signalgrid account
  • Your client key
  • A channel token
  • PowerShell available in your environment

Basic example

The following example sends a simple notification with PowerShell.

$payload = @{
  client_key = $env:SIGNALGRID_CLIENT_KEY
  channel    = $env:SIGNALGRID_CHANNEL
  title      = "PowerShell Notification"
  body       = "Sent from an admin script"
  type       = "INFO"
}

$response = Invoke-RestMethod -Method Post -Uri "https://api.signalgrid.co/v1/push" -Body $payload
$response

Required fields

Field
Description
client_key
Authenticates the request on behalf of your Signalgrid user
channel
The channel token that should receive the notification
title
Short notification title
body
Main notification message
type
Visual notification type such as INFO, WARN, SUCCESS, or CRIT
critical
Optional flag for urgent notifications

Environment variables

Keeping credentials outside your code is usually the better move.

$env:SIGNALGRID_CLIENT_KEY="your_client_key"
$env:SIGNALGRID_CHANNEL="your_channel_token"

Example: Admin and Windows Workflows

PowerShell is a strong option for operational tasks, scheduled jobs, and Windows-based automation where a notification should be sent after a script runs.

Related Documentation