Using WMI to replace SQL Server Configuration Manager #7362
andreasjordan
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I put some lines of code together to show how to work with the WMI class to replace SQL Server Configuration Manager.
This is part of my work on Get-DbaTcpPort and Set-DbaTcpPort and the main part of the new commands Get-DbaNetworkConfiguration and Set-DbaNetworkConfiguration.
I only use dbatools to get the needed libraries with the class
Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer
.So even if you don't want to use dbatools, you can use most parts of the code.
Beta Was this translation helpful? Give feedback.
All reactions