\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{Vicent} \pdfinfo{ /Title (microsoftwindowsserver-calderon.pdf) /Creator (Cheatography) /Author (Vicent) /Subject (MicrosoftWindowsServer\_Calderón 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}{5AE66C} \definecolor{LightBackground}{HTML}{F4FDF5} \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{MicrosoftWindowsServer\_Calderón Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Vicent} via \textcolor{DarkBackground}{\uline{cheatography.com/96459/cs/20830/}}} \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}Vicent \\ \uline{cheatography.com/vicent} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 17th October, 2019.\\ Updated 24th February, 2020.\\ 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}{Herramientas de administración}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{desk.cpl}} & {\emph{Abre la configuración}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{main.cpl -{}-\textgreater{} main.cpl @0}} & {\emph{Propiedades del ratón}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{main.cpl @1}} & {\emph{Propiedades del teclado}} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{timedate.cpl}} & {\emph{Configurar Tiempo/Hora}} \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{mmsys.cpl}} & {\emph{Configurar sonido}} \tn % Row Count 9 (+ 1) % Row 5 \SetRowColor{white} {\bf{powercfg.cpl}} & {\emph{Configurar opciones de energía}} \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{intl.cpl}} & {\emph{Configurar región}} \tn % Row Count 12 (+ 1) % Row 7 \SetRowColor{white} {\bf{appwiz.cpl}} & {\emph{Abre "Programas y Características"}} \tn % Row Count 14 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{sysdm.cpl}} & {\emph{Cambiar configuración del equipo}} \tn % Row Count 16 (+ 2) % Row 9 \SetRowColor{white} {\bf{netsetup.cpl}} & {\emph{Asistente configuración de red}} \tn % Row Count 18 (+ 2) % Row 10 \SetRowColor{LightBackground} {\bf{wscui.cpl}} & {\emph{Abrir centro de seguridad del equipo}} \tn % Row Count 20 (+ 2) % Row 11 \SetRowColor{white} {\bf{firewall.cpl}} & {\emph{Firewall de windows}} \tn % Row Count 21 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.54287 cm} x{3.43413 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Tecla Windows +}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Win +R}} & {\emph{Ejecutador de programas}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{Win +E}} & {\emph{Abrir explorador de archivos}} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{Win +D}} & {\emph{Minimizar/Maximizar}} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} {\bf{Win +PAUSE}} & {\emph{Abrir propiedades del sistema}} \tn % Row Count 6 (+ 2) \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}{Comandos varios}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{New-ADUser -Name {[}Nombre usuario{]} -AccountPassword \seqsplit{(ConvertToSecureString} -String {[}Contraseña{]} -AsPlainText -Force) -Enable \$True}} & {\emph{crear usuario dominio}} \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} {\bf{Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools}} & {\emph{Instalar rol de dominio AD}} \tn % Row Count 11 (+ 4) % Row 2 \SetRowColor{LightBackground} {\bf{Import-Module ADDSDeployment}} & {\emph{Promocionar servidor a controlador de dominio}} \tn % Row Count 14 (+ 3) % Row 3 \SetRowColor{white} {\bf{netsh interface ipv4 set address name=Ethernet static {[}IP{]} {[}Mask{]}}} & {\emph{Configurar tarjeta de red de servidor}} \tn % Row Count 18 (+ 4) % Row 4 \SetRowColor{LightBackground} {\bf{Install-ADDSForest}} & {\emph{Instalar dominio}} \tn % Row Count 20 (+ 2) % Row 5 \SetRowColor{white} {\bf{net share {[}NombreRecurso{]}=C{[}Ruta{]} /grant:todos,change}} & {\emph{compartir carpeta}} \tn % Row Count 23 (+ 3) % Row 6 \SetRowColor{LightBackground} {\bf{net use L:{[}\textbackslash{}\textbackslash{}IPserver\textbackslash{}Carpeta{]}}} & {\emph{montar carpeta}} \tn % Row Count 25 (+ 2) % Row 7 \SetRowColor{white} {\bf{net user {[}usuario{]} \{/add /del\}}} & {\emph{crear usuario}} \tn % Row Count 27 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{net localgroup {[}grupo{]} \{/add /del\}}} & {\emph{crear grupo}} \tn % Row Count 29 (+ 2) % Row 9 \SetRowColor{white} {\bf{net localgroup {[}grupo{]} {[}usuario{]} \{/add /del\}}} & {\emph{añadir usuario a grupo}} \tn % Row Count 32 (+ 3) \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}{Comandos varios (cont)}} \tn % Row 10 \SetRowColor{LightBackground} {\bf{sconfig.cmd}} & {\emph{Configuración tarjeta de red de forma sencilla}} \tn % Row Count 3 (+ 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}{Herramientas de administración}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{msconfig.exe}} & {\emph{Configuración de arranque de Windows}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{syskey.exe}} & {\emph{Configurar cifrado de base de datos de Windows}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{utilman.exe}} & {\emph{Configurador de la opción "Narrador"}} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{netplwiz.exe}} & {\emph{Configurador de las cuentas de usuario}} \tn % Row Count 8 (+ 2) \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}{Comandos}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{hostname}} & {\emph{Muestra el nombre del equipo}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{ipconfig}} & {\emph{Muestra la configuración de la tarjeta de red}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{ipconfig release}} & {\emph{Libera la IP del adaptador indicado}} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{ipconfig renew}} & {\emph{Renueva la IP del adaptador indicado}} \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{ipconfig all}} & {\emph{Muestra la configuración completa de la tarjeta de red}} \tn % Row Count 11 (+ 3) % Row 5 \SetRowColor{white} {\bf{chkdsk}} & {\emph{Comprobar la integridad del disco duro}} \tn % Row Count 13 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{defrag}} & {\emph{Desfragmentar el disco duro}} \tn % Row Count 15 (+ 2) % Row 7 \SetRowColor{white} {\bf{diskpart}} & {\emph{Herramientas para administrar discos duros}} \tn % Row Count 17 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{runas}} & *Ejecutar como..." \tn % Row Count 18 (+ 1) % Row 9 \SetRowColor{white} {\bf{set}} & {\emph{Fijar variable}} \tn % Row Count 19 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.94103 cm} x{3.03597 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Comando "control"}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{control}} & {\emph{Panel de control}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{control keyboard}} & {\emph{Propiedades del teclado}} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{control color}} & {\emph{Color y apariencia de la interfaz}} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} {\bf{control mouse}} & {\emph{Propiedades del ratón}} \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{control printers}} & {\emph{Dispositivos e impresoras}} \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} {\bf{control fonts}} & {\emph{Fuentes}} \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{control international}} & {\emph{Configurador de Región}} \tn % Row Count 13 (+ 2) % Row 7 \SetRowColor{white} {\bf{control userpasswords}} & {\emph{Usuarios y grupos locales}} \tn % Row Count 15 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{control userpasswords2}} & {\emph{Configurador de permisos de usuarios en el equipo}} \tn % Row Count 18 (+ 3) % Row 9 \SetRowColor{white} {\bf{control admintools}} & {\emph{Herramientas administrativas}} \tn % Row Count 20 (+ 2) % Row 10 \SetRowColor{LightBackground} {\bf{control folders}} & {\emph{Opciones del Explorador de archivos}} \tn % Row Count 22 (+ 2) % Row 11 \SetRowColor{white} {\bf{control netconnections}} & {\emph{Conexiones de red}} \tn % Row Count 24 (+ 2) \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}{Consola administración de MSWindows}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{mmc.exe}} & {\emph{Personalizar MMC}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{diskmgmt.msc}} & {\emph{Administrador de discos}} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{dfrg.msc}} & {\emph{Desfragmentador el disco duro}} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} {\bf{secpol.msc}} & {\emph{Directivas de seguridad local}} \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{wf.msc}} & {\emph{Configuración avanzada del firewall de windows}} \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} {\bf{lusrmgr.msc}} & {\emph{Administrador de usuarios}} \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{printmanagement.msc}} & {\emph{Administrador de impresión}} \tn % Row Count 13 (+ 2) % Row 7 \SetRowColor{white} {\bf{eventvwr.msc}} & {\emph{Visor de eventos}} \tn % Row Count 15 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{gpedit.msc}} & {\emph{Editor de directivas de grupo local}} \tn % Row Count 17 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.54287 cm} x{3.43413 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Comando Net}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{net user}} & {\emph{Muestra las cuentas existentes}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{net localgroup}} & {\emph{Muestra los grupos existentes}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{net use}} & {\emph{Gestionar y mostrar los recursos compartidos}} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{net share}} & {\emph{Montar recurso compartido en nuestro equipo}} \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.74195 cm} x{3.23505 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{El comando set con}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{set \%WINDIR\%}} & {\emph{Muestra la ruta de la carpeta del sistema operativo}} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} {\bf{set \%SYSTEMROOT\%}} & {\emph{Muestra la carpeta de administración}} \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{set \%USERPROFILE\%}} & {\emph{Devuelve la ruta de la carpeta donde se encuentran los archivos del usuario actual}} \tn % Row Count 9 (+ 4) % Row 3 \SetRowColor{white} {\bf{set \%HOMEDRIVE\%}} & {\emph{Muestra la unidad en la que está el directorio en el que te encuentras actualmente}} \tn % Row Count 13 (+ 4) % Row 4 \SetRowColor{LightBackground} {\bf{set \%COMPUTERNAME\%}} & {\emph{Muestra el nombre del equipo}} \tn % Row Count 15 (+ 2) % Row 5 \SetRowColor{white} {\bf{set \%USERNAME\%}} & {\emph{Muestra el nombre del usuario actual}} \tn % Row Count 17 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{set \%PATH\%}} & {\emph{Muestra la ruta de los archivos ejecutables que no necesitan una ruta explícita para usarlo}} \tn % Row Count 21 (+ 4) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{{\bf{set \%SUPERPROFILE\%}}} \tn % Row Count 22 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}