En esta sesión Jorge Díaz (MVP) y Gonzalo Balladares (MVP) te mostrarán cómo puedes automatizar tareas rutinarias de mantenimiento y administración de tus sistemas utilizando Powershell con ejemplos prácticos de Administración de Servicios Windows, Active Directory, Exchange Server, Lync Server, Hyper-V y más
2. Gonzalo Balladares R. MVP Exchange Server MCITP | MCTS | MCSA Director del Grupo Latinoamericano de Usuarios de Exchange (www.msglue.org) Gerente Tecnologías de Activetrainer.cl (gonzalo.balladares@activetrainer.cl) gballadares@mvps.org Twitter: @gballadares http://geeks.ms/blogs/gballadares
3. Jorge Patricio Díaz Guzmán MVP Exchange Server Director del Grupo Latinoamericano de Usuarios de Exchange (www.msglue.org) Gerente Tecnología MS (jorge.diaz@serviex.cl) http://www.jorgepatricio.org
4. Agenda Introducción a Powershell Administración de Windows Administración de Hyper-V Administración de Exchange/Lync
5. Qué es Powershell? Entorno de Scripting Integrado con .net (modelo de objetos)
7. Key chages to IIS in R2 New IIS Manager Modules ASP.NET on Server Core Integrated PowerShell Provider Configuration Logging & Tracing Integrated FTP and WebDAV Best Practices Analyzer http://channel9.msdn.com/pdc2008/ES14/
8. Server Core Additions In Windows Server 2008 R2 .NET Framework in Server Core Subset of .NET 2.0 Subset of .NET 3.0 Windows Communication Framework (WCF) Windows Workflow Framework (WF) Subset of .NET 3.5 WF additions from 3.5 LINQ Subset of ASP.NET support for IIS PowerShell WoW64 as an optional feature http://channel9.msdn.com/pdc2008/ES06/
17. Arquitectura de Administración de Exchange 2007/2010 CLI GUI Setup Windows Forms Early-bound objs Windows Forms ADO.NET PowerShell Data Provider PowerShell Engine Exchange cmdlets Configuration Data Objects/Access Process Boundary Meta base MAPI Store Registry AD
20. En el iniciofue el cmdlet http://www.flickr.com/photos/mnkyhead/3292809/
21. Verbo – Sustantivo Clear – Host Set – ExecutionPolicy Get – Help Write – Debug Restart – Computer No debohacerlodurante la charla, pero … -whatif (quépasaría) si lo hicieramos? Tome – Café (Durante el break )
22. Microsoft Windows, SQL Server, IIS, Exchange Otrascompañías: IBM, VM Ware, etc. Tus Scripts http://www.flickr.com/photos/dnorman/2249376120/
23. La línea de Canalización (Pipeline) http://www.flickr.com/photos/adactio/377537734/
24. The PowerShell pipeline Alias Alias Get-Process | Where { $_.handles –gt 500 } | Sort handles | Format-Table Common Windows PowerShell Parser Get-ProcessCmdlet Sort -ObjectCmdlet Format-TableCmdlet Where-ObjectCmdlet Windows PowerShell Pipeline Processor
33. Créditos Presentación basada en: Windows PowerShell: A Technical Overview “Something old, something new, something borrowed and something blue” Allan da Costa Pinto Windows PowerShell Fanboy Microsoft allandcp@microsoft.com http://blogs.msdn.com/allandcp
CmdUnit of operation is a cmdlet (e.g., remove-server) Cmdlets are .NET classes, not EXEsNamespace providers enable groups or families of related cmdlets (i.e., namespaces)File System, Registry, Local Certificate Store, Alias Provider, Environmental Variables, and VariablesPipelines are composed of classes (cmdlets) passing structured objectsExtended Type System (ETS) simplifies developer experience – Types.ps1xml
Cmdlets form the basis of PowerShell's functionalityBuilt in a .NET Framework language (e.g., Visual Basic , Visual C#)Act as PowerShell's "command-line utilities"129 provided…more can be "snapped in" in groups (e.g., Exchange)
Cmdlet naming: Strict Verb-SingularNoun convention makes guessing easyParameter naming is consistent across cmdletsMakes learning and remembering faster and easierConsistent behavior across cmdlets
All cmdlets work with objects, not textAll cmdlets execute in a pipelineThe pipeline always ends in a special cmdlet that converts objects into text representationsSelects properties of the objects and displays those properties' valuesFormats properties in a list or tableNo more parsing text! No more Grep, etc.Work directly with rich, functional objectsFilter, sort, group, and compare within the pipeline using cmdletsThe final output is readable text—but it's just the text you needCreates the capability for massively powerful "one-liners"
Partió en Colombia, y luego se expandió a Latam. Hoy casi 200 mil estudiantes, 10 mil de Chile.