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 PS> get-process iex* | stop-process 3. Un framework que permite usar el lenguaje desde otros programas (MMC, ASP, EXEs …) [Microsoft.Powershell.Commands]
Disponible en ... Windows 8, Windows 2012 Windows 7, Windows 2008, 2008-R2 Windows XP, Windows 2003, Windows Vista
Ref : Versiones Preinstaladas XP 2003 Vista 2008 Win7 2008 R2 Win8 2012 Sin Powershell PS 1.0 (update) PS 2.0 (update) Powershell 1.0 PS 2.0 (update) Powershell 2.0 PS 3.0 (update) Powershell 3.0 preinstalado
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 !
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
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 !
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
Demos Module 1: Introduction to Windows PowerShell™ Demo Windows Course 6434A Module 1: Introduction to Windows PowerShell™ Demos Demo Windows Powershell
http://bit.ly/DescargaWS2012
http://bit.ly/ws2012ebook
http://bit.ly/AzureItPro
http://bit.ly/ITCamps2012
Serie de Webcasts Windows Server 2012 http://bit.ly/Webcasts2012
Sigue a TechNet España http://www.facebook.com/TechNet.Spain http://www.twitter.com/TechNet_es http://linkd.in/TechNetSpain
Windows Powershell Windows Server 2012