remove write-host from Invoke-DOAPI