This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from optparse import OptionParser | |
| from subprocess import Popen, PIPE | |
| # Requires wmic from Samba project, or here: | |
| # http://dev.zenoss.org/trac/browser/tags/zenoss-3.2.1/inst/externallibs | |
| wmic = '/vagrant/wmic' | |
| parser = OptionParser() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # ============================================================================= | |
| # Author: Chu-Siang Lai / chusiang (at) drx.tw | |
| # Filename: teams-chat-post.sh | |
| # Modified: 2018-03-28 15:04 | |
| # Description: Post a message to Microsoft Teams. | |
| # Reference: | |
| # | |
| # - https://gist.github.com/chusiang/895f6406fbf9285c58ad0a3ace13d025 | |
| # |