Dog Food Conference 2014 – PowerShell DSC, OneGet, PSGet

Report
Trevor Sullivan
Solution Architect
Project Leadership Associates
Speaker
Trevor Sullivan
@pcgeek86
•
•
•
•
•
Microsoft MVP: PowerShell
Solution Architect with PLA
10 years of experience on Windows platform
Community member (StackExchange, MyITforum, etc.)
Open-source project owner/contributor
Social Media
#PSDSC
#PowerShell
http://trevorsullivan.net
Agenda
•
•
•
•
PowerShell 5.0 [Preview]
OneGet
PSGet
Desired State Configuration
OneGet
Windows Package Management
OneGet
NuGet
Chocolatey
SMB
Windows Client
• Get-Command -Module OneGet;
• Find-Package;
• Install-Package;
http://oneget.org
PSGet
PowerShell Module Management
PSGet
NuGet
Chocolatey
SMB
Windows Client
•
•
•
•
Get-Command -Module PowerShellGet;
Find-Module -Name PowerEvents -RequiredVersion 0.4;
Install-Module;
Update-Module;
Desired State Configuration
Infrastructure As Code
Why DSC?
What’s DSC?
Author
Report
Apply
Test
Commit
Configuration Structure
Configuration
Configuration
Data
Node
Resource Instance
Resource Instance
Resource Instance
Resource Instances
Configuration Data
HashTable
AllNodes
Node
Node
Node
Variables
DSC Resources
• Specially crafted modules that expose
configuration details
• Implement Get/Set/Test-TargetResource
functions
GetTargetResource
TestTargetResource
SetTargetResource
DSC Push Mode
Managed Endpoints
WinRM
Client/Management Server
• Invoke configuration block with -OutputPath
• Use Start-DscConfiguration
DSC Pull Mode
Pull Server
DSC Clients
Pull Service
Server Message
Block (SMB)
Conformance
Endpoint
Local Configuration Manager
Configuration Modes
Refresh Modes
Other Settings
Apply Only
Download Manager
Push
Reboot
if Needed
Apply
and
Monitor
Pull Service OData
Pull
Endpoint
ID
ApplyCertificate
and AutoCorrect
Certificate Thumbprint
Credential
Credential
Azure VM DSC Extension
Configuration
Public Cloud
Demo
Desired State Configuration

similar documents