Help on Powershell SMO running on Ubuntu Container #1762
Unanswered
aldwinting
asked this question in
Q&A
Replies: 1 comment
-
You seem to be using a very old version of STS release - any special reason you're using v1.0.0-alpha.34? If you simply want to use SMO, you should use this NuGet and its dependencies instead: https://www.nuget.org/packages/Microsoft.SqlServer.SqlManagementObjects |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting this error on SMO Script from this Repo and also I'm running this powershell script on a Ubuntu Docker Container.
Docker File:
Test5.ps1
The Error
Exception calling "Script" with "0" argument(s): "Script failed for Database 'TestDatabase' ."
More Details Error:
Looks like I'm getting error on the .Script() part.
Is there a latest version for
Ubuntu 20.04.5 LTS
.What do I need to do to make my SMO POwershell work on a Ubuntu Container? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions