SQLServerPSModule icon indicating copy to clipboard operation
SQLServerPSModule copied to clipboard

Test-SqlAvailabilityGroup, Test-SqlAvailabilityReplica, and Test-SqlDatabaseReplicaState not available on PS7

Open Matteo-T opened this issue 3 years ago • 1 comments

It would appear that Test-SqlAvailabilityGroup, Test-SqlAvailabilityReplica, and Test-SqlDatabaseReplicaState all have a dependency on Microsoft.SqlServer.Management.HadrDmf.dll which is not available on net6.0...

If we want those 3 cmdlets to light up, we need to either make the DLL available.

Note: these 3 cmdlets were NOT available in v21.x of the PS6/PS7 of the module, so this is nothing new really.

Matteo-T avatar Oct 30 '22 11:10 Matteo-T

Hi @Matteo-T , was it fixed by 22+ release? The official doc now shows:

Module requirements: version 21+ on PowerShell 5.1; version 22+ on PowerShell 7.x.

ronascentes avatar Dec 11 '23 19:12 ronascentes