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
Add-DbaAgListener parameter for Listener Name #5000
Comments
We actually have code to handle passing in a name it was just missed adding as a parameter itself. SO quick fix for this will be to just add in |
Thank You for your quick Response. Can you tell me by when this will be implemented? |
No sure can't....it will likely be this week but can't promise anything. |
So @potatoqualitee we will have to consider how we add the name as the actual parameter. This has the same issue with piping AGs in on how to handle each AG with a name. For piping support we would have to have the name mapped to the AG, so accept a hashtable input for something like |
i think the way we'd handle it is to check to see if the ag name exists then cancel out if so? tho that's exactly what SMO does so we could just let it be? |
removing my name from assignees ;) |
The problem is the command accepts multiple AGs. We need to update the command to only accept one AG at a time. You would not want to create a listener with the same name and IP on all the AGs of a given instance; though I don't think that is even allowed. |
name: Feature request
about: A extra Parameter for the Listener Name in Add-DbaAgListener
Summary of new feature
For the Function Add-DbaAgListener is at moment not possible to define a Listener Name. It takes every time the Name from the availability Group, but i have different names for the availability Group and the listener. So i want a extra Field to define a Listener Name.
The text was updated successfully, but these errors were encountered: