Introduction to Windows PowerShell

Download Report

Transcript Introduction to Windows PowerShell

Introduction to
Windows PowerShell
D A NI E L HIB B E R T
P R I ME R FIE L D E NG INEER
D A HI B B E R @MICR OS OF T.COM
DMVMUG User Conference 2013 – Reston, VA
Agenda
• What is PowerShell?
• PowerShell History
• Put PowerShell to work for you
• Questions?
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.
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:
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
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
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
Put PowerShell
to Work For You
• Wi
Please don’t forget your evaluations …
Hey, Scripting Guy!: http://blogs.technet.com/b/heyscriptingguy/
Email: [email protected]
Need more information on DMVMUG
Visit www.dmvmug.com
QUESTIONS?