Error when calling 3rd party executable from Powershell when using an IDE
Another way to suppress the NativeCommandError output is to convert the objects in the pipeline to strings as outlined at the bottom of this answer: du c:\Backup 2>&1 | %{ “$_” }