< Back

Send-XDslackmsg

Mon Jan 13, 2020 8:16 am

NAME Send-XDslackmsg



SYNOPSIS

Sends message to Slack incoming webhook URL





SYNTAX

Send-XDslackmsg [-slackurl] <String> [-msg] <String> [[-emoji] <Object>] [<CommonParameters>]





DESCRIPTION

Sends message to Slack incoming webhook URL





PARAMETERS

-slackurl <String>

Slack web incoming hook url



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-msg <String>

Message to send to URL



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-emoji <Object>

Emoji to use as avatar to send message



Required? false

Position? 3

Default value :building_construction:

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>send-xdslackmsg -slackurl "https://myurl.com" -msg "Send this" -emoji ":joy:"















RELATED LINKS