1 / 17

Windows Powershell

Windows Powershell. Windows Server 2012. Í ndice. Powershell Powershell 3.0 Powershell en Windows 8 / 2012 Ejemplos. ¿ Qué es Powershell ?. 2. Un lenguaje de scripting. Un Shell interactivo. PS> dir C: | -include *.tmp | remove-item. PS> ./Tarea.ps1.

erno
Télécharger la présentation

Windows Powershell

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows Powershell Windows Server 2012

  2. Índice • Powershell • Powershell 3.0 • Powershell en Windows 8 / 2012 • Ejemplos

  3. ¿ Qué es Powershell ? 2. Un lenguaje de scripting • Un Shell interactivo PS> dir C:\ | -include *.tmp | remove-item PS> ./Tarea.ps1 PS> get-process iex* | stop-process 3. Un framework que permite usar el lenguaje desde otros programas (MMC, ASP, EXEs …) [Microsoft.Powershell.Commands]

  4. Disponible en ... • Windows 8, Windows 2012 • Windows 7, Windows 2008, 2008-R2 • Windows XP, Windows 2003, Windows Vista

  5. Ref : Versiones Preinstaladas 2008 R2 XP 2003 Vista 2008 Win7 Win8 2012 Powershell 3.0 preinstalado Powershell 1.0 PS 2.0 (update) Sin Powershell PS 1.0 (update) PS 2.0 (update) Powershell 2.0 PS 3.0 (update)

  6. Powershell : Por qué es importante ? • Permite automatizar tareas • Scripts : Ficheros de texto (*.PS1) • Se ejecutan automáticamente • Pueden programarse (Scheduler) • Sin intervención humana • Sin error humano ! • “Drag & Drop & Cry”, olvidos, nervios, errores… • Comprobados, optimizados • Documentan la tarea a realizar • Y además ya están hechos !

  7. No reinventar la rueda... • Muchos scripts ya están hechos y probados • Nuevo Script Center • http://www.microsoft.com/technet/scriptcenter/ • www.codeplex.com • www.bing.com

  8. Por qué Powershell? • Porque se emplea en todos los productos • Exchange, SQL, Cluster, VMM, Hyper-V, SCCM, SCOM, Sharepoint… • Windows 8 / 2012 • Websphere, VMWARE… • Cada vez más en un futuro cercano • Porque nos hace más productivos y fiables • Será imprescindible tenerlo en el CV… • Porque es creativo … y divertido !

  9. Ideas básicas • Simple pero potente • Basado en objetos .NET , no en texto • Pipeline de objetos • Modular • Usando Standards • Compatible con tecnologías anteriores • (WMI, AD, CMD, VBS, COM, .NET, EXEs) • Remoto : Cualquier tarea se puede realizar en una colección de máquinas • Abierto, publicado a terceros • Fácil aprendizaje… • con algunas particularidades

  10. Demos Demo Windows Powershell

  11. http://bit.ly/DescargaWS2012

  12. http://bit.ly/ws2012ebook

  13. http://bit.ly/AzureItPro

  14. http://bit.ly/ITCamps2012

  15. Serie de Webcasts Windows Server 2012 http://bit.ly/Webcasts2012

  16. Sigue a TechNet España http://www.facebook.com/TechNet.Spain http://www.twitter.com/TechNet_es http://linkd.in/TechNetSpain

  17. Windows Powershell Windows Server 2012

More Related