\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{stofferdk} \pdfinfo{ /Title (microsoft-exchange-2016.pdf) /Creator (Cheatography) /Author (stofferdk) /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}{stofferdk} via \textcolor{DarkBackground}{\uline{cheatography.com/63592/cs/17559/}}} \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}stofferdk \\ \uline{cheatography.com/stofferdk} \\ \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 26th October, 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{5.28 cm} x{2.72 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Hardware}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{RAM for Mailbox Role}} & MIN 8 GB \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{RAM for Egde Transport Role}} & MIN 4GB \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{CPU}} & Min 2 Cores 2Ghz \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} {\bf{HDD}} & Min 30 GB \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{HDD SSD}} & Preferred \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.84 cm} x{4.16 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Exchange Roles}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Organization Management}} & Administratorer, der er medlemmer af \seqsplit{organisationsadministrationens} rollegruppe, har administrativ adgang til hele Exchange \seqsplit{Server-organisationen} og kan udføre næsten enhver opgave mod ethvert Exchange Server-objekt med nogle undtagelser, såsom Discovery Managementrollen. \tn % Row Count 14 (+ 14) % Row 1 \SetRowColor{white} {\bf{View-only Organization Management}} & Administratorer, der er medlemmer af rollegruppen Vis kun \seqsplit{organisationsstyring}, kan se egenskaberne for ethvert objekt i \seqsplit{Exchange-organisationen}. \tn % Row Count 22 (+ 8) % Row 2 \SetRowColor{LightBackground} {\bf{Recipient Management}} & Administratorer, der er medlemmer af modtagergruppens rollegruppe, har administrativ adgang til at oprette eller ændre Exchange Server-modtagere i Exchange \seqsplit{Server-organisationen}. \tn % Row Count 31 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{5.68 cm} x{2.32 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Exchange Control Panel}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Tilgå Exchange Control Panel Browser }} & \seqsplit{https://FQSM/ecp} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Tilgå Exchange Webmail}} & \seqsplit{https://FQSM/owa} \tn % Row Count 4 (+ 2) \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}{MX Record}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Powershell Command}} & \seqsplit{Add-DnsServerResourceRecordMX} -ComputerName {[}AD-Server hostnavn{]} -Preference 10 -Name "." - MailExchange "Exchange Server FQDN" -ZoneName "{[}domæne{]}" \tn % Row Count 8 (+ 8) % Row 1 \SetRowColor{white} {\bf{Kontroller at MX rekords er oprettet med nslookup. }} & \{\{nl\}\}o Nslookup\{\{nl\}\} \{\{nl\}\}o set type=mx\{\{nl\}\} \{\{nl\}\}o {[}Domæne.local{]}\{\{nl\}\} \tn % Row Count 12 (+ 4) \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{Receive Connectors}} & Receive connectors styre indgående SMTP-mailflow. Der er oprettet flere standard Receive connectors under installation af Exchange. \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} {\bf{Send Connectors}} & Send connectors styre udgående SMTP mail flow. Der er ikke oprettet nogle standard send connectors for eksterne mail flow, når Exchange bliver installeret. \tn % Row Count 15 (+ 8) % Row 2 \SetRowColor{LightBackground} {\bf{Delivery agents and Delivery Agent Connectors}} & Delivery agents og Delivery Agent connectors styre udgående mail flow til non-SMTP systemer. Udgående beskeder bliver sat i en kø, som så bliver sendt til non-SMTP system \tn % Row Count 24 (+ 9) % Row 3 \SetRowColor{white} {\bf{Foreign connectors}} & Foreign connectors styre udgående mail flow to non-SMTP systems. Udgående beskeder bliver skrevet til en fil som ligger i en mappe kaldes Drop, som senere bliver samlet op af non-SMTP systemet. \tn % Row Count 34 (+ 10) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.68 cm} x{4.32 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Grupper}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Distributions grupper }} & Brugt til at distribuere beskeder \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Sikkerheds grupper }} & Kan bruges til at distribuere beskeder og give adgang til ressourcer \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} {\bf{Dynamisk Distributions grupper}} & Inkludere modtager i AD som har bestemte attribut værdier som matcher gruppens filter \tn % Row Count 11 (+ 5) \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}{Exchange Install Prepare}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Lav Bruger til install af Exchange}} & Member of, Enterprise Admins, Domain Admins, Schema Admins, Administrator, \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} {\bf{Klargør Schema med Bruger}} & Setup.exe /PrepareSchema \tn % Row Count 6 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Klaregør Domænet med Bruger}} & Setup.exe D:\textbackslash{}Setup.exe /PrepareAD \seqsplit{/OrganizationName:"Skriv} et organization navn du bestemmer" \seqsplit{/IAcceptExchangeServerLicenseTerms} \tn % Row Count 13 (+ 7) % Row 3 \SetRowColor{white} {\bf{Install Exchange med Bruger}} & Setup.exe \tn % Row Count 15 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{Security}} & fjerne IE Enhanced Security i Servermanager \tn % Row Count 18 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.2 cm} x{4.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Install Prerequsites}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Forbind Exchange ISO}}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{Log på med Exchange Install brugeren}}} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{Kør PowerShell command}} & Install-WindowsFeature \seqsplit{NET-Framework-45-Features}, RPC-over-HTTPproxy, RSAT-Clustering, \seqsplit{RSAT-Clustering-CmdInterface}, RSATClustering-Mgmt, \seqsplit{RSAT-Clustering-PowerShell}, Web-Mgmt-Console, WASProcess-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, WebDigest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-HttpErrors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, WebISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-RequestMonitor, Web-Server, Web-Stat-Compression, Web-Static-Content, WebWindows-Auth, Web-WMI, \seqsplit{Windows-Identity-Foundation}, RSAT-ADDS \tn % Row Count 29 (+ 27) % Row 3 \SetRowColor{white} {\bf{Installer}} & Installer UcmaRuntimeSetup \tn % Row Count 31 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{7.2 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Porte}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Post Office Protocol version 3 (POP3)}} & 110 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{The Internet Message Access Protocol (IMAP)}} & 143 \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Simple Mail Transfer Protocol (SMTP)}} & 25 \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.6 cm} x{4.4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{EMS Commands}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Oprettelse af Database i EMS}} & New-MailboxDatabase -Name 'Ringsted-DB2' -EdbFilePath 'C:\textbackslash{}MBX2\textbackslash{}Ringsted-DB2.edb' -Server \textless{}Exchange Server FQDN\textgreater{} \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} {\bf{Mount Database i EMS}} & Mount-Database -Identity \textless{}DatabaseName\textgreater{} \tn % Row Count 8 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Enable Mailbox}} & Enable-Mailbox -Identity \textless{}bruger\textgreater{} -Database \textless{}databasenavn\textgreater{} \tn % Row Count 11 (+ 3) % Row 3 \SetRowColor{white} {\bf{Statistics for Mailboks}} & Get-MailboxStatistics -Server {[}Exchange Server Hostnavn{]} | Select DisplayName, ItemCount, TotalItemSize, DatabaseName | Format-Table \tn % Row Count 17 (+ 6) % Row 4 \SetRowColor{LightBackground} {\bf{statistics for Members:}} & Get-MailboxStatistics -Server {[}Exchange Server Hostnavn{]} | Get-Member \tn % Row Count 21 (+ 4) % Row 5 \SetRowColor{white} {\bf{Opret et Distributions gruppe}} & New-DistributionGroup -Name "IT Administrators" -Alias itadmin \seqsplit{-MemberJoinRestriction} open \tn % Row Count 26 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.48 cm} x{5.52 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Brugere}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{User Mailbox}} & AD bruger med en mailboks \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{Mail Contact}} & AD kontakt med ekstern mail \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Mail User}} & AD bruger med ekstern mail som har adgang til delte ressourcer \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} {\bf{Shared Mailbox}} & En mailboks som flere har adgang til og kan skrive fra \tn % Row Count 10 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.04 cm} x{4.96 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Backup}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Full backups }} & Backs up the databases ({\emph{.edb), transaction logs (}}.log), checkpoint files (*.chk), and then truncates the transaction logs for a specific database. \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} {\bf{Copy backups }} & Backs up the database, transaction logs, and checkpoint files. Copy backups do not truncate the transaction logs for the database. \tn % Row Count 13 (+ 6) % Row 2 \SetRowColor{LightBackground} {\bf{Incremental backups }} & Backs up the transaction logs to record changes since the last full or incremental backup, and then truncates the transaction logs. \tn % Row Count 19 (+ 6) % Row 3 \SetRowColor{white} {\bf{Differential backups }} & Backs up the transaction logs to record changes since the last full or incremental backup, and does not truncate the transaction logs. \tn % Row Count 25 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}