Skip to content

dfinke/SlackDSCResource

Repository files navigation

PowerShell Slack DSC Provider

Running PowerShell v5.0? Grab it from the PowerShell Gallery

Install-Module -Name SlackDSCResource

Configuration TrySlack {

    Import-DSCResource -ModuleName SlackDSCResource

    SlackMessage TrySlack {
        UserName = "<your username>"
        Token    = "< generate a token https://api.slack.com/web#auth >"
        Channel  = "<your channel>"
        Text     = "Hello Slack from PowerShell"
    }
}

TrySlack
Start-DscConfiguration -Wait -Verbose -Force TrySlack

About

PowerShell Slack DSC Provider lets you send messages to Slack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages