introduction to windows powershell daniel hibbert primer field engineer [email protected]...

10
Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER [email protected] DMVMUG User Conference 2013 – Reston,

Upload: roland-kelley

Post on 02-Jan-2016

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

Introduction to Windows PowerShell

DANIEL HIBBERTPRIMER FIELD [email protected] DMVMUG User Conference 2013 – Reston, VA

Page 2: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

Agenda

•What is PowerShell?

• PowerShell History

• Put PowerShell to work for you

•Questions?

Page 3: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

What is PowerShell?

•Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows.

Page 4: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

PowerShell Nomenclature

• Cmdlet:

• cmdlets are the core of the PowerShell experience. Cmdlets are lightweight commands used in PowerShell to perform an action.

• Snap-in:

• A PowerShell snap-in provides a mechanism for registering sets of cmdlets and another Windows PowerShell provider to the shell, in order to extend the functionality of that shell.

• Module:

Page 5: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

Nomenclature cont.

• CMDLET:

• Cmdlets use a verb noun naming standard. This makes it easy to find the correct cmdlet for the job.

<Verb>-<Noun>

Get-Content: Read data from a text file

Set-Content: Write data to text file

Page 6: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

PowerShell History• PowerShell 1.0 (previously known as Monad / MSH) released

in January of 2007.

• 100+ cmdlets, introduced PowerShell scripting language

• Access to WMI objects on local and remote Windows computers

• PowerShell 2.0 released in August 2009

• 200+ cmdlets

• Integrated with Windows 7 and Windows Server 2008 R2

• PowerShell remoting (implicit and explicit)

• Integrated Scripting Environment (ISE) introduced

Page 7: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

PowerShell 3.0

• Released in the summer of 2012

• 260 Core cmdlets (2300 total available across 239 modules)

• Update Integrated Scripting Environment (ISE) with Intellisence

• Persistent user-manager remote session

• Windows Server 2012 PowerShell Web Access

Page 8: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

Put PowerShell to Work For You

Page 9: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

•Wi

Page 10: Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DAHIBBER@MICROSOFT.COM DMVMUG User Conference 2013 – Reston, VA

QUESTIONS?

Hey, Scripting Guy!: http://blogs.technet.com/b/heyscriptingguy/

Email: [email protected]

Please don’t forget your evaluations …

Need more information on DMVMUGVisit www.dmvmug.com