EG:
Mycomand = new command("set-mailbox")
MyCommand.Parameters.add("Identity",sCN)
MyCommand.Parameters.add("AcceptMessagesOnlyFrom", <I need the NULL value
here>)
Anything I've tried has resulted in a
Microsoft.Exchange.configuration.Tasks.....
Or I need some other way to clear this attribute from VB.NET (2008)
Pardon the minimal code, but every other aspect of the pipline invocation
works just fine. The only thing I cna't do is pass a "Null" as a parameter
value.
Thanks.
--
Tim.
> Hi all,
> I need to be able to pass the Powershell $null value as a
> parameter to a
> powershell pipeline invocation:
> EG:
> Mycomand = new command("set-mailbox")
> MyCommand.Parameters.add("Identity",sCN)
> MyCommand.Parameters.add("AcceptMessagesOnlyFrom", <I need the NULL
> value
here>> )
here>>
> Anything I've tried has resulted in a
> Microsoft.Exchange.configuration.Tasks.....
>
> Or I need some other way to clear this attribute from VB.NET (2008)
>
> Pardon the minimal code, but every other aspect of the pipline
> invocation works just fine. The only thing I cna't do is pass a "Null"
> as a parameter value.
>
> Thanks.
>
> --
> Tim.
Have you tried NULL?
Karl
MyCommand.Parameters.add("AcceptMessagesOnlyFrom", Nothing)
"Tim Munro" wrote:
> .
>
--
Tim.
"Karl Mitschke" <karlmi...@somestate.gov> wrote in message
news:d66cd4c2182c18...@msnews.microsoft.com...
--
Tim.
"Mike Pfeiffer" <MikePf...@discussions.microsoft.com> wrote in message
news:44F7D058-05B6-4B04...@microsoft.com...
"Tim Munro" wrote:
> .
>