Exchange: Dynamische Verteilergruppe
Dynamische Verteilgruppen haben den Vorteil das sie im Speziellen nicht gepflegt werden müssen. In den meisten Fällen beinhaltet es alle Mitarbeiter einer Domäne oder speziel auf eine AD-Gruppe. In der Regel kann man diese via Verwaltungskonsole einrichten. Will man spezielle Filter anwenden muss man via Powershell gehen:
Dynamische Verteilergruppe erstellen
$myUsers = New-DynamicDistributionGroup -Name "All USERS" -RecipientFilter {RecipientType -eq 'UserMailbox'} -OrganizationalUnit MyUsers Get-Recipient -RecipientPreviewFilter $myUsers.RecipientFilter
Dynamische Verteilergruppe aktualisieren
Set-DynamicDistributionGroup -Identity "All USERS" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (EmailAddresses -like '*@mydomain.ch'))}
Dynamische Verteilergruppe mit Filter (cn)
Es gibt situationen bei der in einer Dynamischen Liste nicht alle AD Mitglieder reingehören, das können Externe Mitarbeiter oder Temporäre Personen sein. In diesem Fall wurde 4 Fälle Berücksichtigt: Domain E-Mail @domain.ch, Attribut "NODISPLAY" und nicht Mitglied in der Gruppe OtherCompany und NOALLGroupFilter.
Set-DynamicDistributionGroup -Identity "All USERS inside" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (EmailAddresses -like '*@domain.ch') -and (CustomAttribute1 -ne "NODISPLAY") -and (-not(MemberOfGroup -eq 'CN=OtherCompany,OU=Gruppen,DC=domain,DC=local')) -and (-not(MemberOfGroup -eq 'CN=NOALLGroupFilter,OU=Gruppen,DC=domain,DC=local')) )}
Permalink:
Exchange: Dynamische Verteilergruppe×
...auch noch interessant
- Windows // 01.11.2022VMware Aria Automation 8.x: VMPSMasterWorkflow32 MachineProvisioned SysPrep
- Windows // 31.10.2022Windows 2022 Disk Layout from Hell (update)
- Powershell // 22.04.2022Opnsense: Backup mit Rest-API (os-api-backup)
- Powershell // 01.04.2022Powershell Where-Object mit Warp 7 beschleunigen
Tippsammlung
Kleine Tippsammlung für mich und dijenige die sich auf meine Webseite verirrt haben.Archiv
Jahr
Tag(s):- Feb 2024 (3)
- Jan 2024 (1)
- Sep 2023 (1)
- Jul 2023 (1)
- Apr 2023 (1)
- Feb 2023 (1)
- Nov 2022 (2)
- Oct 2022 (1)
- Jul 2022 (1)
- Jun 2022 (2)
- May 2022 (2)
- Apr 2022 (6)
- tipps (31)
- synology (27)
- linux (22)
- Windows (19)
- tool (17)
- Powershell (15)
- Windows 10 (13)
- csharp (c#) (9)
- coding (9)
- security (6)
- ad (6)
- Windows 2012 R2 (5)
- vpn (5)
- Ubuntu (5)
- Pi (5)
- gitea (5)
- git (5)
- Windows 2012 (4)
- opnsense (4)
- openpgp.js (4)
- mysql (4)
- docker (4)
- Xubuntu (3)
- Windows 2016 (3)
- Ubuntu 22.04 (3)
- seo (3)
- Japanisch (3)
- ipkg (3)
- app (3)
- Android (3)
- Zertifizierungsstelle (2)
- wsus (2)
- Windows Updates (2)
- windows 2022 (2)
- Windows 2008 (2)
- web2 (2)
- wadoku (2)
- VMware (2)
- verschlüsselung (2)
- Scripts (2)
- php (2)
- pgp (2)
- perl (2)
- openvpn (2)
- LMS (2)
- Kanji (2)
- javascript (2)
- GnuPgP (2)
- Firewall (2)
- Excel (2)
Nichts gefunden
Es wurde zur Story Exchange: Dynamische Verteilergruppe kein Kommentar gefundenInformation
Werbung oder Ähnliches sind nicht erlaubt, daher wird jeder Beitrag geprüft und freigegeben.Advertising, etc. are not allowed, so any contribution is reviewed and approved.
Facebook-Webadress are not allowed, Facebook als Webadresse ist nicht erlaubt
* Die E-Mail wird nicht veröffentlicht / The email will not be published
** Bitte Zahl eintragen / Please enter the number
Modal Header
Some text in the Modal Body
Some other text...
(c)2024 stastka.ch // help system