Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update script #1199

Merged
merged 3 commits into from
Aug 29, 2023
Merged

Update script #1199

merged 3 commits into from
Aug 29, 2023

Conversation

barbaravaldez
Copy link
Contributor

  • Add -TrustServerCertificate to fix the following error:
Line |
 115 |  … rverName = (Invoke-SqlCmd -ServerInstance $serverInstance -Credential …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | A connection was successfully established with the server, but then an
     | error occurred during the pre-login handshake. (provider: TCP Provider,
     | error: 35 - An internal exception was caught)
Invoke-Sqlcmd: /opt/mssql/bin/runassessment.ps1:115
Line |
 115 |  … rverName = (Invoke-SqlCmd -ServerInstance $serverInstance -Credential …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Incorrect syntax was encountered while parsing ''.
  • Make password readonly
Get-SqlInstance: /opt/mssql/bin/runassessment.ps1:123
Line |
 123 |      Get-SqlInstance -ServerInstance $serverInstance -Credential $cred …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | password must be marked as read only.

Copy link
Collaborator

@Matteo-T Matteo-T left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MikeRayMSFT MikeRayMSFT merged commit 4556413 into microsoft:master Aug 29, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants