sucessfully tested get-targetresource()