This function is removed use PowerShell API `WriteObject` instead