SlideShare a Scribd company logo
1 of 26
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 Modulesjonathanmedd
 
PowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewPowerShell Plus v4.7 Overview
PowerShell Plus v4.7 OverviewRichard 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 Testingmikereedell
 
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 JenkinsCliffano Subagio
 
Jenkins introduction
Jenkins introductionJenkins introduction
Jenkins introductionGourav Varma
 
Continuous integration / deployment with Jenkins
Continuous integration / deployment with JenkinsContinuous integration / deployment with Jenkins
Continuous integration / deployment with Jenkinscherryhillco
 
First steps with selenium rc
First steps with selenium rcFirst steps with selenium rc
First steps with selenium rcDang Nguyen
 
02 - Build and Deployment Management
02 - Build and Deployment Management02 - Build and Deployment Management
02 - Build and Deployment ManagementSergii Shmarkatiuk
 
Future of Installation Packaging
Future of Installation PackagingFuture of Installation Packaging
Future of Installation PackagingAlexandro Colorado
 
Continuous Integration for OpenVMS with Jenkins
Continuous Integration for OpenVMS with JenkinsContinuous Integration for OpenVMS with Jenkins
Continuous Integration for OpenVMS with Jenkinsecubemarketing
 
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
 

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 descriptionLeadDesk
 
LeadDesk database description
LeadDesk database descriptionLeadDesk database description
LeadDesk database descriptionLeadDesk
 
Visual resume
Visual resumeVisual resume
Visual resumeadhump2
 
LeadDesk Software Platform & Ecosystem
LeadDesk Software Platform & EcosystemLeadDesk Software Platform & Ecosystem
LeadDesk Software Platform & EcosystemLeadDesk
 
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 ServiceLeadDesk
 
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 365Jan 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
 

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 ManagementSharkrit JOBBO
 
A Lap Around PowerShell 3.0
A Lap Around PowerShell 3.0A Lap Around PowerShell 3.0
A Lap Around PowerShell 3.0Sarah 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.0Sarah Dutkiewicz
 
Power shell basics day1
Power shell basics day1Power shell basics day1
Power shell basics day1Ashish Raj
 
Wsv315 Windows Power Shell For Beginners
Wsv315 Windows Power Shell For BeginnersWsv315 Windows Power Shell For Beginners
Wsv315 Windows Power Shell For Beginnersjsnover1
 
Sql Server & PowerShell
Sql Server & PowerShellSql Server & PowerShell
Sql Server & PowerShellAaron Shilo
 
NET core 2 e i fratelli
NET core 2 e i fratelliNET core 2 e i fratelli
NET core 2 e i fratelliAndrea 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 ManagementHi-Techpoint
 
Windows Server 2008 Management
Windows Server 2008 ManagementWindows Server 2008 Management
Windows Server 2008 ManagementHi-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 DiveVMworld
 
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.0jsnover1
 
Introduction To Windows Power Shell
Introduction To Windows Power ShellIntroduction To Windows Power Shell
Introduction To Windows Power ShellMicrosoft 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 90Microsoft 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 SuiteMicro Focus
 
Managing Windows Vista With Windows Power Shell
Managing Windows Vista With Windows Power ShellManaging Windows Vista With Windows Power Shell
Managing Windows Vista With Windows Power ShellMicrosoft TechNet
 

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
 
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
 
Managing Windows Vista With Windows Power Shell
Managing Windows Vista With Windows Power ShellManaging Windows Vista With Windows Power Shell
Managing Windows Vista With Windows Power Shell
 

Recently uploaded

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 

Recently uploaded (20)

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 

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.