title: How to add empty rows in output csv?
body: <p>I am using the following script to generate a report for disk space utilization, But the output csv file does not have any spaces/blank rows between different servers, So how do I add the spaces/blank rows to increase readability ??</p>
  <pre><code>$LogDate = get-date -f yyyyMMddhhmm
  $File = Get-Content -Path C:\StorageReport\Servers.txt
  
  $DiskReport = ForEach ($Servernames in ($File)) 
  
  {Get-WmiObject win32_logicaldisk &lt;#-Credential $RunAccount#&gt; `
  -ComputerName $Servernames -Filter &quot;Drivetype=3&quot; `
  -ErrorAction SilentlyContinue 
  } 
  
  $DiskReport | 
  
  Select-Object @{Label = &quot;Server Name&quot;;Expression = {$_.SystemName}},
  @{Label = &quot;Drive Letter&quot;;Expression = {$_.DeviceID}},
  @{Label = &quot;Total Capacity (GB)&quot;;Expression = {&quot;{0:N1}&quot; -f( $_.Size / 1gb)}},
  @{Label = &quot;Free Space (GB)&quot;;Expression = {&quot;{0:N1}&quot; -f( $_.Freespace / 1gb ) }},
  @{Label = 'Free Space (%)'; Expression = {&quot;{0:P0}&quot; -f ($_.freespace/$_.size)}} |
  
  Export-Csv -path &quot;C:\StorageReport\DiskReport_$logDate.csv&quot; -NoTypeInformation
  
  Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn; 
  
  $messageParameters = @{                        
                  Subject = &quot;Weekly Server Storage Report&quot;                        
                  Body = &quot;Attached is Weekly Server Storage Report.All reports are located in C:\StorageReport\, but the                
  
            most recent  is sent weekly&quot;                   
                  From = &quot;Email name1 &lt;Email.name1@domainname.com&gt;&quot;                        
                  To = &quot;Email name1 &lt;Email.name1@domainname.com&gt;&quot;
                  CC = &quot;Email name2 &lt;Email.name2@domainname.com&gt;&quot;
                  Attachments = (Get-ChildItem C:\StorageReport\*.* | sort LastWriteTime | select -last 1)                   
                  SmtpServer = &quot;SMTPServerName.com&quot;                        
              }   
  Send-MailMessage @messageParameters -BodyAsHtml
  </code></pre>