Clear property in cmdshell
Hi,
I've set a property of the contentfilter config, but I want to clear that value. How do I do that ? I've used:
set-contentfilterconfig -ByPassedSendersDomains somedomain.com
to set the value
To clear this value I'd imagine you use:
set-contentfilterconfig -ByPassedSendersDomains ""
But this doesn't work, I get the error:
Set-ContentFilterConfig : Cannot bind parameter 'BypassedSenderDomains'. Cannot convert value "" totype "Microsoft.Exchange.Data.SmtpDomainWithSubdomains". Error: "Invalid SMTP domain"
But how do I clear this value then ?
Franc.
March 27th, 2007 1:36am
Have you tried $null ?
Free Windows Admin Tool Kit Click here and download it now
March 27th, 2007 11:06am