Hello
I am trying to run a Powershell script in VS2010 on a 64bit 2008 R2 server with Exchange 2007 Tools installed; and failing miserably :(
The code is:
Dim res As String
Dim runspace As Runspace = RunspaceFactory.CreateRunspace()
runspace.Open()
Using pipeline As...
Reply: Equivalent of "obj.PutEx ADS" in VB.NET
Hello
Thanks for the quick reply but that's the vbscript code
obj.PutEx ADS_PROPERTY_CLEAR, "authorig", 0
I need the .NET version
Something like:
Dim colarray() As Object = {0}
But this doesn't work!
In AD if you look in "Exchange General" >...
Hello
My question concerns a crossover of VBSCRIPT to DotNet, but here goes
I have a project in VB.NET concerning users in AD. Basically they are disabled but need to be enabled again. This means clearing the AUTHORIG property.
If I was doing it in VBSCRIPT i would simply use obj.PutEx...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.