\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{jakobegem (DrJones)} \pdfinfo{ /Title (exchange-server.pdf) /Creator (Cheatography) /Author (jakobegem (DrJones)) /Subject (Exchange Server 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}{494CA3} \definecolor{LightBackground}{HTML}{F3F3F9} \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{Exchange Server Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{jakobegem (DrJones)} via \textcolor{DarkBackground}{\uline{cheatography.com/62338/cs/16119/}}} \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}jakobegem (DrJones) \\ \uline{cheatography.com/drjones} \\ \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 17th June, 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*}{3} \begin{tabularx}{5.377cm}{x{2.09034 cm} x{2.88666 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Termer/Forkortelser i forbindelse med Exchange}} \tn % Row 0 \SetRowColor{LightBackground} ADDS & Active Directory Domain Services \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} DNS & Domain Name System \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} OU & Organizational Unit \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} EMS & Exchange Management Shell \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} ECP & Exchange Control Panel \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} EAC (Også kendt som ECP) & Exchange Admin Center \tn % Row Count 9 (+ 2) % Row 6 \SetRowColor{LightBackground} RSAT & Remote Server Administration Tools \tn % Row Count 11 (+ 2) % Row 7 \SetRowColor{white} POP3 & Post Officer Protocol Version 3 \tn % Row Count 13 (+ 2) % Row 8 \SetRowColor{LightBackground} IMAP & Internet Message Access Protocol \tn % Row Count 15 (+ 2) % Row 9 \SetRowColor{white} OWA & Outlook Web Access \tn % Row Count 16 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{1.89126 cm} p{3.08574 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Portnumre i Exchange}} \tn % Row 0 \SetRowColor{LightBackground} 443 & HTTPS \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 80 & HTTP \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} 143 & IMAP \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} 110 & POP3 \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} 25 & SMTP \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} 339 & RDP \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.04057 cm} x{2.93643 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Public Folders}} \tn % Row 0 \SetRowColor{LightBackground} Opret Public Folder Mailbox & I EAC/ECP vælg "Public Folders" - \seqsplit{"PublicfolderMailboxes"} - "New Public Folder" \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} Opret Public Folder & I EAC/ECP vælg "Public Folders" - "New Public Folder" \tn % Row Count 7 (+ 3) % Row 2 \SetRowColor{LightBackground} Mail Enable en Public Folder & I EAC/ECP kan man mail enable en Public Folder \tn % Row Count 9 (+ 2) % Row 3 \SetRowColor{white} Permissions & Hvis man er ejer af Public Folder, kan der ændres permissions \tn % Row Count 12 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.44333 cm} x{3.53367 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Recipients}} \tn % Row 0 \SetRowColor{LightBackground} Opret en kontakt & I EAC/ECP vælg Recipients - Contacts - Vælg Mail user for at bruge en AD kontakt,eller vælg en mail Contact for at vælge en fra global address list \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} Opret grupper & Under recipients, vælg "Groups" og tryk på plusset. Vælg de medlemmer du vil have i gruppen. \tn % Row Count 10 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Krævede installationer på AD Server}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{ADDS} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{DNS} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{IP Konfiguration} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Navn på Server (Bør ændres fra default)} \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Exchange Server Installation/klargøring}} \tn % Row 0 \SetRowColor{LightBackground} Exchange Installation & Kør installationsfil som Administrator \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Klargør AD til Exchange (Kommando køres på ADServer) & Setup /PrepareSchema \seqsplit{/IAcceptExchangeServerLicenseTerms} \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} Klargør Domæne til Exchange (Kommando køres på ADServer) & Setup /PrepareAD /OrganizationName:{[}Organisationsnavn{]} \seqsplit{/IAcceptExchangeServerLicenseTerms} \tn % Row Count 10 (+ 5) % Row 3 \SetRowColor{white} Windows Server 2016 prerequisites (Powershell) & \seqsplit{Install-WindowsFeature} \seqsplit{NET-Framework-45-Features}, RPC-over-HTTP-proxy, RSAT-Clustering, \seqsplit{RSAT-Clustering-CmdInterface}, \seqsplit{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, \seqsplit{Web-Lgcy-Mgmt-Console}, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, \seqsplit{Web-Stat-Compression}, Web-Static-Content, Web-Windows-Auth, Web-WMI, \seqsplit{Windows-Identity-Foundation}, RSAT-ADDS \tn % Row Count 43 (+ 33) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Exchange Server Installation/klargøring (cont)}} \tn % Row 4 \SetRowColor{LightBackground} Opret MX Record & \seqsplit{Add-DnsServerResourceRecordMX} -Preference 10 -Name "." -MailExchange "NAVN" -ZoneName "NAVN" \tn % Row Count 5 (+ 5) % Row 5 \SetRowColor{white} CAS rollen & IMAP \& POP3 sættes til at starte automatisk \tn % Row Count 8 (+ 3) % Row 6 \SetRowColor{LightBackground} Postmaster & Set-TransportConfig \seqsplit{-ExternalPostmasterAddress} Administrator@{[}domæne{]}.local \tn % Row Count 12 (+ 4) % Row 7 \SetRowColor{white} Opret biblioteker & Invoke-Command -ComputerName {[}Exchange Server Hostnavn{]} \{ New-Item C:\textbackslash{}MBX1,C:\textbackslash{}MBX2,C:\textbackslash{}MBX3 -ItemType directory \} \tn % Row Count 18 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Konfiguration I Powershell/EMS}} \tn % Row 0 \SetRowColor{LightBackground} Opret MX record & \seqsplit{Add-DnsServerResourceRecordMX} -Preference 10 -Name "." -MailExchange "navn" -ZoneName "navn" \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} Opret en mailbox & Enable-Mailbox -Identity Jakob \tn % Row Count 7 (+ 2) % Row 2 \SetRowColor{LightBackground} Opret Mailbox database & New-MailboxDatabase -Name "Database" -EdbFilePath D:\textbackslash{}ExchangeDatabases\textbackslash{}Database\textbackslash{}Database.edb \tn % Row Count 12 (+ 5) % Row 3 \SetRowColor{white} Se statistik på mailboxes & \seqsplit{Get-MailboxStatistics} -Server Exhcangeserver1 \tn % Row Count 15 (+ 3) % Row 4 \SetRowColor{LightBackground} Sæt regler på mailbox (Her sættes eksempelvis en regel der forwarder mails til en anden maildresse end sin egen) & Set-Mailbox -Identity "Jakob" \seqsplit{-DeliverToMailboxAndForward} \$true \seqsplit{-ForwardingSMTPAddress} Jakob2@mail.com \tn % Row Count 21 (+ 6) % Row 5 \SetRowColor{white} Opret Distributions gruppe & \seqsplit{New-DistributionGroup} \tn % Row Count 23 (+ 2) % Row 6 \SetRowColor{LightBackground} Sæt permissions på en mailbox folder & \seqsplit{Add-MailboxFolderPermission} \tn % Row Count 25 (+ 2) % Row 7 \SetRowColor{white} Autodiscover & \seqsplit{Set-ClientAccessService} -Identity "MBX-01" \seqsplit{-AutoDiscoverServiceInternalUri} \seqsplit{"https://mbx01.contoso.com/autodiscover/autodiscover.xml"} \seqsplit{-AutoDiscoverSiteScope} "Mail" \tn % Row Count 34 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.89126 cm} x{3.08574 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Backup}} \tn % Row 0 \SetRowColor{LightBackground} Backup på Windows Server & Installer Windows Server Backup under Roles/features \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Typer af backup & Full, Incremental, Differential \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Recover Exchange Server & Setup /m:RecoverServer \seqsplit{/IAcceptExchangeServerLicenseTerms} \tn % Row Count 8 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.64241 cm} x{3.33459 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Monitorering}} \tn % Row 0 \SetRowColor{LightBackground} Exchange Performance & Åbn Windows Task Manager og vælg Performance. Herefter kan ses performance på CPU, RAM osv. \tn % Row Count 4 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Connectors}} \tn % Row 0 \SetRowColor{LightBackground} Receive Connectors & Kontrollerer indgående SMTP-mailflow. Lytter efter indgående forbindelser, der matcher konfigurationen af connectoren. Flere standard Receive Connectors oprettes, når du installerer Exchange. \tn % Row Count 10 (+ 10) % Row 1 \SetRowColor{white} Send Connectors & Kontrollerer udgående SMTP-mailflow. Ingen standard Send Connectors til indgående SMTP-mailflow oprettes, når du installerer Exchange, men implisitte og usynlige Send Connectors eksisterer, og bruges til at lede post mellem interne Exchange-servere. \tn % Row Count 23 (+ 13) % Row 2 \SetRowColor{LightBackground} Delivery agents and Delivery Agent Connectors & Kontroller udgående mailflow til IKKE-SMTP systemer. Udgående mails sættes i mailkøer til levering til ikke-SMTP-systemet. \tn % Row Count 30 (+ 7) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}