SlideShare una empresa de Scribd logo
1 de 34
Powershell:Tunuevomejor amigo Gonzalo Balladares – MVP Exchange Jorge Díaz – MVP Exchange
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
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
Agenda Introducción a Powershell Administración de Windows Administración de Hyper-V Administración de Exchange/Lync
Qué es Powershell? Entorno de Scripting Integrado con .net (modelo de objetos)
¿Por qué Powershell?
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/
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/
http://www.codeplex.com/PSHyperv
http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg24017698
Costly http://halr9000.com/article/716
http://technet.microsoft.com/en-us/library/ee806878.aspx Sharepoint 2010
http://msdn.microsoft.com/es-es/library/cc281954.aspx SQL Server
No tengo iPhone, pero …http://tinyurl.com/b62o8f
Exchange 2007/2010 –eq “Másfácil"
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
Anatomía de Powershell
http://www.flickr.com/photos/ajari/2288043144/
En el iniciofue el cmdlet http://www.flickr.com/photos/mnkyhead/3292809/
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 )
Microsoft Windows, SQL Server, IIS, Exchange Otrascompañías: IBM, VM Ware, etc. Tus Scripts http://www.flickr.com/photos/dnorman/2249376120/
La línea de Canalización  (Pipeline) http://www.flickr.com/photos/adactio/377537734/
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
Los Verbos Add Clear New Remove Enable Disable Set Get
Los 4 Fantásticos! Get-command Get-help Get-member Get-psdrive
DEMO
Recursos
MVA www.microsoftmva.com
http://msevents.microsoft.com Buscar “Virtual Labs” Buscar “PowerShell”
Scripts Destacados para Exchange 2010 Exchange 2010 Powershell Scripting Resources http://social.technet.microsoft.com/wiki/contents/articles/exchange-2010-powershell-scripting-resources.aspx Scripting Guy: Use PowerShell to Create an Exchange 2010 Database Report http://blogs.technet.com/b/heyscriptingguy/archive/2011/02/28/use-powershell-to-create-an-exchange-2010-database-report.aspx Powershell script to monitor Exchange Server 2010 Services – EMAIL Report http://www.myexchangeworld.com/2010/07/powershell-script-to-monitor-exchange-server-2010-services-email-report/
www.facebook.com/comunidadesMS www.facebook.com/estudiantesMS www.facebook.com/emprendedoresMS @ComunidadesMS LinkedIn: //linkd.in/comunidadesms Vimeo: 		www.vimeo.com/comunidadesms YouTube: 	www.youtube.com/comunidadesms Redes Sociales
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
Powershell:Tunuevomejor amigo Gonzalo Balladares – MVP Exchange Jorge Díaz – MVP Exchange

Más contenido relacionado

La actualidad más candente

Creating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login SystemCreating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login System
Azharul Haque Shohan
 
Build website in_django
Build website in_django Build website in_django
Build website in_django
swee meng ng
 

La actualidad más candente (20)

Wykorzystanie form request przy implementacji API w Laravelu
Wykorzystanie form request przy implementacji API w LaraveluWykorzystanie form request przy implementacji API w Laravelu
Wykorzystanie form request przy implementacji API w Laravelu
 
Node JS Express : Steps to Create Restful Web App
Node JS Express : Steps to Create Restful Web AppNode JS Express : Steps to Create Restful Web App
Node JS Express : Steps to Create Restful Web App
 
WordPress mit Composer und Git verwalten
WordPress mit Composer und Git verwaltenWordPress mit Composer und Git verwalten
WordPress mit Composer und Git verwalten
 
Scalable web application architecture
Scalable web application architectureScalable web application architecture
Scalable web application architecture
 
Take Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLITake Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLI
 
Creating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login SystemCreating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login System
 
Take Command of WordPress With WP-CLI at WordCamp Long Beach
Take Command of WordPress With WP-CLI at WordCamp Long BeachTake Command of WordPress With WP-CLI at WordCamp Long Beach
Take Command of WordPress With WP-CLI at WordCamp Long Beach
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in details
 
Quick flask an intro to flask
Quick flask   an intro to flaskQuick flask   an intro to flask
Quick flask an intro to flask
 
Build website in_django
Build website in_django Build website in_django
Build website in_django
 
wp cli
wp cliwp cli
wp cli
 
Building Single Page Application (SPA) with Symfony2 and AngularJS
Building Single Page Application (SPA) with Symfony2 and AngularJSBuilding Single Page Application (SPA) with Symfony2 and AngularJS
Building Single Page Application (SPA) with Symfony2 and AngularJS
 
Phinx talk
Phinx talkPhinx talk
Phinx talk
 
New: Two Methods of Installing Drupal on Windows XP with XAMPP
New: Two Methods of Installing Drupal on Windows XP with XAMPPNew: Two Methods of Installing Drupal on Windows XP with XAMPP
New: Two Methods of Installing Drupal on Windows XP with XAMPP
 
CakePHP
CakePHPCakePHP
CakePHP
 
The Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/PressThe Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/Press
 
Migraine Drupal - syncing your staging and live sites
Migraine Drupal - syncing your staging and live sitesMigraine Drupal - syncing your staging and live sites
Migraine Drupal - syncing your staging and live sites
 
Kyiv.py #17 Flask talk
Kyiv.py #17 Flask talkKyiv.py #17 Flask talk
Kyiv.py #17 Flask talk
 
WordPress REST API hacking
WordPress REST API hackingWordPress REST API hacking
WordPress REST API hacking
 
Learn flask in 90mins
Learn flask in 90minsLearn flask in 90mins
Learn flask in 90mins
 

Similar a Powershell: Tu nuevo mejor amigo

Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
SharePoint Saturday NY
 
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
SharePoint Saturday NY
 

Similar a Powershell: Tu nuevo mejor amigo (20)

Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
 
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
 
Exchange 2010 PowerShell and the Exchange 2003 Administrator
Exchange 2010 PowerShell and the Exchange 2003 AdministratorExchange 2010 PowerShell and the Exchange 2003 Administrator
Exchange 2010 PowerShell and the Exchange 2003 Administrator
 
PowerShell for SharePoint Developers
PowerShell for SharePoint DevelopersPowerShell for SharePoint Developers
PowerShell for SharePoint Developers
 
Best practises for HTML5 servers (Devaamo Summit 2012)
Best practises for HTML5 servers (Devaamo Summit 2012)Best practises for HTML5 servers (Devaamo Summit 2012)
Best practises for HTML5 servers (Devaamo Summit 2012)
 
URL Design
URL DesignURL Design
URL Design
 
Introduction to PowerShell
Introduction to PowerShellIntroduction to PowerShell
Introduction to PowerShell
 
Operacion Guinda 2
Operacion Guinda 2Operacion Guinda 2
Operacion Guinda 2
 
MySQL crash course by moshe kaplan
MySQL crash course by moshe kaplanMySQL crash course by moshe kaplan
MySQL crash course by moshe kaplan
 
CCI2018 - Automatizzare la creazione di risorse con ARM template e PowerShell
CCI2018 - Automatizzare la creazione di risorse con ARM template e PowerShellCCI2018 - Automatizzare la creazione di risorse con ARM template e PowerShell
CCI2018 - Automatizzare la creazione di risorse con ARM template e PowerShell
 
Simplify your professional web development with symfony
Simplify your professional web development with symfonySimplify your professional web development with symfony
Simplify your professional web development with symfony
 
NIIT ISAS Q5 Report - Windows PowerShell
NIIT ISAS Q5 Report - Windows PowerShellNIIT ISAS Q5 Report - Windows PowerShell
NIIT ISAS Q5 Report - Windows PowerShell
 
PowerShell Technical Overview
PowerShell Technical OverviewPowerShell Technical Overview
PowerShell Technical Overview
 
Automating OSD and Post-OSD Configuration with Powershell and Orchestrator
Automating OSD and Post-OSD Configuration with Powershell and OrchestratorAutomating OSD and Post-OSD Configuration with Powershell and Orchestrator
Automating OSD and Post-OSD Configuration with Powershell and Orchestrator
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation :  « 45 minutes inside » !SQL Server & la virtualisation :  « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation :  « 45 minutes inside » !SQL Server & la virtualisation :  « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
 
Powershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge ClubPowershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge Club
 
Profiling PHP with Xdebug / Webgrind
Profiling PHP with Xdebug / WebgrindProfiling PHP with Xdebug / Webgrind
Profiling PHP with Xdebug / Webgrind
 
Windows Server 2008 Management
Windows Server 2008 ManagementWindows Server 2008 Management
Windows Server 2008 Management
 
Windows Server 2008 Management
Windows Server 2008 ManagementWindows Server 2008 Management
Windows Server 2008 Management
 

Más de Gonzalo Balladares Rivera

Techdays2011 - Office365: distintos escenarios de migracion
Techdays2011  - Office365: distintos escenarios de migracionTechdays2011  - Office365: distintos escenarios de migracion
Techdays2011 - Office365: distintos escenarios de migracion
Gonzalo Balladares Rivera
 
Migrando a Exchange 2010, Bien y a la primera! (Trucos desde las trincheras)....
Migrando a Exchange 2010, Bien y a la primera! (Trucos desde las trincheras)....Migrando a Exchange 2010, Bien y a la primera! (Trucos desde las trincheras)....
Migrando a Exchange 2010, Bien y a la primera! (Trucos desde las trincheras)....
Gonzalo Balladares Rivera
 

Más de Gonzalo Balladares Rivera (11)

Glue invita: Previa Tecnológica con Exchange Server 2013
Glue invita: Previa Tecnológica con Exchange Server 2013Glue invita: Previa Tecnológica con Exchange Server 2013
Glue invita: Previa Tecnológica con Exchange Server 2013
 
Techdays2011 - Mayor poder sobre tu infraestructura ti con system center 201...
Techdays2011  - Mayor poder sobre tu infraestructura ti con system center 201...Techdays2011  - Mayor poder sobre tu infraestructura ti con system center 201...
Techdays2011 - Mayor poder sobre tu infraestructura ti con system center 201...
 
Techdays2011 - Office365: distintos escenarios de migracion
Techdays2011  - Office365: distintos escenarios de migracionTechdays2011  - Office365: distintos escenarios de migracion
Techdays2011 - Office365: distintos escenarios de migracion
 
Introducción a Cloud computing y Office 365
Introducción a Cloud computing y Office 365Introducción a Cloud computing y Office 365
Introducción a Cloud computing y Office 365
 
SPAM, Entenderlo es Controlarlo
SPAM, Entenderlo es ControlarloSPAM, Entenderlo es Controlarlo
SPAM, Entenderlo es Controlarlo
 
Toma el control de tu infraestructura
Toma el control de tu infraestructuraToma el control de tu infraestructura
Toma el control de tu infraestructura
 
Recursos de capacitación gratuita Microsoft
Recursos de capacitación gratuita MicrosoftRecursos de capacitación gratuita Microsoft
Recursos de capacitación gratuita Microsoft
 
Migrando a Exchange 2010, Bien y a la primera! (Trucos desde las trincheras)....
Migrando a Exchange 2010, Bien y a la primera! (Trucos desde las trincheras)....Migrando a Exchange 2010, Bien y a la primera! (Trucos desde las trincheras)....
Migrando a Exchange 2010, Bien y a la primera! (Trucos desde las trincheras)....
 
Herramientas Grauitas Microsoft
Herramientas Grauitas MicrosoftHerramientas Grauitas Microsoft
Herramientas Grauitas Microsoft
 
Ahorrando costos con Exchange 2010
Ahorrando costos con Exchange 2010 Ahorrando costos con Exchange 2010
Ahorrando costos con Exchange 2010
 
Techdays 2010 Hyper-V R2 SP1
Techdays 2010 Hyper-V R2 SP1Techdays 2010 Hyper-V R2 SP1
Techdays 2010 Hyper-V R2 SP1
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 

Powershell: Tu nuevo mejor amigo

Notas del editor

  1. 2 minutos
  2. 2 minutos
  3. 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
  4. 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)
  5. Cmdlet naming: Strict Verb-SingularNoun convention makes guessing easyParameter naming is consistent across cmdletsMakes learning and remembering faster and easierConsistent behavior across cmdlets
  6. 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"
  7. Partió en Colombia, y luego se expandió a Latam. Hoy casi 200 mil estudiantes, 10 mil de Chile.