开发者

VBScript to get DC SYSVOL information (path, size, free space)

I am obtaining information about my DCs and need to pull in the path开发者_StackOverflow社区 to sysvol, total size, and free space remaining.

Cant his be done in VBScript and if so how?

Thanks


Have a look at this Microsoft support page - the registry entries are in this document of where the SYSVOL and other NTDS directories are stored.

You might find that you can also get this information through Active Directory however I'm not sure - I will check ADSIEdit shorly.


You can do it through the WMI. See an example here: http://www.computerperformance.co.uk/vbscript/wmi_disks.htm

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜