$computers = get-adcomputer -filter {name -like "*Myname*"} -Properties distinguishedname,operatingsystem

foreach ($computer in $computers)
{
    
    $foo = get-acl AD:$($computer.DistinguishedName)
    Write-Host "$($computer.name);$($foo.Owner)";operatingsystem
}