diff --git a/Anleitung.txt b/Anleitung.txt new file mode 100644 index 0000000..4a37543 --- /dev/null +++ b/Anleitung.txt @@ -0,0 +1,18 @@ +Für Signatur ohne Kontaktbild: + +Ordner ohne_KontaktBild öffnen. + +Rechtsklick auf ohne_KontaktBild.ps1 Datei -> Mit Powershell ausführen + +Wenn neue Signatur als Standard Signatur im Outlook gewünscht ist: + +In Outlook (Classic) -> Datei -> Optionen -> E-Mail -> Signaturen -> Neue Nachrichten -> (erstellte Signatur auswählen) + + +Für Signatur mit Kontaktbild: + +Ordner mit_KontaktBild öffnen. + +Rechtsklick auf mit_KontaktBild.ps1 Datei -> Mit Powershell ausführen + +Danach Bitte subcura kontaktieren. \ No newline at end of file diff --git a/WIP-Dresden GmbH.html b/WIP-Dresden GmbH.html new file mode 100644 index 0000000..9067614 --- /dev/null +++ b/WIP-Dresden GmbH.html @@ -0,0 +1,121 @@ +Mit freundlichen Grüßen +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ {BEN_NAME} +     + + WIP-Dresden GmbH

+ {BEN_NAME}
+ {BEN_POSITION}

+ Telefon: {BEN_TelefonBuero}
+ E-Mail: {BEN_email} +
+
             + WIP-Dresden GmbH +     +
 
+ + Bitte beachten! Für Mieteranliegen nutzen Sie bitte folgende E-Mail: mieter@wip-dresden.de + +
 
 
+ +

+ Impressum
+
+ WIP-Dresden GmbH
+ Bautzner Straße 120
+ 01099 Dresden

+ + + + + + + + + + + + + + + + + + + +
Telefon0351-215 216-0
Fax0351-215 216-30
E-Mailinfo@wip-dresden.de
Internetwww.wip-dresden.de
+
+ Geschäftsführer Martin Wenzel
+ Amtsgericht Dresden HRB 24408
+ Finanzamt Dresden 202/122/04286

+ -------------------------------------------------------------------------------- +

+

+
+ VERTRAULICHKEIT UND HAFTUNGSAUSSCHLUSS
+ Diese E-Mail kann Betriebs- + und Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail + irrtümlich erhalten haben, ist die Weitergabe oder Aufbewahrung dieser E-Mail ausdrücklich untersagt. + Bitte benachrichtigen Sie den Absender und löschen Sie diese Nachricht. Der Absender hat alle erdenklichen + Vorsichtsmaßnahmen getroffen, dass diese Nachricht und ihre Anlagen frei von Computerviren etc. sind. + Gleichwohl schließen wir die Haftung für jegliche Schäden aus, die durch Computerviren etc. an + Computern oder IT-Systemen verursacht werden. Wir empfehlen Ihnen, dass Sie in jedem Fall eine eigene + Virenprüfung vornehmen, bevor Sie die Anlagen öffnen.
+
+ CONFIDENTIALITY AND DISCLAIMER OF LIABILITY NOTE

+ This email + and any attachments transmitted with it are confidential and intended only for the use of the individual or + entity to whom they are addressed. If you have received this email by mistake please notify the sender by e-mail + immediately and delete this message from your system. If you are not the named addressee you should not + disseminate, distribute or copy this e-mail. If you are not the intended recipient you are notified that + disclosing, copying, distributing or taking any action in reliance on the contents of this information is + strictly prohibited. Although the company has taken precautions to make sure no viruses are present in this + email, the company will not take responsibility for any loss or damage arising from the use of this email or + attachments.
+
+ DATENSCHUTZ
+ Wir möchten Sie darüber + informieren, dass wir mit Änderung der EU-Datenschutzverordnung (DSVGO) zum 25. Mai 2018 unsere + Datenschutzrichtlinien aktualisiert haben. Unsere Datenschutzerklärung finden Sie unter nachfolgendem Link:
+ www.wip-dresden.de/datenschutz
+
+ DATA PROTECTION

+ We would like to inform you, that our + Privacy Policies have been modified since 25. May 2018 due to changes in the EU-General Data Protection + Regulation (GDPR). Our Privacy Policy can be found at the following link:
+ www.wip-dresden.de/datenschutz +
+

+

 

\ No newline at end of file diff --git a/mit_KontaktBild.ps1 b/mit_KontaktBild.ps1 new file mode 100644 index 0000000..32816aa --- /dev/null +++ b/mit_KontaktBild.ps1 @@ -0,0 +1,40 @@ +# Quellordner +$SourceFolder = "\\vsql01\FLOWFACT\subcura\Outlook_Signatur\mit_KontaktBild\Signatur" + +# Zielordner Outlook Signaturen +$TargetFolder = "$env:APPDATA\Microsoft\Signatures" + +Copy-Item -Path "$SourceFolder\*" -Destination $TargetFolder -Recurse -Force + +$UserName = $env:USERNAME + +$root = [ADSI]"LDAP://RootDSE" +$base = "LDAP://$($root.defaultNamingContext)" + +$searchRoot = [ADSI]$base + +$searcher = New-Object System.DirectoryServices.DirectorySearcher($searchRoot) +$searcher.Filter = "(&(objectCategory=person)(objectClass=user)(sAMAccountName=$UserName))" + +$searcher.PageSize = 1 + +$result = $searcher.FindOne() + +$props = $result.Properties + +$DisplayName = $props["displayname"][0] +$Position = $props["title"][0] +$Telefon = $props["telephonenumber"][0] +$Mail = $props["mail"][0] + +# Signaturpfad +$File = "$env:APPDATA\Microsoft\Signatures\WIP-Dresden GmbH.htm" + +$html = Get-Content $File -Raw + +$html = $html.Replace("{BEN_NAME}", $DisplayName) +$html = $html.Replace("{BEN_POSITION}", $Position) +$html = $html.Replace("{BEN_TelefonBuero}", $Telefon) +$html = $html.Replace("{BEN_email}", $Mail) + +Set-Content -Path $File -Value $html -Encoding UTF8 \ No newline at end of file diff --git a/ohne_KontaktBild.ps1 b/ohne_KontaktBild.ps1 new file mode 100644 index 0000000..0c1bd11 --- /dev/null +++ b/ohne_KontaktBild.ps1 @@ -0,0 +1,40 @@ +# Quellordner +$SourceFolder = "\\vsql01\FLOWFACT\subcura\Outlook_Signatur\ohne_KontaktBild\Signatur" + +# Zielordner Outlook Signaturen +$TargetFolder = "$env:APPDATA\Microsoft\Signatures" + +Copy-Item -Path "$SourceFolder\*" -Destination $TargetFolder -Recurse -Force + +$UserName = $env:USERNAME + +$root = [ADSI]"LDAP://RootDSE" +$base = "LDAP://$($root.defaultNamingContext)" + +$searchRoot = [ADSI]$base + +$searcher = New-Object System.DirectoryServices.DirectorySearcher($searchRoot) +$searcher.Filter = "(&(objectCategory=person)(objectClass=user)(sAMAccountName=$UserName))" + +$searcher.PageSize = 1 + +$result = $searcher.FindOne() + +$props = $result.Properties + +$DisplayName = $props["displayname"][0] +$Position = $props["title"][0] +$Telefon = $props["telephonenumber"][0] +$Mail = $props["mail"][0] + +# Signaturpfad +$File = "$env:APPDATA\Microsoft\Signatures\WIP-Dresden GmbH.htm" + +$html = Get-Content $File -Raw + +$html = $html.Replace("{BEN_NAME}", $DisplayName) +$html = $html.Replace("{BEN_POSITION}", $Position) +$html = $html.Replace("{BEN_TelefonBuero}", $Telefon) +$html = $html.Replace("{BEN_email}", $Mail) + +Set-Content -Path $File -Value $html -Encoding UTF8 \ No newline at end of file