Replies: 2 comments
-
This error comes from the section of code below where we are validating the credential can connect to the remote machine using CIM |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, so what is the solution? How can I make it work? Do you want to say that we should not use it? |
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
-
I have a very basic script to retreive status of sql services (Get-DbaService which works fine), but then when I try to start a service when it is stopped I get
Here is the code
I also tried
(Get-DbaService -Credential $winCred -ComputerName $Name -Type Agent,Engine) | Where State -eq 'Stopped' | Start-DbaService
it outputs the same exact result
Beta Was this translation helpful? Give feedback.
All reactions