Redirect to :

https://www.databasejournal.com/features/mssql/article.php/1548361/Automating-SQL-Server-Management-with-WMI-Part-2.htm

Continue to visit