Closed clumnah closed 2 months ago
I get the same results (no results!) here. It works with Get-RscMssqlAvailabilityGroup -AvailabilityGroupName
I have installed version 1.0.
I have a fix submitted to address this.
It dosen't work with PSVersion 7.4.2 It works with PSVersion 7.3.9
Installed 1.1 and imported the module this morning. Logged in to RSC with a service account having admin role. Get-RscMssqlAvailabilityGroup -Id didn't worked. I am running PSVersion 7.4.2
Logged in to a server Installed 1.1 and imported the module. Logged in to RSC with a service account having custom role Get-RscMssqlAvailabilityGroup -Id worked. That server have PSVersion 7.3.9 installed.
Logged in to another server Installed 1.1 and imported the module. Logged in to RSC with a service account having custom role Get-RscMssqlAvailabilityGroup -Id it didn't work. That server has PSVersion 7.4.2 installed.
Confirmed this is resolved in 1.3 as it works in 7.4.2
Running Get-RscMssqlAvailabilityGroup for a specific, known good ID returns no results and no error.