MQTTBroker

1.0.0

Publish and subscribe to a free public MQTT broker from PowerShell. Pure PowerShell MQTT 3.1.1 client, no dependencies, preconfigured for broker.connectmq.com over TCP (1883) or TLS (8883). Supports QoS 0/1/2, retained messages and wildcards on PowerShell 5.1 and 7+. Works with any MQTT 3.1.1 broker, including private ConnectMQ brokers (https://connectmq.com/).

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name MQTTBroker

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name MQTTBroker

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 ConnectMQ. MIT License.

Package Details

Author(s)

  • ConnectMQ Team

Tags

MQTT MQTTBroker MQTTClient IoT PublicBroker PubSub Publish Subscribe Messaging TLS ConnectMQ Windows Linux MacOS

Functions

Get-MQTTBrokerInfo New-MQTTTopicPrefix Connect-MQTTBroker Disconnect-MQTTBroker Publish-MQTTMessage Receive-MQTTMessage Test-MQTTBroker

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

Initial release: Connect, Publish, Receive (subscribe), Test and broker info for the free public broker broker.connectmq.com. MQTT 3.1.1, QoS 0/1/2, retain, TCP and TLS.

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 7 11/5/2026