Question: Which command do you use to view all SharePoint site collection with PowerShell?

  1. `Get-SPSite -Limit All | Format-Table -property URL,ContentDatabase`
  2. `Get-SPSite -Limit All | Format-Table -property URL`
  3. `Get-SPWebApplication | Format-Table -property URL,ConnectDatabase`
  4. `Get-SPWebApplication | Get-SPSite -Limit All | Format-Table -property URL,ContentDatabase`

Answer: The correct answer of the above question is Option B:`Get-SPSite -Limit All | Format-Table -property URL`