In WMI, how can i find the file system type of a remote mounted file system? i.e. CIFS, NFS, etc...

I can get the mount type from: MSFT_Disk class, but what about remote logicals and their file system?

Thanks in advance,

有帮助吗?

解决方案

The Win32_MappedLogicalDisk class contains information about mapped drives in Windows. Specifically, you'd want to query the FileSystem property. Note that if you connect to a share without creating a device name (e.g. net use \\Server\Share), it doesn't look like it appears in the results.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top