PowerShell 3.0Jerry YasirSharePoint MVP, MCTMCSE SharePoint 2013, MCSA 2012
AgendaWhat is PowerShellGetting Started with PowerShellPowerShell Integrated Scripting EnvironmentPowerShell 3.0Demo (s)
Introducing PowerShell
Command-Line and Task based scripting toolFramework based on .NETEverything is an ObjectIntroduced in 2003 Released in 2006Part of Every OS since then (Vista SP1, 2008 R2, Window 7) – Add and Remote Program - FeaturesLatest is PowerShell 3.0
cmdLetsWe use cmdLets or say Command-LetsCmdlet is made of Verb-Noun Syntax
e.g. SharePoint-Rocks No spaces in cmdLets
ExamplesGet-Help, Stop-Service, Restart-Computer, Get-Command
Verbs NounsGet ProcessStop ServiceStart ComputerGet HelpSet Location
Changing UI PowerShell
Getting Help in PowerShellGet-Help or Help
Get-Help Get-ProcessGet-Help Get-Process –examplesGet-Help Get-Process –DetailedGet-Help Get-Process -FullExamplesHelp Get-Process -Full
Demo Starting Windows PowerShellPowerShell UIGet-CommandGet-Help
PowerShell Core ScriptingBasicsVariablesObjectsPipelineAliasesTab completion
Selection & FilterGet-MembersSelectWhereWhere-ObjectFilter
Poll
PowerShell Walkthrough Selection, Filtering
Getting Up to SpeedSit Back Tight for next few minutesGet-Member is VitalSelect the right ColumnsFilter is Critical – Get What you need
What’s new in PowerShell 3.0?
.NET Framework 4.0 SupportWindows PowerShell Web AccessUpdatable Help / Online HelpScheduled Jobs / Task Scheduler IntegrationEnhanced Tab Completion
PowerShell 3.0Command BuilderIntelliSence Support cmdlets and parametersVisual Studio-ish Selection ModeOut-GridView Improvements
PowerShell 3 What’s New
TakeawaysPowerShell BasicsGetting HelpUsing cmdletSelect, FilterLoopsPowerShell 3.0
Thanks!Stick Around for Q&A
Jerry Yasir
Microsoft Partner Awards 2013
NetCom Learning a Finalist among 3000 Microsoft partners worldwide
• One of only two US based Training Companies recognized by Microsoft in the Learning Category• The only training company in the entire east coast to be recognized by Microsoft• Love of Learning Program• Learning Solutions
• Standard (Vendor Recommended Hours)• Boot Camp (Certification Focused)• Accelerated (Condensed)• Custom (Private)
www.netcomlearning.com
Upcoming Webinars
• Free Webinar: Developing for SharePoint with Visual Studio 2012• Free Webinar: Java 7 Certification | JDBC & Related Design Pattern Cont.• Free Webinar: Advanced Scripting Using PowerShell and SharePoint
Online• Free Webinar: C++ Improvement in Visual Studio 2012• Free Webinar: Advanced Debugging with Visual Studio 2012• Free Webinar: Foreach Loop Enumerators in SSIS | SQL Server 2012• Free Webinar: Error Handling in SSIS | SQL Server 2012
Sign up for free at: www.netcomlearning.com/webinarswww.netcomlearning.com
PowerShell 3.0 Course Schedules
Automating Administration with Windows PowerShell (10961)• July 22nd DC, NYC & Live Online• September 16th DC, NYC & Live Online
Pre-requisites:• Previous Windows Server and Windows Client management knowledge and hands on
experience• Experience Installing and Configuring Windows Server into existing enterprise
environments, or as standalone installations.• Knowledge and experience of network adapter configuration, basic Active Directory user
administration, and basic disk configuration.
Locations: Attend in-class or Live Online Instructor-led• New York• Las Vegas (All Inclusive Travel Package)• Arlington VA• On-Site
www.netcomlearning.com