SQLServerPSModule
SQLServerPSModule copied to clipboard
Test-SqlAvailabilityGroup, Test-SqlAvailabilityReplica, and Test-SqlDatabaseReplicaState not available on PS7
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.
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.