ITRS Geneos users can consider using the WMI plugin to query the Win32_Directory class. |
Here we are providing an example which returns all directories under C:\Windows. The sampler configuration in XML format has been attached in this article. The Active Console will display a dataview similar to the below screen capture. |
|
Further ReadingOne useful feature of the WMI plugin is that it can filter the results based on patterns. This can be achieved with the Restriction field, which can use LIKE keyword with % as wildcard character. So for example the following will list folder names starting with app. Drive='C:' AND Path='\\Windows\\' AND FileName like 'app%'
Please refer to the Windows WMI plugin documentation for more details. For the specification of Windows Management Instrumentation (WMI) and Win32_Directory class, users should look into the Microsoft Docs web site. |
Comments
0 comments
Please sign in to leave a comment.