Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Disk Quota EntriesContent of List Disk Quota Entries.ps1MD5 Hash: FF9FDD423646B7CF0859AE7BC76FD350 |
||
$strComputer = "."
$colItems = get-wmiobject -class "Win32_DiskQuota" -namespace "root\CIMV2" ` -computername $strComputer foreach ($objItem in $colItems) { write-host "Disk Space Used: " $objItem.DiskSpaceUsed write-host "Limit: " $objItem.Limit write-host "Quota Volume: " $objItem.QuotaVolume write-host "Status: " $objItem.Status write-host "User: " $objItem.User write-host "Warning Limit: " $objItem.WarningLimit write-host } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |