title: Get a list of site collection - Powershell
body: <p>I am using the following PowerShell script to get a list of site collection for a web application. it works but url column cuts of after 25 or 30 letters. Any fix for this?</p>
  
  <pre><code>Get-SPSite -WebApplication http://myCompany.bofa.com:9966 -Limit All | `
    Select -ExpandProperty AllWebs | select url, Title, Created &gt; c:\mysite.txt
  </code></pre>
  
  <p>Where I output to a file or screen same outcome where the url cuts off after 25 or 30 characters.</p>
  
  <p>Result looks like this:</p>
  
  <pre><code>http://mycompany.bofa.co.... Site Title   8/12/2012 3:49:20 PM
  </code></pre>