For example if I do:
PS> foreach ($i in $list)
{
Write-Host $i
}
Produces no error, just a new command prompt.
PS>
Even when calling attributes on objects that don't exist, don't output any error:
PS>(Get-SPWeb "http://homesite").Sites
New command prompt
PS>
Yet it should be:
PS>(Get-SPWeb "http://homesite").Site
Correct results:
Url CompatibilityLevel
--- ------------------
http://homesite 15