EvotecIT / PSTeams

PSTeams is a PowerShell Module working on Windows / Linux and Mac. It allows sending notifications to Microsoft Teams via WebHook Notifications. It's pretty flexible and provides a bunch of options. Initially, it only supported one sort of Team Cards but since version 2.X.X it supports Adaptive Cards, Hero Cards, List Cards, and Thumbnail Cards. All those new cards have their own cmdlets and the old version of creating Teams Cards stays as-is for compatibility reasons.
MIT License
409 stars 41 forks source link

Module to be totally portable and no installation on Windows itself? #42

Closed GoebloJr closed 3 years ago

GoebloJr commented 3 years ago

Hello, is it possible to use your Module without installation on windows so it can run on every Computer in combination with an exe file which calls the script to start everything?

PrzemyslawKlys commented 3 years ago

Use Save-Module to get the version from PSGallery and save it anywhere you want. After that Import-Module call PSD1 directly. Anyways Install-module - what it does is just puts the folder in one of the $Env:PSModulePath paths - and that's it. There's nothing special about modules installation.

GoebloJr commented 3 years ago

I will try thank you !