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

Parameter #1

Open
PaulDGreen opened this issue Jul 22, 2022 · 8 comments
Open

Parameter #1

PaulDGreen opened this issue Jul 22, 2022 · 8 comments

Comments

@PaulDGreen
Copy link

Hello

When I run the script on my host (where the PRTG Probe & DBATools are installed) I get the error message "The Network Path Was Not Found" after entering my SQL Instance name.

Would you be able to offer any troubleshooting assitance?

Many thanks for providing the script.

@LeonarddeR
Copy link
Member

LeonarddeR commented Jul 22, 2022

Thanks for your question
what happens if you run Get-DbaServerRole -SqlInstance <instance-name> directly from PowerShell?

@PaulDGreen
Copy link
Author

Thanks for your reply, I get:

WARNING: [15:07:14][Get-DbaServerRole] Failure | The network path was not found.

@LeonarddeR
Copy link
Member

That suggests the issue isn't related to this project.
Can you ping the instance e.g. ping <name>?

@PaulDGreen
Copy link
Author

PaulDGreen commented Jul 25, 2022 via email

@LeonarddeR
Copy link
Member

I believe the syntax should be <servername\instancename>. Unless your instance name is the default name.
Does that help?

@PaulDGreen
Copy link
Author

PaulDGreen commented Jul 25, 2022 via email

@LeonarddeR
Copy link
Member

Where does pE127 stand for?
Note that for this script to work, the user under which the script is run should have access to the database. It is not possible to provide different credentials unless you'd change the script.

@PaulDGreen
Copy link
Author

PaulDGreen commented Oct 11, 2022 via email

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

No branches or pull requests

2 participants