1 / 19

PowerShell 5.0 Preview: OneGet, PSGet, Desired State Configuration

Join Trevor Sullivan, Microsoft MVP, as he explores the new features in PowerShell 5.0 Preview, including OneGet, PSGet, and Desired State Configuration. Learn how to use these powerful tools and improve your infrastructure-as-code skills.

audreyw
Download Presentation

PowerShell 5.0 Preview: OneGet, PSGet, Desired State Configuration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Trevor Sullivan Solution Architect Project Leadership Associates

  2. Speaker Trevor Sullivan • Microsoft MVP: PowerShell • Solution Architect with PLA • 10 years of experience on Windows platform • Community member (StackExchange, MyITforum, etc.) • Open-source project owner/contributor @pcgeek86

  3. Social Media #PSDSC #PowerShell http://trevorsullivan.net

  4. Agenda • PowerShell 5.0 [Preview] • OneGet • PSGet • Desired State Configuration

  5. OneGet Windows Package Management

  6. OneGet NuGet • Get-Command -Module OneGet; • Find-Package; • Install-Package; Chocolatey SMB Windows Client http://oneget.org

  7. PSGet PowerShell Module Management

  8. PSGet NuGet • Get-Command -Module PowerShellGet; • Find-Module -Name PowerEvents-RequiredVersion 0.4; • Install-Module; • Update-Module; Chocolatey SMB Windows Client

  9. Desired State Configuration Infrastructure As Code

  10. Why DSC?

  11. What’s DSC?

  12. Configuration Structure Configuration Data Configuration Node Resource Instances Resource Instance Resource Instance Resource Instance

  13. Configuration Data HashTable AllNodes Variables Node Node Node

  14. DSC Resources • Specially crafted modules that expose configuration details • Implement Get/Set/Test-TargetResource functions

  15. DSC Push Mode Managed Endpoints • Invoke configuration block with -OutputPath • Use Start-DscConfiguration WinRM Client/Management Server

  16. DSC Pull Mode Pull Service Pull Server Server Message Block (SMB) Conformance Endpoint DSC Clients

  17. Local Configuration Manager Configuration Modes Refresh Modes Apply Only Push Apply and Monitor Pull Apply and AutoCorrect Download Manager Other Settings Pull Service OData Endpoint Reboot if Needed Certificate Thumbprint Certificate ID Credential Credential

  18. Azure VM DSC Extension Public Cloud Configuration

  19. Demo Desired State Configuration

More Related