- with Network Browser by Using WMI to retrieve Domain Information, Enumerate Computers on Network with WMI:
- Retrieve Domain Name - Using WMI Win32_ComputerSystem - ManagementObjectSearcher, SelectCommand(), ManagementObject
- Enumerate computers within a domain - Using DirectoryEntry
- Enumerate users within a domain - Using WMI Win32_UserAccount - ManagementObjectSearcher, SelectCommand(), ManagementObject
- Enumerate services on a computer - Using WMI Win32_Service - ManagementObjectSearcher, SelectCommand(), ManagementObject
- Enumerate services on a computer using WMI - Win32_Service
and also - How to check for Shared Open Files with WMI and Win32_ConnectionShare
WMI (Windows Management Instrumentation) is a component of the Microsoft operating system that allows to monitor virtually every piece of the system (either locally or remotely) as well as control the windows operating system. Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems and can be used in all Windows-based applications, and is most useful in enterprise applications and administrative scripts.
WMI consists of several pieces that allow it to manage systems. All parts of the operating system are managed through COM by a provider that talks to WMI. WMI also has a repository and a Windows Management service that manages reading and writing information between the provider and the repository.
... and more .NET and SQL development articles on Siccolo - How to Articles on .NET, VB.NET, C#, SQL development you may find useful
No comments:
Post a Comment