Die Präsentation wird geladen. Bitte warten

Die Präsentation wird geladen. Bitte warten

Exchange Verwaltung mit der WPS

Ähnliche Präsentationen

Präsentation zum Thema: "Exchange Verwaltung mit der WPS"—  Präsentation transkript:

1 Exchange Verwaltung mit der WPS
EMS und WPS SnapIns

2 Exchange Schnittstelle WPS

3 Was ist die EMS Konsole Host für Exchange
Verfügbar für Exchange ab Version 2007 Basiert auf PsSnapIn: Microsoft.Exchange.Management.PowerShell.E2010 Auflisten aller Exchange Befehle: Get-ExCommand

4 WPS für Exchange aufbereiten
Import der Befehle: Add-PsSnapin –name *Exchange* Get-Command | Where-Object { $_.PsSnapin -like "Microsoft.Exchange.Management*"} | select-Object noun | sort-Object -Property noun -Unique -Descending

5 WPS Exchange Beispiele
Get-User | Where-Object {$_.distinguishedname –ilike "*ou=web,dc=script-solutions,dc=local"} | Enabl box –database “Mailbox Database 1“ Get-Message -Filter {FromAddress -like "ThomasWiefel*"} | Remove-Message Get-DistributionGroup "RemoteUsers" | Get-DistributionGroupMember | Set-Mailbox –MaxReceiveSize 10MB

6 Statistiken und Abfragen
Get-MailboxServer | Get-LogonStatistics | Select UserName,ApplicationId,ClientVersion,LastAccessTime (stat1.ps1) Get-LogonStatistics -Identity ThomasWiefel | Format-List * Get-MailboxFolderStatistics -Identity ThomasWiefel -FolderScope All | select Name,ItemsInFolder,FolderSize | Export-CSV C:\MB_Report.csv -NoTypeInformation

7 Statistiken und Abfragen
$geraete = Get-ActiveSyncDevice | ?{$_.DeviceAccessState -eq 'Allowed'} $geraete | ForEach-Object { $mailbox = $_.UserDisplayName } Wie kann die zweite Zeile in der Schleife genutzt werden ? Get-ActiveSyncDeviceStatistics –Identity $_

8 Benutzerverwaltung $parameters Title = “scripter" Department = “wps" Office = “scripting" } Set-User

9 Mailbox und öffentliche Ordner
Course 10135A Mailbox und öffentliche Ordner Module 2: Configuring Mailbox Servers To properly manage Mailbox servers, students should know how Mailbox servers store mailbox and public folder contents. Exchange Server 2010 stores mailbox and public folder contents in databases to enhance performance and reduce storage utilization. Discuss the structure and function of Exchange Server databases: Each database consists of a single rich text database (.edb) file. All messages are stored in this database regardless of what type of client sends or reads the messages. In Exchange Server 2010, each database has a single set of transaction logs. The transaction log stores the data changes for a database. Data changes include all messages sent to or from the database. Transaction logs are an essential during disaster recovery if you need to restore a mailbox or public folder database. Note that the Exchange Server 2010 database schema was changed significantly to improve its performance over previous Exchange Server versions. Discuss the importance of database and transaction log file location. By default, all databases and transaction logs for a single database are stored in one folder within the Exchange Server directory (C:\Program Files\Microsoft\Exchange Server\v14\Mailbox). Each database has its own folder. Although Exchange Server does not require separating databases and transaction logs, given the appropriate redundancy, this separation does increase recoverability, and you should consider it if your organization does not employ other availability options. If the disk holding a database fails, the transaction logs are required to recover recent activity since the last backup. You can recover only to the point of the last back up, if the transaction logs are stored on the same disk as the database files. In Exchange 2000 Server and Exchange Server 2003, there was an option to create multiple databases and have them share a set of transaction logs. This was called a storage group. In Exchange Server 2007, having multiple databases in a storage group was available only for databases that did not have high availability features enabled. In Exchange Server 2010, there is no option to have multiple databases to share a single set of transaction logs. Mailbox Datenbanken speichern Nachrichten für Mailbox Benutzer Öffentliche Ordner DBs speichern den Inhalt öffentlicher Ordner

10 Was ist der Unterschied zwischen : New-MailBox und Set-MailBox ?
Mailbox anlegen $password = ConvertTo-SecureString -AsPlainText -Force New-Mailbox -UserPrincipalName ` -Alias ThomasWiefel ` -Database TestDB ` -Name ThomasWiefelMuster ` -OrganizationalUnit web ` -Password $password ` -FirstName Thomas ` -LastName Muster ` -DisplayName ‘Thomas Muster’ Was ist der Unterschied zwischen : New-MailBox und Set-MailBox ?

11 Was erstellt Get-Credential ?
Mailbox anlegen New-Mailbox -Name ThomasWiefel -UserPrincipalName ` -Password (Get-Credential).password Was erstellt Get-Credential ?

12 Dynamisch aus einer CSV Datei Mailboxen erstellen
Mailbox anlegen Übung Alias Database Name Password DisplayName x Dynamisch aus einer CSV Datei Mailboxen erstellen

13 Mailbox ändern Set-Mailbox Cmdlet Param Key Value [HASH]EmailAdresses
add [ARRAY] Adresse Remove

14 Mailbox ändern Testen ! Set-Mailbox ThomasWiefel Sekundäre Mailadressen hinzufügen Test: Get-Mailbox -Identity ThomasWiefel | select-Object *

15 Mehrere Mailadressen entfernen
Mailbox ändern Set-Mailbox ThomasWiefel Mehrere Mailadressen entfernen

16 Mailbox deaktivieren Disabl box -Identity ThomasWiefel -Confirm:$false

17 Was ist ein „CorruptionType“ ?
Mailbox reparieren New-MailboxRepairRequest -Mailbox ThomasWiefel` -CorruptionType SearchFolder, ProvisionedFolder,FolderView ` -DetectOnly New-MailboxRepairRequest -Mailbox testuser ` -CorruptionType SearchFolder Was ist ein „CorruptionType“ ?

18 Verteilergruppen verwalten
$groups = Get-DistributionGroup -ResultSize Unlimited foreach($group in $groups){ Get-DistributionGroupMember $group | ?{$_.RecipientType -like '*User*' -and $_.ResourceType -eq $null} | Get-User | ?{$_.UserAccountControl -match 'AccountDisabled'} | Remove-DistributionGroupMember $group -Confirm:$false } Deaktivierte User entfernen

19 Anlage einer neuen Verteilergruppe

20 Verteilergruppe verwalten
Import-Csv C:\users.csv | ForEach-Object { Add-DistributionGroupMember Seminar -Member $_. Address } Dynamischer Benutzimport

21 Öffentliche Ordner Speicherort für unterschiedliche Informationen
Course 10135A Module 2: Configuring Mailbox Servers Öffentliche Ordner All Public Folders Public Folders Internet Newsgroups HR Business Handbook Personnel Forms Marketing Products Ordnerstruktur Speicherort für unterschiedliche Informationen Describe public folders and what you use them for. You can explain to the students that a public folder is a repository for different information types, such as messages, text documents, and multimedia files. A public folder database stores public folder contents, which you can share with Exchange Server organization users. Organizations typically use public folders as: A location to store contacts for the entire organization. Centralized calendars for tracking events. Discussion groups. A location in which to receive and store messages for a workgroup, such as the Help desk. A storage location for cusThomasWiefel applications. Additionally, system public folders are used to support legacy Office Outlook versions for free/busy information, cusThomasWiefel forms, and offline address books. One alternative to public folders is Windows SharePoint® Services, which is a Web-based platform used to centrally store data for the enterprise, workgroups, and individuals. You can create multiple SharePoint sites for specific task such as: Team collaboration. Project management. Help-desk management. Expense reimbursement. Vacation scheduling. 21

22 Öffentliche Ordner konfigurieren
Course 10135A Module 2: Configuring Mailbox Servers Öffentliche Ordner konfigurieren Öffentliche Ordner erstellen Öffentliche Ordner replizieren Zugriffsberechtigungen konfiguriéren In this demonstration, you will use the Public Folder Management Console (PFMC), Exchange Management Shell, and Office Outlook to configure public folders. Demonstrate using the PFMC to add replicas and set permissions on a public folder. Demonstrate using Exchange Management Shell to add permissions to a public folder. Open Outlook and view the permissions assigned on the public folder via Exchange Management Shell. Preparation Ensure that the 10135A-VAN-DC1, 10135A-VAN-EX1 and the 10135A-VAN-CL1 virtual machines are running. Log on to the virtual machines as Administrator with the password of Pa$$w0rd. Demonstration Steps To use the PFMC to add replicas and set permissions on a public folder: 1. On VAN-EX1, if required, click Start, click All Program Files, click Exchange Server 2010, and then open Exchange Management Console. 2. In the Console Tree, expand Microsoft Exchange On-Premises, and then expand Toolbox. 3. In the Content pane, double-click Public Folder Management Console. 4. If not already connected, in the Actions pane, click Connect to a Server, and then in the Connect to Server dialog box, click Browse. 5. In the Select Public Folder Servers dialog box, select VAN-EX1, click OK, and then click Connect. 6. Select the Default Public Folders node in the Console Tree, and then click New Public Folder in the Actions pane. 7. In the New Public Folder Wizard, type web, click New, and then click Finish. 8. In the Content pane, right-click web, view the available options, and then click Properties. 9. View the information available on the General tab, and then select the Statistics tab. 22

23 Public Folder erstellen

24 Public Folder Berechtigungen
Add-PublicFolderClientPermission -Identity \Marketing ` -User ThomasWiefel` -AccessRights Owner ` -Server MyServer

25 Öffentliche Ordner replizieren
Course 10135A Module 2: Configuring Mailbox Servers Öffentliche Ordner replizieren Replicas ? Erforschen ! Set-PublicFolder \Marketing -Replicas PFDB1,PFDB2 25

26 Client access settings
OWA,etc steuern Set-CasMailbox Client access settings -OwaEnabled [bool] -ActiveSyncEnabled [bool] -PopEnabled [bool] -ImapEnabled [bool] #liste aller ActiveSync Geräte Get-CASMailbox | Select-Object owa*,Identity | out-GridView

27 OWA,etc steuern Set-CasMailbox -Identity „ThomasWiefel“ `
-OWAEnabled $false ` -ActiveSyncEnabled $false ` -PopEnabled $false ` -ImapEnabled $false

28 ActiveSync Geräte liste
Get-ActiveSyncDevice | Select-Object FriendlyName,DeviceUserAgent, DeviceType,DeviceOS | ft

29 Aufgabe OWA: Erstellen Sie 3 Benutzer mit dem Atribut office=„scripting“ Deaktivieren Sie owa,ActiveSync [30min] Lösung: LOE_25

30 Mailbox DB Update 4 1 3 5 2 Course 10135A
Module 2: Configuring Mailbox Servers Mailbox DB Update 1 4 Update 3 Eintrag in DB Discuss the process that the Mailbox server uses when it receives data, as follows: The Mailbox server receives the message. The Mailbox server writes the message to the current transaction log and memory cache simultaneously. Note: If the current transaction log reaches 1 megabyte (MB) of storage, Exchange Server 2010 renames it and creates a new current transaction log. 3. The Mailbox server writes the transaction from memory cache to the appropriate database. 4. The Mailbox server updates the checkpoint file to indicate that the transaction was committed successfully to the database. 5. Clients can access and read the message in the database. When time permits, identify the files from the previous slide that each step of this process affect. Mail empfangen 5 Client zugriff Nachricht schreiben 2 30

Herunterladen ppt "Exchange Verwaltung mit der WPS"

Ähnliche Präsentationen