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,4 +1,4 @@
# Script Name: rdp-access-mail-notification.v3.ps1
# Script Name: rdp-access-mail-notification.v3.ad.ps1
# Beschreibung: Schickt allen Mitgliedern einer GG eine Mail, wenn sich jemand per RDP auf einem System anmeldet
# Aufruf: -
# Autor: Patrick Asmus
@@ -6,7 +6,7 @@
# Git-Reposit.: https://git.media-techport.de/scriptos/private-script-collection.git
# Version: 3.1
# Datum: 22.10.2023
# Modifikation: Header hinzugefuegt
# Modifikation: Umzug ins neue Repo und damit verbundene Anpassungen
#####################################################
# Konfigurationsparameter
@@ -14,7 +14,7 @@ $SMTPServer = "smtp.media-techport.int"
$FromName = "Media-Techport.DE | Notification Service"
$FromEmail = "noreply@media-techport.de"
$SecurityGroupDN = "CN=GG-MailAT_RDP-Access,OU=Benachrichtigungsgruppen,OU=Benutzergruppen,DC=media-techport,DC=int"
$LogoURL = "https://assets.media-techport.de/logos/main/LogoSchwarz.png" # URL zum Logo
$LogoURL = "https://assets.media-techport.de/logos/main/LogoSchwarz.png"
# Funktion zum Senden von E-Mails
function Send-Email {