I have a call to GPG in the following way in a PowerShell script:
$key = & \'gpg\' --decrypt \"secret.gpg\" --quiet --no-verbose > $null
Try redirecting the output like this:
$key = & 'gpg' --decrypt "secret.gpg" --quiet --no-verbose >$null 2>&1