Forum Discussion
Rahul_Fadnavis
Aug 13, 2020Copper Contributor
"An attempt to connect to WMI" error in enabling always on using Enable-SqlAlwaysOn using powershell
Hello, I am getting below error while enabling the SQL Server always on using powershell. *** Enable-SqlAlwaysOn : An attempt to connect to WMI on 'XXXXXXXXXXXX' failed with following error: SQL ...
Ronen_Ariely
Jan 13, 2023MVP
> SQL Server WMI provider is not available
The provider is not available so probably the issue is not in the provider but before. Check the firewall for example. Are you running it locally or remotely?
Check this article in the meantime - might solve the issue: http://sqlbeyond.blogspot.com/2010/05/sql-wmi-permission-issue.html