Skip to content

Enable-DbaAgHadr fails with weird message about running on Windows 2008 server and Enterprise Edition of SQL 2012. #9859

@Timgj-hotmail

Description

@Timgj-hotmail

Verified issue does not already exist?

I have searched and found no existing issue

What error did you receive?

I'm running this on Windows 2022 on SQL 2022 installation alongside existing SQL Server 2109, both Enterprise Editions. Worked fine prior to SS2022 install.

Poss x86/x64 issue with SQL Server 2022 common components?

Steps to Reproduce

# provide your command(s) executed pertaining to dbatools
# please include variable values (redacted or fake if needed) for reference

Enable-DbaAgHadr

Please confirm that you are running the most recent version of dbatools

Yes, using latest version.

Other details or mentions

No response

What PowerShell host was used when producing this error

Windows PowerShell (powershell.exe)

PowerShell Host Version

TBA

SQL Server Edition and Build number

SQL SErver 2022 -016.0.4210.1

.NET Framework Version

TBA

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugs lifetriage requiredNew issue that has not been reviewed by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions