ITOM Pattern.. Issue

SandeepKSingh
Kilo Sage

Hi @all,

 

YI have to extend the Windows OS – Desktop Discovery pattern to check for Local Disk C usage (free space, total space, file system type) and populate this info under a custom CI class or as extended attributes of the parent Windows machine.

 

How we can access the LOCAL C Disk using pattern?

1 ACCEPTED SOLUTION

Ravi Gaurav
Giga Sage
Giga Sage

WinRM/WMI step in the Windows OS – Desktop pattern to query Win32_LogicalDisk for C:.

RaviGaurav_0-1755695319274.png

RaviGaurav_1-1755695333666.png

Class: Win32_LogicalDisk
Filter: DeviceID='C:'
Props: FreeSpace, Size, FileSystem

 

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

2 REPLIES 2

Ravi Gaurav
Giga Sage
Giga Sage

WinRM/WMI step in the Windows OS – Desktop pattern to query Win32_LogicalDisk for C:.

RaviGaurav_0-1755695319274.png

RaviGaurav_1-1755695333666.png

Class: Win32_LogicalDisk
Filter: DeviceID='C:'
Props: FreeSpace, Size, FileSystem

 

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

SandeepKSingh
Kilo Sage

worked for me..