Benutzer-Werkzeuge

Webseiten-Werkzeuge


microsoft_exchange

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
microsoft_exchange [2024/09/05 09:13]
jango [AutoResponder]
microsoft_exchange [2025/04/01 08:07] (aktuell)
jango
Zeile 1: Zeile 1:
 Die Microsoft Implementierung eines Email Server.  Die Microsoft Implementierung eines Email Server. 
 +
 +<code>
 +# Welche Service laufen
 +Get-Service | Where-Object { $_.Name -like "MSExchange*" } | Select-Object Name, Status
 +
 +# Welche Logs gibt es
 +Get-WinEvent -ListLog *Exchange* | Select-Object LogName
 +
 +# Welche Logs sind registriert
 +wevtutil el | Select-String "MSExchange"
 +
 +</code>
  
 =====Transport Dienste===== =====Transport Dienste=====
 +
 +Siehe auch [[https://www.tuescher.net/Exchange-Sender-Based-Routing/e16.html#chapter6|Sender based routing]]
  
 ====Frontend Transport==== ====Frontend Transport====
Zeile 151: Zeile 165:
  
 Remove-AddressList -Identity "<Adressbuchname>" Remove-AddressList -Identity "<Adressbuchname>"
 +</code>
 +
 +[[https://learn.microsoft.com/en-us/exchange/email-addresses-and-address-books/offline-address-books/oab-procedures?view=exchserver-2019|See here]]
 +
 +<code powershell>
 +[PS] C:\Windows\system32>Get-AddressList
 +
 +Name                      DisplayName               RecipientFilter
 +----                      -----------               ---------------
 +All Contacts              All Contacts              RecipientType -eq 'MailContact'
 +All Distribution Lists    All Distribution Lists    ((Alias -ne $null) -and (ObjectCategory -like 'group'))
 +All Groups                All Groups                ((RecipientType -eq 'MailUniversalDistributionGroup') -or (RecipientType -eq 'MailUniversalSecurityGroup') -or (RecipientType
 +                                                    -eq 'MailNonUniversalGroup') -or (RecipientType -eq 'DynamicDistributionGroup'))
 +All Users                 All Users                 RecipientType -eq 'UserMailbox'
 +Öffentliche Ordner        Öffentliche Ordner        ObjectClass -eq 'publicFolder'
 +Public Folders            Public Folders            ((Alias -ne $null) -and (ObjectCategory -like 'publicFolder'))
 +All Rooms                 All Rooms                 ((RecipientType -eq 'UserMailbox') -and (ResourceMetaData -like 'ResourceType:*') -and (ResourceSearchProperties -ne $null))
 +
 +[PS] C:\Windows\system32>Get-GlobalAddressList
 +
 +Name                        RecipientFilter
 +----                        ---------------
 +Globale Standardadressliste ((Alias -ne $null) -and (((((((((((ObjectClass -eq 'user') -or (ObjectClass -eq 'contact'))) -or (ObjectClass -eq 'msExchSystemMailbox'))) -or
 +                            (ObjectClass -eq 'msExchDynamicDistributionList'))) -or (ObjectClass -eq 'group'))) -or (ObjectClass -eq 'publicFolder'))))
 +
 +[PS] C:\Windows\system32>Get-OfflineAddressBook
 +
 +Name                                 Versions   AddressLists
 +----                                 --------   ------------
 +Standard-Offlineadressliste (Ex2013) {Version4} {\Globale Standardadressliste}
 +
 +[PS] C:\Windows\system32>Get-OfflineAddressBook "Standard-Offlineadressliste (Ex2013)" | Format-List Name, AddressLists
 +
 +
 +Name         : Standard-Offlineadressliste (Ex2013)
 +AddressLists : {\Globale Standardadressliste}
 +
 +[PS] C:\Windows\system32>Set-OfflineAddressBook -Identity "Standard-Offlineadressliste (Ex2013)" -AddressLists "Globale Standardadressliste", "TestContactList"
 +
 +[PS] C:\Windows\system32>Update-OfflineAddressBook -Identity "Standard-Offlineadressliste (Ex2013)"
 +
 +[PS] C:\Windows\system32>Get-OfflineAddressBook "Standard-Offlineadressliste (Ex2013)" | Format-List Name, AddressLists
 +
 +
 +Name         : Standard-Offlineadressliste (Ex2013)
 +AddressLists : {\TestContactList, \Globale Standardadressliste}
 +
 +[PS] C:\Windows\system32>
 </code> </code>
 ====Kalender==== ====Kalender====
Zeile 167: Zeile 229:
  
  
-Get-MailboxFolderPermission -Identity <Postfach>:\Calendar +Get-MailboxFolderPermission -Identity user@domain.local:\Calendar 
-Add-MailboxFolderPermission -Identity <Postfach>:\Calendar -User <Benutzer> -AccessRights <Zugriffsrechte> +Add-MailboxFolderPermission -Identity user@domain.local:\Calendar -User otheruser@domain.local -AccessRights <Zugriffsrechte> 
-Set-MailboxFolderPermission -Identity <Postfach>:\Calendar -User <Benutzer> -AccessRights <Zugriffsrechte> +Set-MailboxFolderPermission -Identity user@domain.local:\Calendar -User otheruser@domain.local -AccessRights <Zugriffsrechte> 
-Remove-MailboxFolderPermission -Identity <Postfach>:\Calendar -User <Benutzer>+Remove-MailboxFolderPermission -Identity user@domain.local:\Calendar -User otheruser@domain.local
 </code> </code>
  
Zeile 225: Zeile 287:
 =====ActiveSync===== =====ActiveSync=====
  
-Exchange ActiveSync ist ein von Microsoft entwickeltes Protokoll zur Synchronisierung von E-Mails, Kontakten, Kalendern und Aufgaben zwischen einem E-Mail-Server und mobilen Geräten wie Smartphones und Tablets. Es ermöglicht eine nahtlose Integration von E-Mail-Diensten, Kalendern und Kontakten auf verschiedenen Geräten und Plattformen.+Exchange Active Sync (ActiveSyncist ein von Microsoft entwickeltes Protokoll zur Synchronisierung von E-Mails, Kontakten, Kalendern und Aufgaben zwischen einem E-Mail-Server und mobilen Geräten wie Smartphones und Tablets. Es ermöglicht eine nahtlose Integration von E-Mail-Diensten, Kalendern und Kontakten auf verschiedenen Geräten und Plattformen.
  
 +<code powershell>
 +# Finde alle Exchange Active Sync Geräte
 +PS C:\> Get-MobileDevice
 +
 +RunspaceId              : ecfdbf6d-b44a-4369-aeed-4cb29e286eb0
 +FriendlyName            :
 +DeviceId                : sophfw5x48gu9ryw66f5tnmu9nlg8ip4
 +DeviceImei              :
 +DeviceMobileOperator    :
 +DeviceOS                :
 +DeviceOSLanguage        :
 +DeviceTelephoneNumber   :
 +DeviceType              : iPhone5sGlobal
 +DeviceUserAgent         : SecurePIM 7.23.4 - iOS 10.2.1
 +DeviceModel             : iPhone5sGlobal
 +FirstSyncTime           : 21.02.2017 15:57:40
 +UserDisplayName         : dom.local/USERS/User1
 +DeviceAccessState       : Allowed
 +DeviceAccessStateReason : Global
 +DeviceAccessControlRule :
 +ClientVersion           : 14.1
 +ClientType              : EAS
 +IsManaged               : False
 +IsCompliant             : False
 +IsDisabled              : False
 +AdminDisplayName        :
 +ExchangeVersion         : 0.10 (14.0.100.0)
 +Name                    : iPhone5sGlobal§sophfw5x48gu9ryw66f5tnmu9nlg8ip4
 +DistinguishedName       : CN=iPhone5sGlobal§sophfw5x48gu9ryw66f5tnmu9nlg8ip4,CN=ExchangeActiveSyncDevices,CN=User1,OU=USERS,DC=dom,DC=local
 +Identity                : dom.local/Users/User1/ExchangeActiveSyncDevices/iPhone5sGlobal§sophfw5x48gu9ryw66f5tnmu9nlg8ip4
 +Guid                    : 044e412d-c004-4530-9ed9-19eb70a3ef91
 +ObjectCategory          : dom.local/Configuration/Schema/ms-Exch-Active-Sync-Device
 +ObjectClass             : {top, msExchActiveSyncDevice}
 +WhenChanged             : 06.05.2024 12:20:17
 +WhenCreated             : 21.02.2017 16:57:40
 +WhenChangedUTC          : 06.05.2024 10:20:17
 +WhenCreatedUTC          : 21.02.2017 15:57:40
 +OrganizationId          :
 +Id                      : dom.local/Users/User1/ExchangeActiveSyncDevices/iPhone5sGlobal§sophfw5x48gu9ryw66f5tnmu9nlg8ip4
 +OriginatingServer       : vie-srv-dc02.dom.local
 +IsValid                 : True
 +ObjectState             : Unchanged
 +</code>
 +
 +<code powershell>
 +$all_devices = Get-MobileDevice
 +Get-MobileDeviceStatistics -Identity $all_devices[0].Guid.toString()
 +</code>
 +
 +<code powershell>
 +[PS] C:\> Get-Mailbox -ResultSize Unlimited | Get-CasMailbox | Where-Object { $_.ActiveSyncEnabled -eq $true } 
 +</code>
 =====Links===== =====Links=====
  
microsoft_exchange.1725520433.txt.gz · Zuletzt geändert: 2024/09/05 09:13 von jango