I tested this and with no luck. I also find someone else shared a way to suppress warnings in PowerShell scripts. However, the result is the same. It seems a hard code and has no way to avoid.
Besides, this article introducing some common parameters which can be used with any cmdlet deserves a read.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.