Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Programatically disable OWA access ??

Reply
 
Old 12-06-2007   #1 (permalink)
voodooking


 
 

Programatically disable OWA access ??

easy enough to do this For OMA with Qaduser
get-qaduser $chngUser -IncludeAllProperties | Set-QADUser -ObjectAttributes
@{msExchOmaAdminWirelessEnable='7' }

any body know how to doe this for OWA ?



My System SpecsSystem Spec
Old 12-06-2007   #2 (permalink)
Marco Shaw [MVP]


 
 

Re: Programatically disable OWA access ??

voodooking wrote:
Quote:

> easy enough to do this For OMA with Qaduser
> get-qaduser $chngUser -IncludeAllProperties | Set-QADUser -ObjectAttributes
> @{msExchOmaAdminWirelessEnable='7' }
>
> any body know how to doe this for OWA ?
>
>
Don't have access to my VM right now to test.

Near the bottom of this article, it seeem to cover how to disable OWA:
http://www.msexchange.org/tutorials/...007-Part1.html

Marco

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec
Old 12-07-2007   #3 (permalink)
Shay Levi


 
 

Re: Programatically disable OWA access ??


Set-CASMailbox user -OWAEnabled $true



-----
Shay Levi
$cript Fanatic
http://scriptolog.blogspot.com
Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic


Quote:

> easy enough to do this For OMA with Qaduser
> get-qaduser $chngUser -IncludeAllProperties | Set-QADUser
> -ObjectAttributes
> @{msExchOmaAdminWirelessEnable='7' }
> any body know how to doe this for OWA ?
>

My System SpecsSystem Spec
Old 12-07-2007   #4 (permalink)
Shay Levi


 
 

Re: Programatically disable OWA access ??

Oops.. to disable OWA access use $false.

-----
Shay Levi
$cript Fanatic
http://scriptolog.blogspot.com
Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic


Quote:

> Set-CASMailbox user -OWAEnabled $true
>
> -----
> Shay Levi
> $cript Fanatic
> http://scriptolog.blogspot.com
> Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic
Quote:

>> easy enough to do this For OMA with Qaduser
>> get-qaduser $chngUser -IncludeAllProperties | Set-QADUser
>> -ObjectAttributes
>> @{msExchOmaAdminWirelessEnable='7' }
>> any body know how to doe this for OWA ?

My System SpecsSystem Spec
Old 12-07-2007   #5 (permalink)
voodooking


 
 

Re: Programatically disable OWA access ??

sorry folks should have mentioned - NOT exchange 2007
exchange 2003


"Shay Levi" wrote:
Quote:

> Oops.. to disable OWA access use $false.
>
> -----
> Shay Levi
> $cript Fanatic
> http://scriptolog.blogspot.com
> Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic
>
>
>
Quote:

> > Set-CASMailbox user -OWAEnabled $true
> >
> > -----
> > Shay Levi
> > $cript Fanatic
> > http://scriptolog.blogspot.com
> > Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic
Quote:

> >> easy enough to do this For OMA with Qaduser
> >> get-qaduser $chngUser -IncludeAllProperties | Set-QADUser
> >> -ObjectAttributes
> >> @{msExchOmaAdminWirelessEnable='7' }
> >> any body know how to doe this for OWA ?
>
>
>
My System SpecsSystem Spec
Old 12-07-2007   #6 (permalink)
Ozone


 
 

Re: Programatically disable OWA access ??

Take a look at ADModify.net... I want to say that this is an option
that you can set. You can use a custom LDAP query to select only the
users you want to disable this option... ADModify.net has a lot of
settings that can be modified for Exchange 2003...

HTH
Ozone
My System SpecsSystem Spec
Old 12-07-2007   #7 (permalink)
voodooking


 
 

Re: Programatically disable OWA access ??

thanks folks if anyone is interested
answer is
get-qaduser $chngUser -IncludeAllProperties | Set-QADUser
-ObjectAttributes
@{protocolSettings='HTTP§1§1§§§§§§, IMAP4§0§1§4§ISO-8859-1§0§1§0§0,
POP3§0§1§4§'ISO-8859-1§0§§§ }




"Ozone" wrote:
Quote:

> Take a look at ADModify.net... I want to say that this is an option
> that you can set. You can use a custom LDAP query to select only the
> users you want to disable this option... ADModify.net has a lot of
> settings that can be modified for Exchange 2003...
>
> HTH
> Ozone
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Disable access to folder General Discussion
How do i access the BIOS so i can disable hardware? Drivers
How to administratively disable network access? Virtual PC
Disable quick edit mode programatically? PowerShell
Disable Ease of Access Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46