SlideShare a Scribd company logo
Introducing PowerShell 3.0

          Jan Egil Ring
      Senior Consultant, Infrastructure
         jan.egil.ring@crayon.com
Agenda
            •      Overview of previous versions
            •      Windows Management Framework
            •      New features in PowerShell v3
                   •   Demo
                   •   Sneak peak at PowerShell in «Windows
                       Server 8»
            •      Microsoft Script Explorer



January 22, 2012                  NIC 2012
Previous versions
                      Windows PowerShell 1.0
    • Version 1.0 was released in 2006 for Windows XP SP2/SP3, Windows Server
      2003, and Windows Vista. For Windows Server 2008, it was included as an
      optional feature.

    • The first Microsoft product with native PowerShell support was Exchange
      Server 2007

    • Shipped with 129 native cmdlets




January 22, 2012                        NIC 2012
Previous versions
                       Windows PowerShell 2.0
    • Version 2.0 is integrated with Windows 7 and Windows Server 2008 R2 and
      is released for Windows XP with Service Pack 3, Windows Server 2003 with
      Service Pack 2 and Windows Vista with Service Pack 1

    • Part of Microsoft Common Engineering Criteria since 2009

    • The major new features includes Remoting, Background
      Jobs, Modules, Advanced Functions and the Windows PowerShell ISE

    • 16 PowerShell modules available in Windows Server 2008 R2 for managing
      server roles and features, in example AD, Group Policy and Failover Clusters.

    • Shipped with 236 native cmdlets
January 22, 2012                         NIC 2012
Disclaimer
• This presentation is based on a Community
  Technology Preview (pre-beta) version of the
  product.
• Features and behavior are likely to change
  before the final release.
Introducing
Windows PowerShell 3.0
Availability
• «Windows 8 Alpha» (Windows Developer
  Preview)
• Windows Management Framework 3.0 CTP 1
• Windows Management Framework 3.0 CTP 2
Windows Management Framework
• Windows PowerShell
• Windows Management Instrumentation
  (WMI)
• Windows Remote Management (WinRM)

Windows Management Framework 3.0 - Community Technology Preview (CTP) #2
http://www.microsoft.com/download/en/details.aspx?id=27548
New features in PowerShell 3.0
 Workflows
Workflows that run long-running

 Robust Sessions
Robust sessions that automatically recover from network failures and interruptions

 Scheduled Jobs
Scheduled jobs that run regularly or in response to an event.

 Delegated Administration
Commands that can be executed with a delegated set of credentials

 Simplified Language Syntax
Where-Object and Foreach-Object can be used without a scriptblock

 Cmdlet Discovery
Improved cmdlet discovery and automatic module loading

 Show-Command
Show-Command, helps users view Cmdlet parameters in a dialog box, and run it.
WMI in Windows Management Framework 3.0

 A new provider development model
This new model brings down the cost of provider development and removes the
dependency on COM.

 A new MI Client API to perform standard CIM operations.
The API can be used to interact with any standard WsMan + CIMOM
implementation, allowing management applications on Windows to manage non-
Windows computers.

 The ability to write Windows PowerShell cmdlets in native code
The new WMI Provider APIs supports an extended Windows PowerShell semantics API
WinRM in Windows Management Framework 3.0

 Connections are more robust
Session disconnect and reconnect, with or without client session
reconstruction, allows long-running tasks to continue even when the session in which
they were started is closed and the client computer is shut down.

 Connections are more resilient
In Windows PowerShell 3.0, connections can survive short-term network failures.
Microsoft Connect (connect.microsoft.com/powershell)
DEMO


Let`s have a look at the new features in action
Windows PowerShell Web Service
 Windows PowerShell Web Service enables an administrator to expose a set of
  PowerShell cmdlets as a RESTful web endpoint accessible via the (Open Data
  Protocol (OData). This provides remote access to invoke cmdlets from both
  Windows and non-Windows clients.
Windows PowerShell Web Access
 The PowerShell console exposed as a website
 Use PowerShell from mobile devices
 Available in «Windows Server 8»



blog.powershell.no/2011/09/14/windows-powershell-web-access
Windows PowerShell Workflow
 Windows PowerShell Workflow lets IT pros and developers apply the benefits of
  workflows to the automation capabilities of Windows PowerShell.

Getting Started with Windows PowerShell Workflow

 A workflow is a sequence of automated steps or activities that execute tasks on or
retrieve data from one or more managed nodes (computers or devices). These activities
can include individual commands or scripts. Windows PowerShell Workflow enables, IT
pros and developers alike, to author sequences of multi-computer management activities
— that are either long-running, repeatable, frequent, parallelizable, interruptible,
stoppable, or restartable — as workflows. By design, workflows can be resumed from an
intentional or accidental suspension or interruption, such as a network outage, a reboot
or power loss.

Download the Getting Started guide here: http://bit.ly/sF5FEK
Microsoft Script Explorer
• Script Explorer helps scripters find Windows
  PowerShell scripts and how-to guidance in
  online repositories such as the TechNet Script
  Center Script Repository, PoshCode, and the
  local file system.
• Can run both standalone and as an Add-on to
  PowerShell ISE
Microsoft Script Explorer Features
•   Search for Windows PowerShell scripts, and get details about Windows PowerShell
    scripts from online repositories and the local file system.
•   Search for Windows PowerShell snippets from local file system.
•   Search for how-to guidance from online repositories.
•   Select available repositories to refine search.
•   Filter based on technology or product.
•   See item details, including rating, author, script code, and source information.
•   Copy script or snippet code to the Clipboard, and insert it in the Windows
    PowerShell ISE editor.
•   Save script or snippet code to the local file system.
•   Browse scripts that are organized following a categorized topology.
•   Explore community resources for getting started on Windows PowerShell.

    The above listing is copied from the Microsoft Script Explorer
    Readme document.
Microsoft Script Explorer Availability
• Currently in private beta/CTP
• No release time information available


• More information:
  Jeremy Kelly from Microsoft announced the Script
  Explorer on the PowerScripting podcast last year:
http://powerscripting.wordpress.com/2011/06/27/episode-151-jeremy-kelly-
announces-script-explorer
DEMO


Microsoft Script Explorer
Review
                      Overview of previous versions
                      Windows Management Framework
                      New features in PowerShell v3
                          Walkthrough
                          Demo
                          Sneak peak at PowerShell in «Windows
                           Server 8»
                      Microsoft Script Explorer




January 22, 2012                     NIC 2012
Call to action
• Download Windows Management Framework
  3.0 - Community Technology Preview (CTP) #2
Call to action
If not already using PowerShell, start using it
 (quickest way to start: stop using cmd.exe)
Use the PowerShell community to Get-Help
Resources

 TechNet Wiki

Windows PowerShell Survival Guide
http://social.technet.microsoft.com/wiki/contents/articles/windows-powershell-survival-guide.aspx


PowerShell V3 Featured Articles
http://social.technet.microsoft.com/wiki/contents/articles/powershell-v3-featured-articles.aspx


PowerShell V3 Tips and Tricks
http://social.technet.microsoft.com/wiki/contents/articles/4788.aspx
Microsoft Technology User Group Script Club


 Part of the Microsoft Technology User Group in Oslo
 Regular workshops exploring various topics around
  automation and scripting with a focus on PowerShell.
  Meetings is announced at www.mtug.no
 If you want to find or create a PowerShell usergroup or script
  club in your area, check out http://powershellgroup.org
Contact info
New-Object PSObject -Property @{

Name = "Jan Egil Ring"
"E-mail" = "jan.egil.ring@crayon.com"
TwitterId = "@JanEgilRing"
Website = "blog.powershell.no"

}

More Related Content

What's hot

An Introduction to PowerShell Modules
An Introduction to PowerShell ModulesAn Introduction to PowerShell Modules
An Introduction to PowerShell Modules
jonathanmedd
 
PowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewPowerShell Plus v4.7 Overview
PowerShell Plus v4.7 Overview
Richard Giles
 
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI TestingSelenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testing
mikereedell
 
Jenkins - Continuous Integration after Hudson, CruiseControl, and home built
Jenkins - Continuous Integration after Hudson, CruiseControl, and home builtJenkins - Continuous Integration after Hudson, CruiseControl, and home built
Jenkins - Continuous Integration after Hudson, CruiseControl, and home builtMark Waite
 
Continuous Delivery Using Jenkins
Continuous Delivery Using JenkinsContinuous Delivery Using Jenkins
Continuous Delivery Using Jenkins
Cliffano Subagio
 
Jenkins introduction
Jenkins introductionJenkins introduction
Jenkins introduction
Gourav Varma
 
Continuous integration / deployment with Jenkins
Continuous integration / deployment with JenkinsContinuous integration / deployment with Jenkins
Continuous integration / deployment with Jenkinscherryhillco
 
Build server
Build serverBuild server
Build server
Christophe Vanlancker
 
Power Shell For Testers
Power Shell For TestersPower Shell For Testers
Power Shell For Testers
Mca140 software solutions
 
First steps with selenium rc
First steps with selenium rcFirst steps with selenium rc
First steps with selenium rc
Dang Nguyen
 
02 - Build and Deployment Management
02 - Build and Deployment Management02 - Build and Deployment Management
02 - Build and Deployment ManagementSergii Shmarkatiuk
 
Jenkins presentation
Jenkins presentationJenkins presentation
Jenkins presentation
Valentin Buryakov
 
Future of Installation Packaging
Future of Installation PackagingFuture of Installation Packaging
Future of Installation Packaging
Alexandro Colorado
 
Versioning for Developers
Versioning for DevelopersVersioning for Developers
Versioning for Developers
Michelangelo van Dam
 
Continuous Integration for OpenVMS with Jenkins
Continuous Integration for OpenVMS with JenkinsContinuous Integration for OpenVMS with Jenkins
Continuous Integration for OpenVMS with Jenkins
ecubemarketing
 
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...
Nagios
 
Version Control using Plastic (SCM) by Tonny
Version Control using Plastic (SCM) by TonnyVersion Control using Plastic (SCM) by Tonny
Version Control using Plastic (SCM) by TonnyAgate Studio
 
Selenium – testing tool jack
Selenium – testing tool jackSelenium – testing tool jack
Selenium – testing tool jackJackseen Jeyaluck
 
Selenium With Spices
Selenium With SpicesSelenium With Spices
Selenium With Spices
Nikolajs Okunevs
 

What's hot (20)

An Introduction to PowerShell Modules
An Introduction to PowerShell ModulesAn Introduction to PowerShell Modules
An Introduction to PowerShell Modules
 
ClearCase 8.0
ClearCase 8.0ClearCase 8.0
ClearCase 8.0
 
PowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewPowerShell Plus v4.7 Overview
PowerShell Plus v4.7 Overview
 
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI TestingSelenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testing
 
Jenkins - Continuous Integration after Hudson, CruiseControl, and home built
Jenkins - Continuous Integration after Hudson, CruiseControl, and home builtJenkins - Continuous Integration after Hudson, CruiseControl, and home built
Jenkins - Continuous Integration after Hudson, CruiseControl, and home built
 
Continuous Delivery Using Jenkins
Continuous Delivery Using JenkinsContinuous Delivery Using Jenkins
Continuous Delivery Using Jenkins
 
Jenkins introduction
Jenkins introductionJenkins introduction
Jenkins introduction
 
Continuous integration / deployment with Jenkins
Continuous integration / deployment with JenkinsContinuous integration / deployment with Jenkins
Continuous integration / deployment with Jenkins
 
Build server
Build serverBuild server
Build server
 
Power Shell For Testers
Power Shell For TestersPower Shell For Testers
Power Shell For Testers
 
First steps with selenium rc
First steps with selenium rcFirst steps with selenium rc
First steps with selenium rc
 
02 - Build and Deployment Management
02 - Build and Deployment Management02 - Build and Deployment Management
02 - Build and Deployment Management
 
Jenkins presentation
Jenkins presentationJenkins presentation
Jenkins presentation
 
Future of Installation Packaging
Future of Installation PackagingFuture of Installation Packaging
Future of Installation Packaging
 
Versioning for Developers
Versioning for DevelopersVersioning for Developers
Versioning for Developers
 
Continuous Integration for OpenVMS with Jenkins
Continuous Integration for OpenVMS with JenkinsContinuous Integration for OpenVMS with Jenkins
Continuous Integration for OpenVMS with Jenkins
 
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...
 
Version Control using Plastic (SCM) by Tonny
Version Control using Plastic (SCM) by TonnyVersion Control using Plastic (SCM) by Tonny
Version Control using Plastic (SCM) by Tonny
 
Selenium – testing tool jack
Selenium – testing tool jackSelenium – testing tool jack
Selenium – testing tool jack
 
Selenium With Spices
Selenium With SpicesSelenium With Spices
Selenium With Spices
 

Viewers also liked

Jeopardy europe review (1)
Jeopardy europe review (1)Jeopardy europe review (1)
Jeopardy europe review (1)Leslie Creath
 
Korowajowa etnodokumentacja
Korowajowa etnodokumentacjaKorowajowa etnodokumentacja
Korowajowa etnodokumentacjaOlga Kielak
 
Europe summative review1
Europe summative review1Europe summative review1
Europe summative review1Leslie Creath
 
Presentations & summative creath
Presentations & summative   creathPresentations & summative   creath
Presentations & summative creathLeslie Creath
 
tvorchestvo Marlinskij творчество Марлинский
tvorchestvo Marlinskij творчество Марлинскийtvorchestvo Marlinskij творчество Марлинский
tvorchestvo Marlinskij творчество Марлинский
Iveta Majerová
 
LeadDesk basic background info and system description
LeadDesk basic background info and system descriptionLeadDesk basic background info and system description
LeadDesk basic background info and system description
LeadDesk
 
LeadDesk database description
LeadDesk database descriptionLeadDesk database description
LeadDesk database description
LeadDesk
 
Visual resume
Visual resumeVisual resume
Visual resumeadhump2
 
LeadDesk Software Platform & Ecosystem
LeadDesk Software Platform & EcosystemLeadDesk Software Platform & Ecosystem
LeadDesk Software Platform & Ecosystem
LeadDesk
 
November 6 maya day 2
November 6   maya day 2November 6   maya day 2
November 6 maya day 2Leslie Creath
 
November 5 maya day 1
November 5   maya day 1November 5   maya day 1
November 5 maya day 1Leslie Creath
 
Call Center Software for Telesales & Customer Service
Call Center Software for Telesales & Customer ServiceCall Center Software for Telesales & Customer Service
Call Center Software for Telesales & Customer Service
LeadDesk
 
L9 Planning Tools And Techniques
L9 Planning Tools And TechniquesL9 Planning Tools And Techniques
L9 Planning Tools And TechniquesGajanan Bochare
 
9 Quantitative Analysis Techniques
9   Quantitative Analysis Techniques9   Quantitative Analysis Techniques
9 Quantitative Analysis TechniquesGajanan Bochare
 
Preparing for Office 365
Preparing for Office 365Preparing for Office 365
Preparing for Office 365
Jan Egil Ring
 
Indian geography history and culture updated
Indian geography history and culture updatedIndian geography history and culture updated
Indian geography history and culture updatedLeslie Creath
 
Forecasting6
Forecasting6Forecasting6
Forecasting6
Gajanan Bochare
 

Viewers also liked (19)

Jeopardy europe review (1)
Jeopardy europe review (1)Jeopardy europe review (1)
Jeopardy europe review (1)
 
Lecture11
Lecture11Lecture11
Lecture11
 
Korowajowa etnodokumentacja
Korowajowa etnodokumentacjaKorowajowa etnodokumentacja
Korowajowa etnodokumentacja
 
Europe summative review1
Europe summative review1Europe summative review1
Europe summative review1
 
Presentations & summative creath
Presentations & summative   creathPresentations & summative   creath
Presentations & summative creath
 
tvorchestvo Marlinskij творчество Марлинский
tvorchestvo Marlinskij творчество Марлинскийtvorchestvo Marlinskij творчество Марлинский
tvorchestvo Marlinskij творчество Марлинский
 
LeadDesk basic background info and system description
LeadDesk basic background info and system descriptionLeadDesk basic background info and system description
LeadDesk basic background info and system description
 
LeadDesk database description
LeadDesk database descriptionLeadDesk database description
LeadDesk database description
 
Visual resume
Visual resumeVisual resume
Visual resume
 
LeadDesk Software Platform & Ecosystem
LeadDesk Software Platform & EcosystemLeadDesk Software Platform & Ecosystem
LeadDesk Software Platform & Ecosystem
 
November 6 maya day 2
November 6   maya day 2November 6   maya day 2
November 6 maya day 2
 
November 5 maya day 1
November 5   maya day 1November 5   maya day 1
November 5 maya day 1
 
Call Center Software for Telesales & Customer Service
Call Center Software for Telesales & Customer ServiceCall Center Software for Telesales & Customer Service
Call Center Software for Telesales & Customer Service
 
B-N-K
B-N-KB-N-K
B-N-K
 
L9 Planning Tools And Techniques
L9 Planning Tools And TechniquesL9 Planning Tools And Techniques
L9 Planning Tools And Techniques
 
9 Quantitative Analysis Techniques
9   Quantitative Analysis Techniques9   Quantitative Analysis Techniques
9 Quantitative Analysis Techniques
 
Preparing for Office 365
Preparing for Office 365Preparing for Office 365
Preparing for Office 365
 
Indian geography history and culture updated
Indian geography history and culture updatedIndian geography history and culture updated
Indian geography history and culture updated
 
Forecasting6
Forecasting6Forecasting6
Forecasting6
 

Similar to Introducing PowerShell 3.0

Windows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server ManagementWindows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server Management
Sharkrit JOBBO
 
A Lap Around PowerShell 3.0
A Lap Around PowerShell 3.0A Lap Around PowerShell 3.0
A Lap Around PowerShell 3.0
Sarah Dutkiewicz
 
Ws08 R2 Itpro Session 1 Technical Overview Part1
Ws08 R2 Itpro Session 1 Technical Overview Part1Ws08 R2 Itpro Session 1 Technical Overview Part1
Ws08 R2 Itpro Session 1 Technical Overview Part1chenley
 
Unleashing the Power: A Lap Around PowerShell 3.0
Unleashing the Power: A Lap Around PowerShell 3.0Unleashing the Power: A Lap Around PowerShell 3.0
Unleashing the Power: A Lap Around PowerShell 3.0
Sarah Dutkiewicz
 
Power shell basics day1
Power shell basics day1Power shell basics day1
Power shell basics day1
Ashish Raj
 
Wsv315 Windows Power Shell For Beginners
Wsv315 Windows Power Shell For BeginnersWsv315 Windows Power Shell For Beginners
Wsv315 Windows Power Shell For Beginners
jsnover1
 
Windows PowerShell
Windows PowerShellWindows PowerShell
Sql Server & PowerShell
Sql Server & PowerShellSql Server & PowerShell
Sql Server & PowerShell
Aaron Shilo
 
NET core 2 e i fratelli
NET core 2 e i fratelliNET core 2 e i fratelli
NET core 2 e i fratelli
Andrea Tosato
 
24 Hours Of Exchange Server 2007 (Part 8 Of 24)
24 Hours Of Exchange Server 2007 (Part 8 Of 24)24 Hours Of Exchange Server 2007 (Part 8 Of 24)
24 Hours Of Exchange Server 2007 (Part 8 Of 24)
Harold Wong
 
Windows Server 2008 Management
Windows Server 2008 ManagementWindows Server 2008 Management
Windows Server 2008 Management
Hi-Techpoint
 
Windows Server 2008 Management
Windows Server 2008 ManagementWindows Server 2008 Management
Windows Server 2008 Management
Hi-Techpoint
 
VMworld 2013: PowerCLI Best Practices - A Deep Dive
VMworld 2013: PowerCLI Best Practices - A Deep DiveVMworld 2013: PowerCLI Best Practices - A Deep Dive
VMworld 2013: PowerCLI Best Practices - A Deep Dive
VMworld
 
PowerShell In 2024 And Beyond The Future Of Automation.pdf
PowerShell In 2024 And Beyond The Future Of Automation.pdfPowerShell In 2024 And Beyond The Future Of Automation.pdf
PowerShell In 2024 And Beyond The Future Of Automation.pdf
DataSpace Academy
 
Wsv406 Advanced Automation Using Windows Power Shell2.0
Wsv406 Advanced Automation Using Windows Power Shell2.0Wsv406 Advanced Automation Using Windows Power Shell2.0
Wsv406 Advanced Automation Using Windows Power Shell2.0
jsnover1
 
Introduction To Windows Power Shell
Introduction To Windows Power ShellIntroduction To Windows Power Shell
Introduction To Windows Power Shell
Microsoft TechNet
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopersBryan Cafferky
 
Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90
Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90
Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90
Microsoft TechNet
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product Suite
Micro Focus
 

Similar to Introducing PowerShell 3.0 (20)

Windows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server ManagementWindows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server Management
 
A Lap Around PowerShell 3.0
A Lap Around PowerShell 3.0A Lap Around PowerShell 3.0
A Lap Around PowerShell 3.0
 
Ws08 R2 Itpro Session 1 Technical Overview Part1
Ws08 R2 Itpro Session 1 Technical Overview Part1Ws08 R2 Itpro Session 1 Technical Overview Part1
Ws08 R2 Itpro Session 1 Technical Overview Part1
 
Unleashing the Power: A Lap Around PowerShell 3.0
Unleashing the Power: A Lap Around PowerShell 3.0Unleashing the Power: A Lap Around PowerShell 3.0
Unleashing the Power: A Lap Around PowerShell 3.0
 
Power shell basics day1
Power shell basics day1Power shell basics day1
Power shell basics day1
 
Wsv315 Windows Power Shell For Beginners
Wsv315 Windows Power Shell For BeginnersWsv315 Windows Power Shell For Beginners
Wsv315 Windows Power Shell For Beginners
 
Windows PowerShell
Windows PowerShellWindows PowerShell
Windows PowerShell
 
Vs2005p
Vs2005pVs2005p
Vs2005p
 
Sql Server & PowerShell
Sql Server & PowerShellSql Server & PowerShell
Sql Server & PowerShell
 
NET core 2 e i fratelli
NET core 2 e i fratelliNET core 2 e i fratelli
NET core 2 e i fratelli
 
24 Hours Of Exchange Server 2007 (Part 8 Of 24)
24 Hours Of Exchange Server 2007 (Part 8 Of 24)24 Hours Of Exchange Server 2007 (Part 8 Of 24)
24 Hours Of Exchange Server 2007 (Part 8 Of 24)
 
Windows Server 2008 Management
Windows Server 2008 ManagementWindows Server 2008 Management
Windows Server 2008 Management
 
Windows Server 2008 Management
Windows Server 2008 ManagementWindows Server 2008 Management
Windows Server 2008 Management
 
VMworld 2013: PowerCLI Best Practices - A Deep Dive
VMworld 2013: PowerCLI Best Practices - A Deep DiveVMworld 2013: PowerCLI Best Practices - A Deep Dive
VMworld 2013: PowerCLI Best Practices - A Deep Dive
 
PowerShell In 2024 And Beyond The Future Of Automation.pdf
PowerShell In 2024 And Beyond The Future Of Automation.pdfPowerShell In 2024 And Beyond The Future Of Automation.pdf
PowerShell In 2024 And Beyond The Future Of Automation.pdf
 
Wsv406 Advanced Automation Using Windows Power Shell2.0
Wsv406 Advanced Automation Using Windows Power Shell2.0Wsv406 Advanced Automation Using Windows Power Shell2.0
Wsv406 Advanced Automation Using Windows Power Shell2.0
 
Introduction To Windows Power Shell
Introduction To Windows Power ShellIntroduction To Windows Power Shell
Introduction To Windows Power Shell
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopers
 
Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90
Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90
Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product Suite
 

Recently uploaded

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 

Introducing PowerShell 3.0

  • 1. Introducing PowerShell 3.0 Jan Egil Ring Senior Consultant, Infrastructure jan.egil.ring@crayon.com
  • 2. Agenda • Overview of previous versions • Windows Management Framework • New features in PowerShell v3 • Demo • Sneak peak at PowerShell in «Windows Server 8» • Microsoft Script Explorer January 22, 2012 NIC 2012
  • 3. Previous versions Windows PowerShell 1.0 • Version 1.0 was released in 2006 for Windows XP SP2/SP3, Windows Server 2003, and Windows Vista. For Windows Server 2008, it was included as an optional feature. • The first Microsoft product with native PowerShell support was Exchange Server 2007 • Shipped with 129 native cmdlets January 22, 2012 NIC 2012
  • 4. Previous versions Windows PowerShell 2.0 • Version 2.0 is integrated with Windows 7 and Windows Server 2008 R2 and is released for Windows XP with Service Pack 3, Windows Server 2003 with Service Pack 2 and Windows Vista with Service Pack 1 • Part of Microsoft Common Engineering Criteria since 2009 • The major new features includes Remoting, Background Jobs, Modules, Advanced Functions and the Windows PowerShell ISE • 16 PowerShell modules available in Windows Server 2008 R2 for managing server roles and features, in example AD, Group Policy and Failover Clusters. • Shipped with 236 native cmdlets January 22, 2012 NIC 2012
  • 5. Disclaimer • This presentation is based on a Community Technology Preview (pre-beta) version of the product. • Features and behavior are likely to change before the final release.
  • 7. Availability • «Windows 8 Alpha» (Windows Developer Preview) • Windows Management Framework 3.0 CTP 1 • Windows Management Framework 3.0 CTP 2
  • 8. Windows Management Framework • Windows PowerShell • Windows Management Instrumentation (WMI) • Windows Remote Management (WinRM) Windows Management Framework 3.0 - Community Technology Preview (CTP) #2 http://www.microsoft.com/download/en/details.aspx?id=27548
  • 9. New features in PowerShell 3.0  Workflows Workflows that run long-running  Robust Sessions Robust sessions that automatically recover from network failures and interruptions  Scheduled Jobs Scheduled jobs that run regularly or in response to an event.  Delegated Administration Commands that can be executed with a delegated set of credentials  Simplified Language Syntax Where-Object and Foreach-Object can be used without a scriptblock  Cmdlet Discovery Improved cmdlet discovery and automatic module loading  Show-Command Show-Command, helps users view Cmdlet parameters in a dialog box, and run it.
  • 10. WMI in Windows Management Framework 3.0  A new provider development model This new model brings down the cost of provider development and removes the dependency on COM.  A new MI Client API to perform standard CIM operations. The API can be used to interact with any standard WsMan + CIMOM implementation, allowing management applications on Windows to manage non- Windows computers.  The ability to write Windows PowerShell cmdlets in native code The new WMI Provider APIs supports an extended Windows PowerShell semantics API
  • 11. WinRM in Windows Management Framework 3.0  Connections are more robust Session disconnect and reconnect, with or without client session reconstruction, allows long-running tasks to continue even when the session in which they were started is closed and the client computer is shut down.  Connections are more resilient In Windows PowerShell 3.0, connections can survive short-term network failures.
  • 13. DEMO Let`s have a look at the new features in action
  • 14. Windows PowerShell Web Service  Windows PowerShell Web Service enables an administrator to expose a set of PowerShell cmdlets as a RESTful web endpoint accessible via the (Open Data Protocol (OData). This provides remote access to invoke cmdlets from both Windows and non-Windows clients.
  • 15. Windows PowerShell Web Access  The PowerShell console exposed as a website  Use PowerShell from mobile devices  Available in «Windows Server 8» blog.powershell.no/2011/09/14/windows-powershell-web-access
  • 16. Windows PowerShell Workflow  Windows PowerShell Workflow lets IT pros and developers apply the benefits of workflows to the automation capabilities of Windows PowerShell. Getting Started with Windows PowerShell Workflow A workflow is a sequence of automated steps or activities that execute tasks on or retrieve data from one or more managed nodes (computers or devices). These activities can include individual commands or scripts. Windows PowerShell Workflow enables, IT pros and developers alike, to author sequences of multi-computer management activities — that are either long-running, repeatable, frequent, parallelizable, interruptible, stoppable, or restartable — as workflows. By design, workflows can be resumed from an intentional or accidental suspension or interruption, such as a network outage, a reboot or power loss. Download the Getting Started guide here: http://bit.ly/sF5FEK
  • 17. Microsoft Script Explorer • Script Explorer helps scripters find Windows PowerShell scripts and how-to guidance in online repositories such as the TechNet Script Center Script Repository, PoshCode, and the local file system. • Can run both standalone and as an Add-on to PowerShell ISE
  • 18. Microsoft Script Explorer Features • Search for Windows PowerShell scripts, and get details about Windows PowerShell scripts from online repositories and the local file system. • Search for Windows PowerShell snippets from local file system. • Search for how-to guidance from online repositories. • Select available repositories to refine search. • Filter based on technology or product. • See item details, including rating, author, script code, and source information. • Copy script or snippet code to the Clipboard, and insert it in the Windows PowerShell ISE editor. • Save script or snippet code to the local file system. • Browse scripts that are organized following a categorized topology. • Explore community resources for getting started on Windows PowerShell. The above listing is copied from the Microsoft Script Explorer Readme document.
  • 19. Microsoft Script Explorer Availability • Currently in private beta/CTP • No release time information available • More information: Jeremy Kelly from Microsoft announced the Script Explorer on the PowerScripting podcast last year: http://powerscripting.wordpress.com/2011/06/27/episode-151-jeremy-kelly- announces-script-explorer
  • 21. Review  Overview of previous versions  Windows Management Framework  New features in PowerShell v3  Walkthrough  Demo  Sneak peak at PowerShell in «Windows Server 8»  Microsoft Script Explorer January 22, 2012 NIC 2012
  • 22. Call to action • Download Windows Management Framework 3.0 - Community Technology Preview (CTP) #2
  • 23. Call to action If not already using PowerShell, start using it (quickest way to start: stop using cmd.exe) Use the PowerShell community to Get-Help
  • 24. Resources  TechNet Wiki Windows PowerShell Survival Guide http://social.technet.microsoft.com/wiki/contents/articles/windows-powershell-survival-guide.aspx PowerShell V3 Featured Articles http://social.technet.microsoft.com/wiki/contents/articles/powershell-v3-featured-articles.aspx PowerShell V3 Tips and Tricks http://social.technet.microsoft.com/wiki/contents/articles/4788.aspx
  • 25. Microsoft Technology User Group Script Club  Part of the Microsoft Technology User Group in Oslo  Regular workshops exploring various topics around automation and scripting with a focus on PowerShell. Meetings is announced at www.mtug.no  If you want to find or create a PowerShell usergroup or script club in your area, check out http://powershellgroup.org
  • 26. Contact info New-Object PSObject -Property @{ Name = "Jan Egil Ring" "E-mail" = "jan.egil.ring@crayon.com" TwitterId = "@JanEgilRing" Website = "blog.powershell.no" }

Editor's Notes

  1. Some of the new features in Windows PowerShell 3.0 include: Workflows Workflows that run long-running activities (in sequence or in parallel) to perform complex, larger management tasks, such as multi-machine application provisioning. Using the Windows Workflow Foundation at the command line, Windows PowerShell workflows are repeatable, parallelizable, interruptible, and recoverable. Robust Sessions Robust sessions that automatically recover from network failures and interruptions and allow you to disconnect from the session, shut down the computer, and reconnect from a different computer without interrupting the task. Scheduled Jobs Scheduled jobs that run regularly or in response to an event. Delegated Administration Commands that can be executed with a delegated set of credentials so users with limited permissions can run critical jobs Simplified Language Syntax Simplified language syntax that make commands and scripts look a lot less like code and a lot more like natural language. Cmdlet Discovery Improved cmdlet discovery and automatic module loading that make it easier to find and run any of the cmdlets installed on your computer. Show-Command Show-Command, a cmdlet and ISE Add-On that helps users find the right cmdlet, view its parameters in a dialog box, and run it.
  2. A new provider development model This new model brings down the cost of provider development and removes the dependency on COM. A new MI Client API to perform standard CIM operations. The API can be used to interact with any standard WsMan + CIMOM implementation, allowing management applications on Windows to manage non-Windows computers. The ability to write Windows PowerShell cmdlets in native code The new WMI Provider APIs supports an extended Windows PowerShell semantics API allowing you to provide rich Windows PowerShell semantics. e.g., Verbose, Error, Warning, WhatIf, Confirm, Progress
  3. With Windows Management Framework 3.0: Connections are more robust Session disconnect and reconnect, with or without client session reconstruction, allows long-running tasks to continue even when the session in which they were started is closed and the client computer is shut down. This feature also allows administrators to reconnect from different computers to check the status of remote running tasks and get results. Connections are more resilient In Windows PowerShell 3.0, connections can survive short-term network failures; the client-server connection is not severed at the first sign of trouble. If network problems persist, the client is safely disconnected and can reconnect by using the Connect-PSSession or Receive-PSSessioncmdlets.