Spectra Assure
Community
Docs
passEverything is awesome!
Scanned: 3 days ago

Upgrade-SqlServerStandaloneDatabaseEngineInstance

latest
Top 10k
### What this tool does This will perform an *impactful*, in-place, major version upgrade, such as SQL Server 2008 SP4 -> 2017 or 2008 R2 SP3 -> 2016, on a standalone SQL Server Database Engine instance on a Windows operating system. It can be run either locally, or remotely if deployed on a Windows VM in a vSphere environment such as VMware Cloud on AWS. You must supply your own SQL Server installation media and product key / license. The compatibility level of each database deployed on the target SQL Server instance will not be modified by this script, and *should* remain the same, but please test thoroughly. Please see the links below for additional resources such as Microsoft's best practices for planning your SQL Server instance upgrades, breaking changes and backwards compatibility, et cetera. Again, the upgrade process is impactful, so please test thoroughly and plan for application downtime. ### What this tool does not do !!! danger "Backups are *NOT* included" Backups are *NOT* included. Please make sure that you have implemented and verified proper backups, and that you have a recovery plan established that meets the recovery plan objective (RPO) and recovery time objective (RTO). This tool does not accommodate the intricacies of upgrading any high availability (HA) SQL Server instance types including: - Replicated Databases - Mirrored Databases - Log Shipping Instances - Failover Cluster Instances (FCI) - AlwaysOn Availability Groups (AAG) This tool does not accommodate edition upgrades within the same version of SQL Server either. The checks run prior to the upgrade cannot test for every eventuality. In fact, most of the requirements and compatibility testing is delegated to Microsoft's SQL Server installation media since it was built with a robust testing framework. Please test thoroughly. ### Local upgrades For local upgrades, this script requires elevated privileges and must be run from PowerShell launched with the 'Run as Administrator' option. ### Remote upgrades For VMware PowerCLI-based remote upgrades, HTTPS (443/tcp) connectivity is required to the ESXi hosts as well as vCenter for executing commands in the VM's guest operating system via the VMware Guest Operations API. This connectivity is not permitted by default, such as in VMware Cloud on AWS, but can be configured. This tool does not attempt to install or import the required PowerCLI modules, nor does it attempt to establish a PowerCLI session with vCenter. For VMware PowerCLI installation instructions, please see: https://www.powershellgallery.com/packages/VMware.PowerCLI/. Once installed, run `Import-Module -Name 'VMware.VimAutomation.Core'` to import the subset of modules required. To learn more about how to establish a PowerCLI session, run `Get-Help -Name 'Connect-VIServer' -Detailed`, which includes a few examples. All target VMs must be powered on, and VMware Tools must be installed and running in the guest operating system of each Windows VM. The supplied credentials will be used on each VM to access the guest operating system, and must have administrative privileges. Because feature: https://powercli.ideas.aha.io/ideas/PCLI-I-101 has neither been accepted nor released by the PowerCLI team, Windows User Account Control (UAC) must be disabled in each guest operating system as well. Multiple VMs can be specified in the same command for batch upgrades via an array of VM IDs or names, as well as wildcard globbing of VM names; however, the SQL Server instance on each VM is upgraded iteratively, not concurrently. Please plan accordingly.
License: unknown
Published: over 6 years ago




SAFE Assessment

Compliance

Licenses
No license compliance issues
Secrets
No sensitive information found

Security

Vulnerabilities
No known vulnerabilities detected
Hardening
No application hardening issues

Threats

Tampering
No evidence of software tampering
Malware
No evidence of malware inclusion

Popularity

465
Total Downloads
Contributors
Declared Dependencies
0
Dependents

Top issues

Problem

Software developers use programming and design knowledge to build reusable software components. Software components are the basic building blocks for modern applications. Software consumed by an enterprise consists of hundreds, and sometimes even thousands of open source components. Open source communities depend on the work of thousands of software developers that volunteer their time to maintain software components. Software developers build up the reputation of their open source projects by developing in public. Modern source code repositories have many social features that allow software developers to handle bug reports, have discussions with their users, and convey reaching significant project milestones. It is uncommon to find open source projects that omit linking their component to a publicly accessible source code repository.

Prevalence in PowerShell Gallery community

100 packages
found in
Top 100
900 packages
found in
Top 1k
8992 packages
found in
Top 10k
17108 packages
in community

Next steps

Check the software component behaviors for anomalies.
Consider exploratory software component testing within a sandbox environment.
Consider replacing the software component with a more widely used alternative.
Avoid using this software package until it is vetted as safe.

Top behaviors

Prevalence in PowerShell Gallery community

Behavior uncommon for this community (Uncommon)
1 packages
found in
Top 100
20 packages
found in
Top 1k
210 packages
found in
Top 10k
328 packages
in community

Prevalence in PowerShell Gallery community

Behavior often found in this community (Common)
90 packages
found in
Top 100
509 packages
found in
Top 1k
3113 packages
found in
Top 10k
5185 packages
in community

Prevalence in PowerShell Gallery community

Behavior often found in this community (Common)
100 packages
found in
Top 100
804 packages
found in
Top 1k
6518 packages
found in
Top 10k
11726 packages
in community

Prevalence in PowerShell Gallery community

Behavior often found in this community (Common)
53 packages
found in
Top 100
452 packages
found in
Top 1k
2940 packages
found in
Top 10k
4594 packages
in community

Prevalence in PowerShell Gallery community

Behavior often found in this community (Common)
82 packages
found in
Top 100
304 packages
found in
Top 1k
1889 packages
found in
Top 10k
2994 packages
in community

Top vulnerabilities

No vulnerabilities found.