-
Notifications
You must be signed in to change notification settings - Fork 9
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
Get-RSCMSsqlDatabase cmdlet is not functional in 1.2 or 1.3 #96
Comments
Hi @McDBAOptPHC , It seems like the default parameter value Thanks |
That does work. However, we are also having issues passing instance values to the cmdlet. I confirmed that the instance cmdlet is returning a value.
|
Fix in PR #97 |
@McDBAOptPHC We'll be releasing a fix shortly. In the meantime, you'll want to use the Something like |
@McDBAOptPHC Apologies, I previously mispoke. |
I tried that I get the following error. (The passed variable is set using Get-RSCMSSQLInstance.
It looks like the return type from the Get-MSCSQlInstance may be an issue. I tried manually typing my variable for that cmdlet and ended up with the same error:
Digging in a little bit it looks like it's returning two instances in the results but both objects in the array are identical both [0] and [1] have identical IDs. When I call either of those in the command it works as expected:
However is there a way to get it to return all of the databases connected to an instance? Just for completeness, I wanted to update this with what I get when I try and just output an instance to the cmdlet
|
Any attempt to run the cmdlet is returning this error.
I have verified that the problem happens with or without parameters:
We are on 1.3 I updated just after seeing the issue.
Let me know if there are any other info that you need to dig in on this.
The text was updated successfully, but these errors were encountered: