Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...

Downloads:
1,978
Downloads of v 2.0.9:
33
Last Update:
14 Dec 2020
Package Maintainer(s):
Software Author(s):
- SQL Community Collaborative
Tags:
admin powershell module template dba sqlserver sql tools database checks monitoring- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

dbachecks (PowerShell Module)
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
1,978
Downloads of v 2.0.9:
33
Maintainer(s):
Software Author(s):
- SQL Community Collaborative
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
This Package Contains an Exempted Check
1 Test Passing and 1 Exempted Test
Validation Testing Passed
Verification Testing Exempt:
Requires PowerShell v5 as a minimum which is why it's failng the Verifier.
To install dbachecks (PowerShell Module), run the following command from the command line or from PowerShell:
To upgrade dbachecks (PowerShell Module), run the following command from the command line or from PowerShell:
To uninstall dbachecks (PowerShell Module), run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download dbachecks --internalize --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade dbachecks -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade dbachecks -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure dbachecks installed
win_chocolatey:
name: dbachecks
state: present
version: 2.0.9
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'dbachecks' do
action :install
version '2.0.9'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: dbachecks,
Version: 2.0.9,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller dbachecks
{
Name = 'dbachecks'
Ensure = 'Present'
Version = '2.0.9'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'dbachecks':
provider => 'chocolatey',
ensure => '2.0.9',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install dbachecks version="2.0.9" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved as a trusted package on 14 Dec 2020.
dbachecks is a framework created by and for SQL Server pros who need to validate their environments. Basically, we all share similar checklists and mostly just the server names and RPO/RTO/etc change.
This open source module allows us to crowd-source our checklists using Pester tests. Such checks include:
- Backups are being performed
- Identity columns are not about to max out
- Servers have access to backup paths
- Database integrity checks are being performed and corruption does not exist
- Disk space is not about to run out
- All enabled jobs have succeeded
Have questions about development? Please visit our Wiki. Anyone developing this module should visit that Wiki page (after fully reading this readme) for a brief overview.
NOTE: This module requires a minimum of PowerShell v4.
NOTE: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.
$ErrorActionPreference = 'Stop'
$moduleName = 'dbachecks' # this could be different from package name
$module = Get-Module -Name $moduleName
if ($module) {
Write-Verbose "Module '$moduleName' is imported into the session. Removing it."
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue
}
}
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$moduleName = 'dbachecks' # this may be different from the package name and different case
if ($PSVersionTable.PSVersion.Major -lt 5) {
throw "$moduleName module requires a minimum of PowerShell v5."
}
# module may already be installed outside of Chocolatey
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue
$sourcePath = Join-Path -Path $toolsDir -ChildPath "$modulename.zip"
$destPath = Join-Path -Path $env:ProgramFiles -ChildPath "WindowsPowerShell\Modules\$moduleName\$env:ChocolateyPackageVersion"
Write-Verbose "Creating destination directory '$destPath' for module."
New-Item -Path $destPath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null
Write-Verbose "Extracting '$moduleName' files from '$sourcePath' to '$destPath'."
Get-ChocolateyUnzip -FileFullPath $sourcePath -Destination $destPath
$ErrorActionPreference = 'Stop'
$moduleName = 'dbachecks'
$sourcePath = Join-Path -Path $env:ProgramFiles -ChildPath "WindowsPowerShell\Modules\$moduleName"
Write-Verbose "Removing all version of '$moduleName' from '$sourcePath'."
Remove-Item -Path $sourcePath -Recurse -Force -ErrorAction SilentlyContinue
md5: D3AE70AC927AB9B9CC7CF1316781CD25 | sha1: CC36B670BD0B99EDA51F0C719BFDA8D60C4D28BA | sha256: 2E6004069AA26FE53E2537E92D14021DFFD4FBB287312DC6F1382B7A15CE290F | sha512: E8DBE135861CF5ED53EDAA6FBE4511285ECC9D3F395FC29FB40EB9F9B6F8B59FA9A6011D46C346FA055562B752846369FB6E538AAA36B73A290B5BF4ADEE107C
From: https://raw.githubusercontent.com/sqlcollaborative/dbachecks/development/LICENSE
MIT License
Copyright (c) 2017 Chrissy LeMaire
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community in verifying that this package's contents are trustworthy.
To verify the files using the project source:
1. Please go to the project source location (https://github.com/sqlcollaborative/dbachecks) and download the source files;
2. Build the source to create the binary files to verify;
3. Use Get-FileHash -Path <FILE TO VERIFY> to get the file hash value from both the built file (from step 1 above) and the file from the dbatools.zip within the package and compare them;
Alternatively you can download the module from the PowerShell Gallery ...
Save-Module -Name dbachecks -Path <PATH TO DOWNLOAD TO>
... and compare the files from the package against those in the installed module. Again use Get-FileHash -Path <FILE TO VERIFY> to retrieve those hash values.
Log in or click on link to see number of positives.
- ReportUnit.exe (9fa99b31c7c2) - ## / 73
- dbachecks.2.0.9.nupkg (0227dbdadfec) - ## / 63
- dbachecks.zip (2e6004069aa2) - ## / 64
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Version | Downloads | Last Updated | Status |
---|---|---|---|
dbachecks (PowerShell Module) 2.0.9 | 33 | Monday, December 14, 2020 | Approved |
dbachecks (PowerShell Module) 2.0.8 | 31 | Tuesday, November 24, 2020 | Approved |
dbachecks (PowerShell Module) 2.0.7 | 103 | Tuesday, September 22, 2020 | Approved |
dbachecks (PowerShell Module) 2.0.4 | 94 | Thursday, July 16, 2020 | Approved |
dbachecks (PowerShell Module) 2.0.3 | 78 | Saturday, May 9, 2020 | Approved |
dbachecks (PowerShell Module) 1.2.29 | 112 | Sunday, March 29, 2020 | Approved |
dbachecks (PowerShell Module) 1.2.26 | 47 | Saturday, March 21, 2020 | Approved |
dbachecks (PowerShell Module) 1.2.25 | 60 | Sunday, March 15, 2020 | Approved |
dbachecks (PowerShell Module) 1.2.24 | 132 | Thursday, January 9, 2020 | Approved |
dbachecks (PowerShell Module) 1.2.22 | 65 | Sunday, December 22, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.21 | 72 | Thursday, November 28, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.20 | 48 | Wednesday, November 27, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.19 | 53 | Tuesday, November 26, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.16 | 58 | Wednesday, November 20, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.15 | 84 | Thursday, October 17, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.14 | 81 | Wednesday, October 2, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.12 | 89 | Wednesday, July 31, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.11 | 47 | Tuesday, July 30, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.9 | 70 | Tuesday, July 30, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.8 | 60 | Monday, July 29, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.6 | 68 | Tuesday, July 23, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.5 | 78 | Monday, July 8, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.4 | 67 | Wednesday, July 3, 2019 | Approved |
dbachecks (PowerShell Module) 1.2.3 | 69 | Tuesday, July 2, 2019 | Approved |
dbachecks (PowerShell Module) 1.1.173 | 96 | Wednesday, May 22, 2019 | Approved |
dbachecks (PowerShell Module) 1.1.172 | 71 | Tuesday, May 21, 2019 | Approved |
dbachecks (PowerShell Module) 1.1.171 | 112 | Friday, April 5, 2019 | Approved |
2017 Chrissy LeMaire
-
- pester (≥ 4.3.1)
- dbatools (≥ 0.9.534)
- psframework (≥ 0.9.23.82)
Ground Rules:
- This discussion is only about dbachecks (PowerShell Module) and the dbachecks (PowerShell Module) package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or dbachecks (PowerShell Module), or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.