开发者

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

开发者 https://www.devze.com 2023-02-11 07:15 出处:网络
I am obtaining information about my DCs and need to pull in the path开发者_StackOverflow社区 to sysvol, total size, and free space remaining.

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

精彩评论

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