can anyone help me on this?
How can I suppress the yellow warning
"WARNING: The command completed successfully but no settings have been modified"
I'm running the command
"Set-RemoteDomain -Identity "$Domain" -TNEFEnabled $false"
When the remotedomain already exists I'm getting this warning, but I rather don't have it in the output windows ;-)
Is there a way to suppres this
I've already tried
$global:ErrorActionPreference = "SilentlyContinue"
$global:WarningPreference = "SilentlyContinue"
But they don't seem to work :(