15
Presented to fwPASS on 10/23/2013 * Intro to PowerShell

Intro to Powershell

Embed Size (px)

DESCRIPTION

The slide deck from an introductory presentation I gave to the Fort Wayne chapter of PASS (Professional Association for SQL Server).

Citation preview

Page 1: Intro to Powershell

Presented to fwPASS on 10/23/2013

*Intro to PowerShell

Page 2: Intro to Powershell

*Agenda

*About PowerShell

*IDE

*Syntax

*Basics

*Demos

*3rd Party utilities

Page 3: Intro to Powershell

*What is it?

*From wikipedia:

*Windows PowerShell is Microsoft's task automation framework, consisting of a command-line shell and associated scripting language built on top of, and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems.

http://en.wikipedia.org/wiki/Windows_PowerShell

Page 4: Intro to Powershell

*IDE

Page 5: Intro to Powershell

*Syntax Basics

Page 6: Intro to Powershell

*Pipeline

Page 7: Intro to Powershell

*Basics

*Numbers, Literals

*Variables

*Automatic Variables

*Operators – Math

*Operators – Assignment

*Operators - Comparison

Page 8: Intro to Powershell
Page 9: Intro to Powershell

*Demos

*Data – read/write

*FTP

*File Handling

*3rd Party tools - PowerGUI

Page 10: Intro to Powershell

*3rd Party tools

*Quest PowerGUI - Script Editor http://powergui.org

*JAMS - Scheduling engine

Page 11: Intro to Powershell

*What else?

*Hyper-V

*SharePoint

*Active Directory

Page 13: Intro to Powershell

*Learning Opportunities

* Microsoft Scripting Home: http://technet.microsoft.com/en-US/scriptcenter/dd742419.aspx

* TechNet Webinar about how to use PowerShell (5 Part Series): http://www.microsoft.com/events/series/windowsserver2008.aspx?tab=Webcasts&seriesid=101&webcastid=17428

* PowerShell Quick Reference Sheet: http://www.microsoft.com/downloads/en/details.aspx?FamilyId=DF8ED469-9007-401C-85E7-46649A32D0E0&displaylang=en

* Microsoft Script Repository (User and Microsoft provided scripts): http://gallery.technet.microsoft.com/scriptcenter/site/search?f[0].Type=ScriptLanguage&f[0].Value=PowerShell&f[0].Text=PowerShell&f[1].Type=Tag&f[1].Value=PowerShell

* Microsoft Scripting Guy Blog (Good place for information about how to do things): http://blogs.technet.com/b/heyscriptingguy/archive/tags/windows%20powershell/getting%20started/default.aspx

* PowerShell Owner’s Manual: http://technet.microsoft.com/en-us/library/ee221100.aspx

* Converting VB Scripts to PowerShell (Reference to show the differences between the two for people that know VBS): http://technet.microsoft.com/en-us/library/ee221101.aspx

* Task-Based Guide of PowerShell Cmdlets: http://technet.microsoft.com/en-us/scriptcenter/dd772285.aspx

* Powershell.com: http://powershell.com

Page 14: Intro to Powershell

*Downloads

*Links below provided courtesy of J.R. Miller, my co-worker and fellow fwPASS’er

*http://www.microsoft.com/en-us/download/details.aspx?id=7097 – quick reference card

*http://refcardz.dzone.com/refcardz/windows-powershell DZone Refcardz - Signup required

Page 15: Intro to Powershell

*It’s not about me

*Dean Willson

*Sr. Data Architect at Aunt Millie’s Bakeries

*fwPASS http://fwPASS.org

*[email protected]

*LinkedIn http://linkedin.com/in/deanwillson

*Twitter @deanwillson

*Tech blog http://dean-o.blogspot.com