Bombjack 10 Posted November 26, 2002 Report Share Posted November 26, 2002 hallo ich suche ein anmeldescript womit beim anmelden der user sein kontigentspeicherplatz von seinem netzwerkverzeichniss angezeigt bekommt oder bzw. den befehl um disk qouta auszulesen. kann mir da wer weiterhelfen? mfg Bombjack Quote Link to comment
Bombjack 10 Posted November 28, 2002 Author Report Share Posted November 28, 2002 weis denn keiner von euch wie man in nem anmeldescript ein kontingent ausliest???? adios Bombjack Quote Link to comment
Mos 10 Posted November 28, 2002 Report Share Posted November 28, 2002 Nicht wirklich .... ;) Schau mal besser in einem Javascriptforum nach da bekommst Du sicher eher eine Antwort! mfg Mos Quote Link to comment
blub 115 Posted December 2, 2002 Report Share Posted December 2, 2002 Description Enumerates disk quota information (including user name, warning and quota limits, and disk space used) for each disk quota entry on a computer. Requires Windows XP or Windows .NET Server. Script Code ------------------- strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colDiskQuotas = objWMIService.ExecQuery _ ("Select * from Win32_DiskQuota") For each objQuota in colDiskQuotas Wscript.Echo "Disk Space Used: " & vbTab & objQuota.DiskSpaceUsed Wscript.Echo "Limit: " & vbTab & objQuota.Limit Wscript.Echo "Quota Volume: " & vbTab & objQuota.QuotaVolume Wscript.Echo "Status: " & vbTab & objQuota.Status Wscript.Echo "User: " & vbTab & objQuota.User Wscript.Echo "Warning Limit: " & vbTab & objQuota.WarningLimit Next ---- Cu blub Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.