Umzug ins neue Repo und damit verbundene Anpassungen

This commit is contained in:
scriptos
2023-11-06 20:03:10 +01:00
parent e8289a2915
commit 66a66d7fd7
4 changed files with 26 additions and 7 deletions

View File

@@ -1,9 +1,20 @@
# Konfigurationsparameter
# Script Name: rdp-access-mail-notification.v3.local.ps1
# Beschreibung: Versendet eine Mail, wenn sich jemand per RDP auf einem System anmeldet
# Aufruf: -
# Autor: Patrick Asmus
# Web: https://www.media-techport.de
# Git-Reposit.: https://git.media-techport.de/scriptos/private-script-collection.git
# Version: 3.1
# Datum: 22.10.2023
# Modifikation: Umzug ins neue Repo und damit verbundene Anpassungen
#####################################################
# Konfigurationsparameter
$SMTPServer = "smtp.media-techport.int"
$FromName = "Media-Techport.DE | Notification Service"
$FromEmail = "noreply@media-techport.de"
$LogoURL = "https://assets.media-techport.de/logos/main/LogoSchwarz.png" # URL zum Logo
$ManualRecipient = "system@media-techport.de" # Manuell festgelegter E-Mail-Empfänger
$LogoURL = "https://assets.media-techport.de/logos/main/LogoSchwarz.png"
$ManualRecipient = "system@media-techport.de"
# Funktion zum Senden von E-Mails
function Send-Email {