modifying mapirecipient with powershell
I would like to set the mapirecipient field from $True to $False for a contacts in Active Directory ( These are contacts and are not mail enabled) by loading the Exchange shell I can get the...
View ArticleWant to delete (60) Disconnected mailboxes in 2010
We have moved over 60 mailboxes in exchange 2010 to another mailbox database. The original mailboxdatabase now has over 60 disconnected mailboxes. We want to delete the mailboxes now and not wait for...
View ArticleMail enable users from csv and log
Here is what I know:I have a csv export from groupwise (attached here but only containing an example user)I have to mail enable thousands of users in exchange 2013 CU2 and the AD objects exist:1....
View ArticlePull MsolAccountSku info from office365
Hi,I'm trying to pull information from office365 about licence which are available. $a = Get-MsolAccountSku;$licene = @();$count=1;foreach ( $aa in $a ){ $t = ($aa.ActiveUnits -...
View ArticleGet the MailBoxes Details of all the exchange servers based on localSiteName
Hi All,I have Local site name. Based on I have to fetch all exchange server names and then iterate through all these exchange servers and get the following details from all the mailboxes available in...
View Articleadd access for a user to other mailbox, but check first if the user already...
HiI have a script that traverses all mailboxes and give a specified user [User1] access to all. I run the script whenever new users are added.But I want the script to check if [User1] already is...
View ArticleNot reading variable properly when script run from the shell.
Hello,I think this is probably something I'm doing incorrectly.I'm doing a simple script to send an email with the Net.Mail.MailMessage class. This is because with that it's easy for me to construct...
View ArticleExporting Mailbox Permissions
Hi all,In our Exchange 2007 environment, I have this Powershell script which outputs mailboxes, which users have access to them and the type of access, such as Full Access, Delete Items etc. into a...
View ArticleOutlook Client Side changes
Scenario: CutOver Migration to Office365I have 50 users, their outlook client is currently configured to local on-premise server with manual settings.We are planning to move to office365 using Cutover...
View ArticleCalendarProcessing
Ho can I list all the users list in my org whoes ProcessExternalMeetingMessages is set to $true. Individualy I taking using the below command. But I need to find whoes values allready set to...
View ArticleAn issue regarding time zones of Date and Time values retrieved from Exchange...
Hello folks,I need your help as I'm pretty new in MS Exchange and Power Shell technologies.So here is my question...How can I retrieve Date and Time values listed below in UTC using Exchange Power...
View Articlemoving old email
Hi, I have an issue that I need help.I have email mailbox with thousand of messages in "INBOX" folder, I need to reduce this number.I need a script that move all email to sub-folder and will leave only...
View ArticleScript to get mailbox size for users by department
I need assistant getting mailbox size for a group of users that belong to a specific department. Does anyone know how to use the Department field as a parameter in a script. Ideally I would like to...
View Articleprogress bar/ group of aliases
I wrote a script that imports a list of user alias' s, each alias then runs through the pipe and begins a new mailbox move to a specific server and database. What I want is a script that queries just...
View ArticleAppending to a Displayname in Exchange 2007
I am trying to append ***Disabled*** to 387 user's Displayname using the import-csv command. The csv contains Displayname, Alias. Any idea on how i can script this so i don't have to do it individually?
View ArticleExporting Distribution Group Members
I am trying to run the following script but it gives me a message about Input being NULL. What am I missing? $report=foreach($i in Get-DistributionGroup | where {$_.Name -like '*equity*'}) {...
View ArticleSending each item of array as new line.
I want to send each item in that array as new line:$str = Get-Service -DisplayName Windows* | foreach {$_.DisplayName} | Out-Stringif I run that script:$str = Get-Service -DisplayName Windows* |...
View ArticleConneting to Exchange 2010 from win7(different domain)
Hello All,Client: Win 7 EnterpriseClient Domain:ds.swin.edu.auHost server: Windows 2008 R2 EnterpriseSever domain: ex.swin.edu.auExchange: 2010How do I connect to Exchange 2010 with powershell...
View ArticleHelp with automation of email address policy PS script
I have a need to pull information from a file and automate the process of adding Email Address PoliciesI am trying to run a script but I'm hitting dead endsThe first part of the script need to launch...
View ArticleImport multiple PST files to archive database
I need to create some script for import pst users archives to EXCHANGE 2010 sp1 database.Mail archives stored on single file server \\FILE-SERVER\PST\%Username%\An amount and name of files is different...
View Article