In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Access SQL Server WMI object
1. Access using Powershell
Get-wmiobject-list-namespace "root\ Microsoft\ SqlServer" get-wmiobject-list-namespace "root\ Microsoft\ SqlServer\ ServerEvents\ MSSQLSERVER" get-wmiobject-namespace "root\ Microsoft\ SqlServer\ ComputerManagement10"-query "Select * From SqlService"
two。 Access using wbemtest.exe
At start, run, type wbemtest.exe
Enter the space name:
Root\ Microsoft\ SqlServer\ ComputerManagement10
Problems encountered:
When accessing wbemtest.exe, you will encounter permission problems, as follows:
At start, run, type wmimgmt.msc
Right-click WMI Control (local) and click Properties
Switch to the Security window, expand to the directory you need to access, and grant DX\ xucy access.
Reference:
Https://mattsql.wordpress.com/2013/08/15/quick-tip-wmi-alerts-and-sql-server-agent-permissions/
Http://stackoverflow.com/questions/2056056/access-sql-wmi-namespaces-from-remote-machine
Http://www.jb51.net/article/52489.htm
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.