<# .SYNOPSIS Requests a SQL Server TLS certificate for vsql from PESCO-PSYLOCKE-CA and binds it to the instances. .DESCRIPTION Run on the SQL Server host (the machine behind vsql.pesco.com) in an elevated PowerShell, as a domain account that may enroll from the chosen template. Works on Windows PowerShell 5.1 and PowerShell 7. Steps: 1. Resolve the SQL Server instances to configure and their service accounts. Unknown names in -Instances are an error, nothing is touched. 2. Write a certreq INF with what SQL Server requires (Microsoft certificate requirements): a legacy CryptoAPI provider, Microsoft RSA SChannel Cryptographic Provider, with KeySpec AT_KEYEXCHANGE; RSA 2048; SHA-256; Server Authentication EKU; key usage digital signature and key encipherment; subject CN=vsql.pesco.com; subject alternative names vsql.pesco.com, vsql, the host FQDN and short name; machine store; exportable. 3. certreq -new, -submit and -accept, each confirmed through ShouldProcess. A pending request is saved in its own request-