\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{Razsej} \pdfinfo{ /Title (exchange.pdf) /Creator (Cheatography) /Author (Razsej) /Subject (Exchange 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}{800E16} \definecolor{LightBackground}{HTML}{FBF7F7} \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 Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Razsej} via \textcolor{DarkBackground}{\uline{cheatography.com/71572/cs/18153/}}} \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}Razsej \\ \uline{cheatography.com/razsej} \\ \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 6th 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*}{3} \begin{tabularx}{5.377cm}{p{0.54747 cm} x{4.42953 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Forkortelser}} \tn % Row 0 \SetRowColor{LightBackground} ADDS & Active Directory Domain Services \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} DNS & Domain Name System \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} OU & Organizational Unit \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} EMS & Exchange Management Shell \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} ECP & Exchange Control Panel \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} EAC & Exchange Admin Center \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} RSAT & Remote Server Administration Tools \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} POP3 & Post Officer Protocol Version 3 \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} IMAP & Internet Message Access Protocol \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} OWA & Outlook Web Access \tn % Row Count 10 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.33919 cm} x{2.63781 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Installation af Exchange server og klargøring}} \tn % Row 0 \SetRowColor{LightBackground} Exchange Installation & Husk installation som Administrator \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Klargøring af AD & Setup /PrepareSchema \seqsplit{/IAcceptExchangeServerLice} nseTerms \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} Klargøring af Domæne til Exchange & Setup /PrepareAD /OrganizationName:{[}Organis ationsnavn{]} \seqsplit{/IAcceptExchangeServerLice} nseTerms \tn % Row Count 10 (+ 5) % Row 3 \SetRowColor{white} Opret MX Record & \seqsplit{AddDnsServerResourceRecordMX} - Preference 10 -Name "." - MailExchange "NAVN" - ZoneName "NAVN" \tn % Row Count 15 (+ 5) % Row 4 \SetRowColor{LightBackground} CAS rollen & IMAP \& POP3 sættes til at starte automatisk \tn % Row Count 18 (+ 3) % Row 5 \SetRowColor{white} Postmaster & Set-TransportConfig - \seqsplit{ExternalPostmasterAddress} Administrator@{[}domæne{]}.loca \tn % Row Count 22 (+ 4) % Row 6 \SetRowColor{LightBackground} Opret biblioteker & Invoke-Command - ComputerName {[}Exchange Server Hostnavn{]} \{ New-Item C:\textbackslash{}MBX1,C:\textbackslash{}MBX2,C:\textbackslash{}MBX3 - ItemType directory \} \tn % Row Count 28 (+ 6) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{Fravælg at søge efter opdateringer} \tn % Row Count 29 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Best Practice}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Planlæg din plads med omhug, Husk at tænke forud omkring hvor mange der skal bruge den} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Fokuser på sikkerhed, brug sikkerheds tips fra nettet} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Anti Spam, Husk at have et spam filter på din Exchange Server} \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.29402 cm} x{3.68298 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Permission}} \tn % Row 0 \SetRowColor{LightBackground} Full Access & Man for lov til at åbne og redigere i mailboxe dvs. åbne og slette mails \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Send as & Med denne permission har man lov til at få adgang til en mailbox og sende fra den til andre mailboxe \tn % Row Count 7 (+ 4) % Row 2 \SetRowColor{LightBackground} Send on Behalf & Men denne permission har du adgang til en anden mailbox og kan sende fra den så det ligner den rigtige person der ejer mailboxen har sendt den \tn % Row Count 12 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{PreRequisite}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Server som er domain joined. Exchange 2007,2010,2013,2016,2019. Admin Bruger med følgende Sikkerhedsgrupper: Domain Admin Schema Admin Enterprise Admin Administrator} \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Opdateret DotNet til nyeste version. Åben Powershell som Administrator og kør følgende kommando Install-WindowsFeature \seqsplit{NET-Framework-45-Features}, RPC-over-HTTP-Proxy, \seqsplit{RSAT-Clustering-CmdInterface}, Rsat-Clustering-Mgmt, \seqsplit{RSAT-Clustering-Powershell}, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, 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} \tn % Row Count 18 (+ 14) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Installer Visual C++ Redistributable Packages for Visual Studio 2013 Installer Unified Communications Managed API 5.0 Runtime Kør Exchange setup med følgende parameter Run Setup.exe /PrepareSchema \seqsplit{/IAcceptExchangeServerLicenseTerms} Run Setup.exe /PrepareAD /OrganizationName "OrgName" \seqsplit{/IAcceptExchangeServerLicenseTerms}} \tn % Row Count 25 (+ 7) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{3.08574 cm} p{1.89126 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Porte/Portnumre}} \tn % Row 0 \SetRowColor{LightBackground} HTTPS & 443 \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} HTTP & 80 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} POP3 & 110 \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} SMTP & 25 \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} IMAP & 143 \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} RDP & 339 \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.84149 cm} x{3.13551 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Backup}} \tn % Row 0 \SetRowColor{LightBackground} Installation & Installer Windows Server Backup under Roles/features \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Backup typer & Full, Incremental, Differential \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Recover Exchange Server & Setup /m:RecoverServer \seqsplit{/IAcceptExchangeServerLicense} Terms \tn % Row Count 8 (+ 3) \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 for 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}}{Navnet på serveren} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{IP indstillinger} \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.43873 cm} x{2.53827 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Powershell commands}} \tn % Row 0 \SetRowColor{LightBackground} Oprettelse af MX Record & \seqsplit{AddDnsServerResourceRecordMX} - Preference 10 -Name "." - MailExchange "navn" -ZoneName "navn" \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} Oprette en mailbox & Enable-Mailbox -Identity {[}Navn{]} \tn % Row Count 7 (+ 2) % Row 2 \SetRowColor{LightBackground} Oprette Mailbox database & New-MailboxDatabase -Name "Database" -EdbFilePath D:\textbackslash{}ExchangeDatabases\textbackslash{}Database\textbackslash{}D atabase.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} Opret Distributions gruppe & \seqsplit{New-DistributionGroup} \tn % Row Count 17 (+ 2) % Row 5 \SetRowColor{white} Sæt permissions på en mailbox folder & Add- \seqsplit{MailboxFolderPermission} \tn % Row Count 19 (+ 2) % Row 6 \SetRowColor{LightBackground} Autodiscover & Set-Cl ientAccessService - Identity " MBX -01 " - \seqsplit{AutoDiscoverServiceInternalUri} " https: \seqsplit{//mbx01.contoso.com/} auto \seqsplit{discover/autodiscover}.xml" - \seqsplit{AutoDiscoverSiteScope} "Mail" \tn % Row Count 28 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.09034 cm} x{2.88666 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Public Folders}} \tn % Row 0 \SetRowColor{LightBackground} Oprette Public Folder Mailbox & I EAC/ECP vælg "Public Folders" - \seqsplit{"PublicfolderMailboxes"} - "New Public Folder" \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} Oprette 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) \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}{System krav}} \tn % Row 0 \SetRowColor{LightBackground} Processor & x64 based Intel/AMD CPU \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Memory & 8GB Mailbox Role \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Disk space & 30 GB for Exchange drev \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Operativ system & Windows Server 2012 eller højere installeret med Desktop Experience \tn % Row Count 6 (+ 3) % Row 4 \SetRowColor{LightBackground} Outlook klienter & Outlook 2016, Outlook 2013, Outlook 2012 med SP2 installeret \tn % Row Count 9 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Antispam}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Antispam foregår i Transport Agents. Disse kan ændres med EMS, og kun EMS. Som standard er det fire transport agenter vi bruger, men de er ikke enabled på en Mailbox server. - Sender Filter Agent - Sender ID Agent - Content Filter Agent - Protocol Analysis Agent (Sender rep.)} \tn % Row Count 6 (+ 6) \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}{Exchange management shell commands}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{Get-ExchangeServer} & For attributterne for den server man sidder på \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \seqsplit{Set-ExchangeServer} & Sætter en generisk attribut i AD for en specificeret computer \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} \seqsplit{Enable-ExchangeCertificate} & Enabler eller Disabler certificated på en lokal certificat store \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} \seqsplit{Export-ExchangeCertificate} & Laver en ekstern fil med certificatet \tn % Row Count 11 (+ 2) % Row 4 \SetRowColor{LightBackground} \seqsplit{Import-ExchangeCertificate} & Placere en ekstern fil i local security store \tn % Row Count 13 (+ 2) % Row 5 \SetRowColor{white} \seqsplit{Get-ExchangeCertificate} & Laver en liste med certificater der er på det lokale security store \tn % Row Count 16 (+ 3) % Row 6 \SetRowColor{LightBackground} \seqsplit{New-ExchangeCertificate} & Laver et elf signed certificate som du kan bruge til test \tn % Row Count 19 (+ 3) % Row 7 \SetRowColor{white} \seqsplit{Remove-ExchangeCertificate} & Sletter et certificate som er stored på lokal stored \tn % Row Count 22 (+ 3) % Row 8 \SetRowColor{LightBackground} \seqsplit{Test-ExchangeSearch} & Tjekker om Exchange search er aktiveret, og om den indexere \tn % Row Count 25 (+ 3) % Row 9 \SetRowColor{white} \seqsplit{add-ExchangeAdministrator} & tilføjer en user eller gruppe til en bestemt rolle \tn % Row Count 28 (+ 3) % Row 10 \SetRowColor{LightBackground} \seqsplit{Remove-ExchangeAdministrator} & fjerner en user eller gruppe til en bestemt rolle \tn % Row Count 31 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.04057 cm} x{2.93643 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Exchange management shell commands (cont)}} \tn % Row 11 \SetRowColor{LightBackground} \seqsplit{Get-ExchangeAdministrator} & Laver en liste med exchange server brugere og grupper \tn % Row Count 3 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.14471 cm} x{3.83229 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Design Principper}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{Availability} & Øget tilgængelighed \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \seqsplit{Productivity} & Øget produktivitet igennem forbedret funktionalitet \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{Operations} & Hav fokus på brugerne \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Cost & Optimering af Total cost of Ownership \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} TCO cont. & Handler om hvor meget det koster at sætte op \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}