Downloads:
29
Downloads of v 2023.5.5:
29
Last Update:
03 Jul 2023
Package Maintainer(s):
Software Author(s):
- the dbatools team
Tags:
admin powershell module template dba sqlserver migrations sql databases mac linux core smo- 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
dbatools.library (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:
29
Downloads of v 2023.5.5:
29
Software Author(s):
- the dbatools team
dbatools.library (PowerShell Module)
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by the dbatools team. The inclusion of the dbatools team trademark(s), if any, upon this webpage is solely to identify the dbatools team goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Are Exempted or Have Failed
Not All Tests Have Passed
This package was rejected on 23 Aug 2023. The reviewer TheCakeIsNaOH has listed the following reason(s):
dbatools is sort of like a command-line SQL Server Management Studio. The project initially started out as Start-SqlMigration.ps1, but has now grown into a collection of over 600 commands that help automate SQL Server tasks and encourage best practices.
This module is the library enabling cross-platform usage of the dbatools module.
NOTE: This module requires a minimum of PowerShell v3.
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 = 'dbatools.library' # 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
if ($lib = [appdomain]::CurrentDomain.GetAssemblies() | Where-Object FullName -like "dbatools, *") {
Write-Verbose "Found locked DLL files for module '$moduleName'."
$moduleDir = Split-Path $module.Path -Parent
if ($lib.Location -like "$moduleDir\*") {
Write-Warning @"
We have detected dbatools to be already imported from '$moduleDir' and the dll files have been locked and cannot be updated.
Please close all consoles that have dbatools imported (Remove-Module dbatools is NOT enough).
"@
throw
}
}
}
$ErrorActionPreference = 'Stop'
$moduleName = 'dbatools.library'
$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
if ($PSVersionTable.PSVersion.Major -lt 4) {
$modulePaths = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine') -split ';'
Write-Verbose "Removing '$sourcePath' from PSModulePath."
$newModulePath = $modulePaths | Where-Object { $_ -ne $sourcePath }
[Environment]::SetEnvironmentVariable('PSModulePath', $newModulePath, 'Machine')
$env:PSModulePath = $newModulePath
}
md5: 497F36031E7753C4888720AAB2F0C9ED | sha1: 7BDE707201C46D4B72725CBEB82B5E0E0EA7FB44 | sha256: 0B16A04072189D8C25804A001935181EE7BD94013020E574B5B6688FDC39666C | sha512: 92FF56771DF4C9E8B19BAB64E7D263A561CF0BA6BB2B369D6E2FE2D99A1AD724BA8CA7FCA95BE0CE6ADF83223CAEBEE927E352BF39F41BA3EE201CE15319F297
From: https://raw.githubusercontent.com/sqlcollaborative/dbatools/master/LICENSE
LICENSE
MIT License
Copyright (c) 2018 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/dbatools) 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 dbatools -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.
No results available for this package. We are building up results for older packages over time so expect to see results. If this is a new package, it should have results within a day or two.
2023 dbatools
This package has no dependencies.
Ground Rules:
- This discussion is only about dbatools.library (PowerShell Module) and the dbatools.library (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 dbatools.library (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.
jpruskin (maintainer) on 03 Jul 2023 09:10:10 +00:00:
User 'jpruskin' (maintainer) submitted package.
chocolatey-ops (reviewer) on 03 Jul 2023 09:44:19 +00:00:
dbatools.library has failed automated validation.
Requirements
Requirements represent the minimum quality of a package that is acceptable. When a package version has failed requirements, the package version requires fixing and/or response by the maintainer. Provided a Requirement has flagged correctly, it must be fixed before the package version can be approved. The exact same version should be uploaded during moderation review.
Notes
Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.
jpruskin (maintainer) on 03 Jul 2023 10:45:27 +00:00:
In my defence, the PackageSourceURL will be valid when my PR is accepted.
TheCakeIsNaOH (reviewer) on 19 Aug 2023 16:38:36 +00:00:
Are you requesting an exemption?
Pauby (maintainer) on 19 Aug 2023 18:01:21 +00:00:
.library isn't a valid package extension.
TheCakeIsNaOH (reviewer) on 22 Aug 2023 01:38:29 +00:00:
Should this package be rejected then?
Pauby (maintainer) on 23 Aug 2023 00:17:34 +00:00:
I think so. This PR, for the new name, is waiting for changes to be made.
TheCakeIsNaOH (reviewer) on 23 Aug 2023 01:39:44 +00:00:
Status Change - Changed status of package from 'submitted' to 'rejected'.