Gazareth (11/20/2014)
Should$result | foreach $result {remove-item $result.fullname -force}
be
$result | foreach {remove-item $result.fullname -force}
or
$result | foreach {remove-item $_.fullname -force}
The latter. The former doesn't use the current object in the loop i.e. $_.
Gaz
-- Stop your grinnin' and drop your linen...they're everywhere!!!