Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
/ py2teams Public archive

Python script to send command output to Microsoft Teams channels.

License

Notifications You must be signed in to change notification settings

andoniaf/py2teams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py2teams

Utilidad en python para enviar la salida de un comando a un canal de Microsoft Teams.

Configuración

Linux

  • Añadir el webhook al config_template.py y renombrar a config.py
  • Crear alias:
    alias py2teams='python3 /route/to/py2teams/py2teams.py'
    

Windows

  • Añadir el webhook al config_template.py y renombrar a config.py
  • Editar path:
    PS C:\Users\aalonsof> $env:Path="$env:Path;C:\ruta\a\py2teams"
    PS C:\Users\aalonsof> $env:PATHEXT += ";.py"
    PS C:\Users\aalonsof> nslookup www.prosodie.es 8.8.8.8 | py2teams.py
    
Ejemplo de uso
$ nslookup www.prosodie.com 8.8.8.8 |& py2teams

About

Python script to send command output to Microsoft Teams channels.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages