\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Ravencmp (Phahh3)} \pdfinfo{ /Title (microsoft-exchange-2016.pdf) /Creator (Cheatography) /Author (Ravencmp (Phahh3)) /Subject (Microsoft Exchange 2016 Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{A3A3A3} \definecolor{LightBackground}{HTML}{F3F3F3} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Microsoft Exchange 2016 Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Ravencmp (Phahh3)} via \textcolor{DarkBackground}{\uline{cheatography.com/71462/cs/18134/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Ravencmp (Phahh3) \\ \uline{cheatography.com/phahh3} \\ \uline{\seqsplit{www}.ravencomputers.dk} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 7th December, 2018.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Skrevet af:}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\bf{Gruppe 1:}} Lucas Hadberg, Niklas Hald, Tobias Munk, Peter Hesselø} \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.64 cm} x{5.36 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Systemkrav:}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{AD Server:}} & {\bf{Hardware:}} \{\{nl\}\} 4+ GB RAM, \{\{nl\}\}30+ GB Harddisk\{\{nl\}\}\{\{nl\}\} {\bf{Software:}} \{\{nl\}\} Windows Server 2016 `{\bf{{\emph{fuldt opdateret}}}}`\{\{nl\}\}\{\{nl\}\}{\bf{Services:}} DNS, AD \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} {\bf{Exchange Server:}} & {\bf{Hardware:}} \{\{nl\}\} 12+ GB RAM, \{\{nl\}\} 60+ GB Harddisk\{\{nl\}\}\{\{nl\}\} {\bf{Software:}} \{\{nl\}\} Windows Server 2016 `{\bf{{\emph{fuldt opdateret}}}}`\{\{nl\}\} Exchange Server 2016 `{\bf{{\emph{fuldt opdateret}}}}`\{\{nl\}\} \tn % Row Count 15 (+ 8) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Server Prerequisites}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\emph{På begge servers:}} \newline % Row Count 1 (+ 1) {\bf{.NET Framework 4.7.1}} \newline % Row Count 2 (+ 1) {\bf{Microsoft Visual C++ x64 Runtime}} \newline % Row Count 3 (+ 1) {\bf{Unified Communications Managed API Runtime}} \newline % Row Count 4 (+ 1) {\bf{Remote Server Administration Tools (RSAT)}} \newline % Row Count 5 (+ 1) {\emph{På AD Server:}} \newline % Row Count 6 (+ 1) {\bf{Installer følgende features via CMD (med Exchange Admin user): }} \newline % Row Count 8 (+ 2) `Setup /PrepareSchema \seqsplit{/IAcceptExchangeServerLicenseTerms`} \newline % Row Count 10 (+ 2) `Setup /PrepareAD /OrganizationName:{[}Organisationsnavn{]} \seqsplit{/IAcceptExchangeServerLicenseTerms`} \newline % Row Count 12 (+ 2) `Setup /Role:ManagementTools \seqsplit{/IAcceptExchangeServerLicenseTerms`} \newline % Row Count 14 (+ 2) {\emph{På Exchange Server:}} \newline % Row Count 15 (+ 1) {\bf{Brug GUI setup.exe filen til at installere Exchange}} \newline % Row Count 17 (+ 2) Følg wizard og installer Mailbox server rolle \newline % Row Count 18 (+ 1) {\bf{Installer følgende features via PowerShell: }} \newline % Row Count 20 (+ 2) `Install-WindowsFeature \seqsplit{NET-Framework-45-Features}, RPC-over-HTTP-proxy, RSAT-Clustering, \seqsplit{RSAT-Clustering-CmdInterface}, RSAT-Clustering-Mgmt, \seqsplit{RSAT-Clustering-PowerShell}, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, \seqsplit{Windows-Identity-Foundation}, RSAT-ADDS`% Row Count 33 (+ 13) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.92 cm} x{4.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Server Konfiguration}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Computernavn:}} & {[}Lokation{]}-{[}Rolle{]} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{IP-Adresse:}} & `serveradresser bør være statiske` \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Domain:}} & {\emph{TLD required}} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} {\bf{Administration:}} & Exchange serveren tilmeldes AD Server.\{\{nl\}\} Opret en bruger til Exchange management.\{\{nl\}\}\{\{nl\}\} {\bf{Brugeren skal være medlem af:}}\{\{nl\}\} - Administrators\{\{nl\}\} - Domain admins\{\{nl\}\} - Enterprise admins\{\{nl\}\} - Schema admins\{\{nl\}\}\{\{nl\}\} \tn % Row Count 16 (+ 12) % Row 4 \SetRowColor{LightBackground} {\bf{Brugere:}} & Oprettes via PowerShell eller GUI \tn % Row Count 18 (+ 2) % Row 5 \SetRowColor{white} {\bf{Domain/Forest\{\{nl\}\}Functional Level}} & Windows Server 2012 R2 (minimum) \tn % Row Count 21 (+ 3) % Row 6 \SetRowColor{LightBackground} {\bf{Domain Control:}} & Global Catalog \tn % Row Count 22 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.08 cm} x{3.92 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Kontrol af setup}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{EXCHANGE ADMIN CENTER}} & https://{[}servernavn{]}/ecp \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{OUTLOOK WEB APP}} & https://{[}servernavn{]}/owa \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Tjek evt. logs på c:\textbackslash{}ExchangeSetupLogs} \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Interne/eksterne adresser sættes op i \{\{nl\}\} EAC/ECP -\textgreater{} Servers -\textgreater{} Virtual Directories} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Brugere}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Oprettes via \newline % Row Count 1 (+ 1) EAC/ECP → modtagere → postkasser → ny brugerpostkasse \newline % Row Count 3 (+ 2) `oprettede exchange brugere oprettes automatisk til AD`% Row Count 5 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.4 cm} x{5.6 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{MailBox Konfiguration}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Åben Exchange Management Shell (EMS)}}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{Aktivering:}} & `Enable-Mailbox -identity {[}alias{]} \{\{nl\}\}-Database {[}databasenavn{]}` \{\{nl\}\}{\bf{(hvis bruger er i AD)}} \tn % Row Count 5 (+ 4) % Row 2 \SetRowColor{LightBackground} {\bf{Flytning:}} & `New-MoveRequest -Identity '{[}alias{]}' \{\{nl\}\}-TargetDatabase "{[}databasenavn{]}"` \tn % Row Count 8 (+ 3) % Row 3 \SetRowColor{white} {\bf{Sletning:}} & `Remove-Mailbox -Identity '{[}alias{]}' -Permanent \$true` \{\{nl\}\}{\bf{(sletter også bruger i AD)}} \tn % Row Count 12 (+ 4) % Row 4 \SetRowColor{LightBackground} {\bf{Deaktivering:}} & `Disable-Mailbox -Identity '{[}alias{]}'`\{\{nl\}\}{\bf{(deaktiverer også bruger i AD)}} \tn % Row Count 15 (+ 3) % Row 5 \SetRowColor{white} {\bf{Retablering:}} & EAC/ECP → Recipients → More \{\{nl\}\}→ Connect Mailbox → Vælg brugerpostkasse \tn % Row Count 18 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Alternativt kan dette også gøre via EAC/ECP GUI} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.08 cm} x{3.92 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Administrative Exchange roller}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Organization \{\{nl\}\}Management}} & fuld adgang \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Recipient \{\{nl\}\}Management}} & adgang til ændringer af recipients \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Public Folder \{\{nl\}\}Management}} & adgang til ændringer af public folders \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} {\bf{View-Only Organization \{\{nl\}\}Management}} & view-only adgang af alt \tn % Row Count 10 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Du kan oprette grupper i AD som giver adgang til disse roller} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Certifikater}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{1) Oprettelse:}} \newline % Row Count 1 (+ 1) EAC/ECP → Servers → Certificates → New \newline % Row Count 2 (+ 1) → Create a request... → udfyld formular \newline % Row Count 3 (+ 1) {\bf{2) Opret certifikatet på AD serveren:}} \newline % Row Count 4 (+ 1) Submit base-64 encoded text request \newline % Row Count 5 (+ 1) → Download certifikatet på Exchange serveren \newline % Row Count 6 (+ 1) {\bf{3) Implementering: }} \newline % Row Count 7 (+ 1) EAC/ECP → Servers → Certificates → Vælg certifikatet der er pending → Vælg "Complete" → Udfyld stien til certifikatet → OK → Rediger → Tjenester → {[}Vælg tjenester{]}% Row Count 11 (+ 4) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Mailbox Types}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\bf{User Mailbox}}\{\{nl\}\} Alm. bruger postkasse} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{Shared Mailbox}}\{\{nl\}\}Fælles postkasse, brugere kan få adgang til uden at købe ekstra licenser.} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\bf{Distribution Group}}\{\{nl\}\}Statisk adresseliste som automatisk videresender indkommende mail til tilknyttede brugere. Manuelt defineret.} \tn % Row Count 6 (+ 3) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{Dynamic Distribution Group}}\{\{nl\}\}Automatisk defineret adresseliste som opdateres ud fra variabler defineret i AD.} \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\bf{Resources/Room/Equipment}}\{\{nl\}\} Reservation af rum, udstyr eller andre ressourcer f.eks. i kalenderen.} \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{Contacts}}\{\{nl\}\}Eksterne kontakter som oprettes i AD, videresendes til ekstern mail server.} \tn % Row Count 14 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Public Folders}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{Opret Public Folder Mailbox:}} \newline % Row Count 1 (+ 1) EAC/ECP → Public folders → Mailboxes → New Public Folder \newline % Row Count 3 (+ 2) - Vælg placering i OU \newline % Row Count 4 (+ 1) - Vælg den mailbox database oprettet tidligere til Public Folders \newline % Row Count 6 (+ 2) {\bf{Opret Public Folder:}} \newline % Row Count 7 (+ 1) EAC/ECP → Public folders → New Public Folders \newline % Row Count 8 (+ 1) {\bf{Rediger permissions:}} \newline % Row Count 9 (+ 1) EAC/ECP → Public Folders → Public Folders → "Select folder" → Permissions → Administration → Add User → Select Permissions \newline % Row Count 12 (+ 3) {\bf{Mail-Enabled Public Folder:}} \newline % Row Count 13 (+ 1) EAC/ECP → Public Folders → Public Folders → "Select folder" → Aktiver% Row Count 15 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{MX Records}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\bf{Åben PowerShell med administrator rettigheder: }}\{\{nl\}\} \seqsplit{`Add-DNSServerResourceRecordMX} -Computername {[}AD-Servernavn{]} -Preference 10 -name "." -MailExchange "{[}Exchange-servernavn{]}" -ZoneName "{[}Domæne{]}`\{\{nl\}\}} \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{Bekræft MX-recorden ved at bruge følgende kommandoer:}}\{\{nl\}\} `Nslookup`\{\{nl\}\} `set type=mx`\{\{nl\}\} `{[}domæne{]}.dk`\{\{nl\}\}} \tn % Row Count 8 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Tilføj Accepted Domains}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{EAC/ECP → MailFlow → Accepterede Domæner → Ny% Row Count 2 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Indstil Postmaster}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{Åbn Exchange Management Shell (EMS), skriv følgende:}} \newline % Row Count 2 (+ 2) `Set-TransportConfig \seqsplit{-ExternalPostmasterAddress} Administrator@{[}domæne{]}` \newline % Row Count 4 (+ 2) {\bf{Kontroller at Postmasteren har tilknyttet e-mail adresser:}} \newline % Row Count 6 (+ 2) `Get-TransportConfig | Select \seqsplit{ExternalPostmasterAddress`}% Row Count 8 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{MailBox Database}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{Åben Exchange Management Shell (EMS), skriv følgende:}} \newline % Row Count 2 (+ 2) `Invoke-Command -ComputerName {[}exchange-servernavn{]} \{New-Item {[}Maildatabase-foldernavn{]} -ItemType directory\}` \newline % Row Count 5 (+ 3) `New-MailboxDatabase -Name '{[}databasenavn{]}' -EdbFilePath '{[}Maildatabase-foldernavn{]}\textbackslash{}{[}databasenavn{]}.edb' -Server {[}Exchange Server FQDN{]}` \newline % Row Count 8 (+ 3) `Mount-Database -Identity {[}databasenavn{]}`% Row Count 9 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Alternativt kan dette også gøre via EAC/ECP GUI} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Connectors}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{SMTP}} `Simple Mail Transfer Protocol` & Port 25 (Ukrypteret)\{\{nl\}\}Port 587 (Krypteret) \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} {\bf{POP3}} `Post Office Protocol` & Port 110 (Ukrypteret)\{\{nl\}\}Port 995 (Krypteret) \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} {\bf{IMAP}} `Internet Message Access Protocol` & Port 143 (Ukrypteret)\{\{nl\}\}Port 993 (Krypteret) \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} {\bf{MAPI}} `Messaging Application Programming Interface` & Port 135 \tn % Row Count 12 (+ 3) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Services: }}\{\{nl\}\}Microsoft Exchange POP3 + POP3 BackEnd \{\{nl\}\} Microsoft Exchange Imap4 + IMAP4 BackEnd} \tn % Row Count 15 (+ 3) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{Exchange Management Shell: }}\{\{nl\}\}`Set-PopSettings -Server ZBC1-Exchange -MaxConnections 10`\{\{nl\}\} `Restart-Service MSExchangePop3`\{\{nl\}\} `Set-ImapSettings -Server ZBC1-Exchange -MaxConnections 50`\{\{nl\}\} `Restart-Service MSExchangeImap4`} \tn % Row Count 20 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{IMAP/POP3/SMTP Certifikater}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{IMAP4 SETUP:}} \newline % Row Count 1 (+ 1) - Start IMAP4 Services automatisk \newline % Row Count 2 (+ 1) - Konfigurér IMAP4 for klienterne \newline % Row Count 3 (+ 1) `Set-ImapSettings \seqsplit{-ExternalConnectionSettings} "mail.{[}domæne{]}.dk:993:SSL","mail.{[}domæne{]}.dk:143:TLS" -X509CertificateName mail.{[}domæne{]}.dk` \newline % Row Count 6 (+ 3) - Genstart IMAP4 Services \newline % Row Count 7 (+ 1) `Restart-service msExchangeIMAP4` \newline % Row Count 8 (+ 1) `Restart-service msExchangeIMAP4BE` \newline % Row Count 9 (+ 1) {\bf{POP3 SETUP:}} \newline % Row Count 10 (+ 1) - Start POP3 Services automatisk \newline % Row Count 11 (+ 1) - Konfigurér POP3 for klienterne \newline % Row Count 12 (+ 1) `Set-PopSettings \seqsplit{-ExternalConnectionSettings} "mail.{[}domæne{]}.dk:995:SSL","mail.{[}domæne{]}.dk:110:TLS" -X509CertificateName mail.{[}domæne{]}.dk` \newline % Row Count 15 (+ 3) - Genstart POP3 services \newline % Row Count 16 (+ 1) `Restart-service msExchangePOP3` \newline % Row Count 17 (+ 1) `Restart-service msExchangePOP3BE` \newline % Row Count 18 (+ 1) {\bf{SMTP SETUP:}} \newline % Row Count 19 (+ 1) - Konfigurer Receive connector \newline % Row Count 20 (+ 1) `Get-ReceiveConnector -Identity "Client Frontend*" | Set-ReceiveConnector -Fqdn {[}exchange-servernavn{]}.{[}domæne{]}.dk` \newline % Row Count 23 (+ 3) - Certifikat \newline % Row Count 24 (+ 1) Eksempel fra Microsoft Technet \newline % Row Count 25 (+ 1) `\$TLSCert = Get-ExchangeCertificate -Thumbprint \seqsplit{434AC224C8459924B26521298CE8834C514856AB`} \newline % Row Count 27 (+ 2) `\$TLSCertName = "\textless{}I\textgreater{}\$(\$TLSCert.Issuer)\textless{}S\textgreater{}\$(\$TLSCert.Subject)"` \newline % Row Count 29 (+ 2) `Get-ReceiveConnector -Identity "Client Frontend*" | Set-ReceiveConnector -TlsCertificateName \$TLSCertName` \newline % Row Count 32 (+ 3) } \tn \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{IMAP/POP3/SMTP Certifikater (cont)}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{- Vis SMTP settings i OWA \newline % Row Count 1 (+ 1) `Get-ReceiveConnector -Identity "Client Frontend*" | Set-ReceiveConnector -AdvertiseClientSettings \$true`% Row Count 4 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Backup}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{Installer følgende features via PowerShell på Exchange Serveren: }} \newline % Row Count 2 (+ 2) `Install-WindowsFeature Windows-Server-Backup` \newline % Row Count 3 (+ 1) {\bf{Planlægning af backup sker via wizard}} \newline % Row Count 4 (+ 1) {\emph{Det anbefales at vælge FULL Server, en gang om dagen}}% Row Count 6 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Alternativt kan dette også gøre via EAC/ECP GUI} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Monitorering}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{Performance:}} \newline % Row Count 1 (+ 1) Performance Monitor kan åbnes via kommandoen PERFMON \newline % Row Count 3 (+ 2) {\bf{Mail Queue:}} \newline % Row Count 4 (+ 1) Exchange Toolbox → Queue Viewer → Messages/Queues \newline % Row Count 6 (+ 2) {\bf{Mail Tracking:}} \newline % Row Count 7 (+ 1) EAC/ECP → MailFlow Delivery Reports% Row Count 8 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}