Jump to content

Recommended Posts

Posted

Hi,

 

At the moment we have a lot of students misusing computers, internet and email.

 

We currently have two VB Scripts which disable the students account or internet, the first disables their full computer account and adds the details of the ban which are entered into the script to a database.

 

The second script makes the student a member of a AD group called "no internet access" this then blocks their access to the internet as our ISA does not accept them, they are also added to a database with the details of the ban.

 

We then also have a script which runs every morning and looks at the dates in the database, if there are any which should be enabled on todays date, it will either remove them from the group or enable the account depending on the type of ban.

 

I am trying to make a script that will disable their email account, as you are probably aware if you wish to disable an accounts OWA (outlook web access) you need to go to active directory, search for the user, go to properties, exchange features and then click on the disable button next to OWA.

 

This is very time consuming, we do not have a record of the ban and also the account will not be automatically enabled on the set date.

 

I am currently at a loss with this, as i have tried various scripts from various sites, none of which i can get to work. :confused:

 

Any help with this would be much appreciated.

 

Many Thanks

 

David Phillips

Winton Arts & Media College

Posted

What version of Exchange is it your running? 2003, 2007 or 2010?

 

I have a powershell script I wrote which disables OWA which I can send over... just PM me.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 149 What is your preferred operating system (PC)

    1. 1. Operating systems:


      • MacOS
      • Windows 10
      • Windows 11
      • Windows Vista
      • ChromeOS
      • Other (reply)

×
×
  • Create New...