Monthly Archives: June 2010

Update fix to moving PST files

I wanted to automate the process of pushing this checkbox for all users who has a “OutlookArchive” Folder. The unforeseen error on my part was this: I had the quest tool create all the archives on \\server\home\myadmin folder, then i … Continue reading

Posted in Migration | Leave a comment

Scripts to grant FullAccess, SendAs, and SendOnBehalf Permissions

I have been getting requests to grant FullAccess (and other) permissions to a list of users to a Shared Mailbox, so I came up with some scripts. This is FullAccess.ps1 import-csv .\people.csv | foreach { $user = “ad\”+$_.people Add-MailboxPermission -Identity … Continue reading

Posted in PowerShell | Leave a comment

Powershell to move pst files

I have been using a tool from Quest (GroupWise Migrator for Exchange) to migrate 7,500+ users/resources into Exchange 2007. Part of the migration takes all of the offline archives in Groupwise (stored in the home folder of users) and converts … Continue reading

Posted in PowerShell | Leave a comment

Set Inheritable Permissions on user accounts

This script (I put in a pdf format, click here set-inheritance ) I put on a temp folder on a admin machines, and ran it. I called it set-inheritance.vbs Note the line: strOU = “OU=TestOU,” All the users in this ou have … Continue reading

Posted in Active Directory, Exchange, VBScript | Leave a comment

Powershell Exchange Commands

I am doing a migration from GroupWise to Exchange, here are some helper powershell commands I used to modify mail enabled and mailbox enabled users. 1. RemoveBADAddressesOnMBXusers.ps1 code: foreach($mbx in Get-Mailbox -Resultsize unlimited){ $newaddrs = $mbx.EmailAddresses |? {$_ -notlike “gwise:UHD*”} … Continue reading

Posted in Exchange, PowerShell | Leave a comment

PowerShell set the manager on users

I came up with the idea that if we set the “manager” on a user in AD, the users can look at resources, and see who the owner is. The manager seems like a natural attribute to look at….. In … Continue reading

Posted in Active Directory, PowerShell | 1 Comment