Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Current State of Powershell DSC for DBAs André Kamman

Similar presentations


Presentation on theme: "The Current State of Powershell DSC for DBAs André Kamman"— Presentation transcript:

1 The Current State of Powershell DSC for DBAs André Kamman

2 About me André Kamman 20+ Years with SQL Server
Data Platform CloudDBA Geek turned pro in ’89 20+ Years with SQL Server Data Platform MVP PowerShell, APS (PDW), Azure DW, BIML cloud-dba.eu @andrekamman

3 Resources Gallery xResources cResources DSC LCM Meta.mof Mof Push Pull xSQLServer GitHub Dynamic?

4 Resources Gallery xResources cResources DSC LCM Meta.mof Mof Push Pull xSQLServer GitHub Dynamic?

5 Configuration MyConfiguration
{ Node andre-surface File Demo Ensure = "Present" # You can also set Ensure to "Absent" Type = "Directory" # Default is "File". Recurse = $true # Ensure presence of subdirectories, too SourcePath = "C:\presentations\dsc\filecopydemo\copyfromhere" DestinationPath = "C:\presentations\dsc\destination" }

6

7 What does c mean?

8 What does x mean?

9 Demo Find-Module

10 Resources Gallery xResources cResources DSC LCM Meta.mof Mof Push Pull xSQLServer GitHub Dynamic?

11 LCM [DSCLocalConfigurationManager()] Configuration LCMPUSH {
Node $Computername Settings AllowModuleOverwrite = $True ConfigurationMode = 'ApplyAndAutoCorrect' RefreshMode = 'Push' }

12 Configuration Mode ApplyOnly ApplyAndMonitor ApplyAndAutocorrect

13 Mof & Meta.mof LCMPush -OutputPath c:\DSC\LCM
MyConfiguration -OutputPath C:\dsc\lcm

14

15 Demo Directory management with DSC

16 Resources Gallery xResources cResources DSC LCM Meta.mof Mof Push Pull xSQLServer GitHub Dynamic?

17

18 Demo Set Recovery Model

19 Questions ? What do you think, is DSC useful for your situation?

20 cloud-dba.eu @andrekamman Thank You!


Download ppt "The Current State of Powershell DSC for DBAs André Kamman"

Similar presentations


Ads by Google