Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SQL Server PowerShell - Community Tools

147 views

Published on

SQL Server - PowerShell aktuelle Tools aus der Community https://dbatools.io/
https://sqlwatch.io/
https://github.com/larspl/SQLPowerDoc
https://dbatools.io/tag/dbachecks/

Lars Platzdasch

Published in: Technology
  • Be the first to comment

  • Be the first to like this

SQL Server PowerShell - Community Tools

  1. 1. SQL Server & PowerShell OpenSource Tools Lars Platzdasch MCT,MCSE SQL, MCSE SharePoint
  2. 2. Sprecher: Lars Platzdasch Twitter @LarsPlatzdasch Lars@platzdasch.de Microsoft Certified Solutions Expert: SQL Server Data Platform Microsoft Certified Solutions Expert: SharePoint Microsoft Certified IT Professional: SharePoint 2010, Administrator Microsoft Certified IT Professional: SharePoint 2010, Developer Microsoft Certified Application Developer: .NET platzdasch netConsult GmbH & Co. KG | ISV 24/7 Support für SQL / SharePoint 26 IT, 22 Jahre SQL Server, 13 Jahre SharePoint
  3. 3. AGENDA: SQL SERVER POWERSHELL Dbatools.io Sqlwatch.io SQLPowerDoc dbachecks
  4. 4. WHAT IS DBATOOLS?
  5. 5. What is dbatools? – basically DBATOOLS.IO
  6. 6. What is dbatools? – actually DBATOOLS.IO
  7. 7. What is dbatools? – well basically
  8. 8. Photo by Slava Bowman on Unsplash Installation on a connected machine
  9. 9. Photo by Slava Bowman on Unsplash Installation on a connected machine PS > Install-Module dbatools PS > Install-Module dbatools –Scope CurrentUser
  10. 10. Installation in a fortress Photo by Klára Koszeghyova on Unsplash
  11. 11. Whilst we are talking about security
  12. 12. Installation in a fortress PS > Save-Module dbatools –Path C:SomeDirectory Photo by Klára Koszeghyova on Unsplash
  13. 13. Installation in a fortress Photo by Christopher Burns on Unsplash
  14. 14. Installation in a fortress Photo by Christopher Burns on Unsplash For Everyone
  15. 15. Installation in a fortress There Can Be Only One Photo by Deglee Degi on Unsplash
  16. 16. Photo by Ian Espinosa on Unsplash Extensive documentation within each command PS > Get-Help Start-DbaMigration –Detailed
  17. 17. Documentation for each command online docs.dbatools.io
  18. 18. Open Source but there is support dbatools.io/slack
  19. 19. Open Source – But there are plans sqlcollaborative.github.io/boh
  20. 20. Open Source – You can influence and inform dbatools.io/issues
  21. 21. Buckle Up !! It‘s Demo time
  22. 22. SQLWATCH.IO
  23. 23. • SSMS 2012ff ( DACPAC ) • Download : https://github.com/marcingminski/sqlwatch • Einen SQL Server  • Eine Datenbank  • PowerBI Desktop SQLWATCH.IO
  24. 24. Buckle Up !! It‘s Demo time
  25. 25. SQLPOWERDOC
  26. 26. ### Requirements - RSAT Tools Windows 7...10 - PowerShell min 4 best 5++ - SSMS SQL Server Management Studio / Sql Server Management Objects (SMO) - MS Excel ### Login * with SQL Server SYSADMIN Rights SQLPOWERDOC
  27. 27. Buckle Up !! It‘s Demo time
  28. 28. • Download: • https://dbatools.io/tag/dbachecks/ DBACHECKS
  29. 29. • #Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass • Import-Module dbatools • Import-Module Pester -Force • Import-Module dbachecks • Import-Module PSFramework • $Servers= „server1",„server2" • # Set-DbcConfig -Name policy.backup.fullmaxdays -Value 4 • # Set-DbcConfig -Name policy.ola.userfullretention -Value 4 • # Set-DbcConfig -Name policy.ola.systemfullretention -Value 4 • # Set-DbcConfig -Name policy.ola.userlogretention -Value 4 • # Set-DbcConfig -Name policy.backup.logmaxminutes -Value 61 DBACHECKS
  30. 30. DBACHECKS
  31. 31. Buckle Up !! It‘s Demo time
  32. 32. Lars Platzdasch | SQL Server | SharePoint VIELEN DANK FÜR EURE ZEIT Q & A
  33. 33. Links • https://dbatools.io/ • https://sqlwatch.io/ • https://github.com/larspl/SQLPowerDoc • https://dbatools.io/tag/dbachecks/

×