+ Post New Thread
Results 1 to 3 of 3
Cloud Services Thread, o365 mailbox features in Technical; Hi all, I was wondering whether anyone has go an script or automated way of enabling non-default policies in O365? ...
  1. #1
    Rick2134's Avatar
    Join Date
    Feb 2009
    Location
    Leeds
    Posts
    30
    Thank Post
    16
    Thanked 5 Times in 5 Posts
    Rep Power
    11

    o365 mailbox features

    Hi all,

    I was wondering whether anyone has go an script or automated way of enabling non-default policies in O365?

    I have created a number of users and wondered if there are a poweshell commands to change the ABP and other policies?
    I have over 1500 users to change....

  2. #2
    Boredguy's Avatar
    Join Date
    Jun 2011
    Location
    Swindon
    Posts
    553
    Thank Post
    3
    Thanked 125 Times in 116 Posts
    Rep Power
    29
    Yep I've got a powershell script that we have running every hour during the day to set students policies

    We chunk the students into groups of 50 based on those that are unlicensed
    Code:
    $users = Get-MsolUser -UnlicensedUsersOnly -Synchronized -MaxResults 50 | Where-Object {$_.UserPrincipalName -like "STU????*" }
    if (!($users)) {exit;}
    
    foreach ($user in $users)
    {
    Set-Mailbox -Identity $user.UserPrincipalName -AddressBookPolicy "ABP_Students" -RoleAssignmentPolicy "Pupil Role Assignment Policy" -SharingPolicy "Pupil Sharing Policy"
    #Set the OWA Mailbox Policy
    Set-CASMailbox -Identity $user.UserPrincipalName -OwaMailboxPolicy "Pupils"
    }

  3. Thanks to Boredguy from:

    Rick2134 (16th July 2013)

  4. #3

    Join Date
    Jul 2013
    Posts
    13
    Thank Post
    0
    Thanked 3 Times in 2 Posts
    Rep Power
    3
    Have you gone through these? Office 365 downloads and scripts

  5. Thanks to Harshad from:

    Edu-IT (15th July 2013)

SHARE:
+ Post New Thread

Similar Threads

  1. Exchange Mailboxes
    By paullong in forum Windows
    Replies: 13
    Last Post: 29th March 2006, 07:27 AM
  2. Monitoring exchange mailboxes
    By pickman in forum Windows
    Replies: 4
    Last Post: 10th February 2006, 09:06 PM
  3. What features would you like to see
    By Dos_Box in forum Windows Vista
    Replies: 9
    Last Post: 15th January 2006, 08:32 PM
  4. Bug/Feature Requests
    By russdev in forum General EduGeek News/Announcements
    Replies: 0
    Last Post: 15th January 2006, 08:59 AM
  5. Nice Dell Optiplex feature
    By Dos_Box in forum Hardware
    Replies: 8
    Last Post: 18th November 2005, 12:08 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •