2
votes
2answers
123 views

How can I set an arbitrary (non default) attribute for an AD user or AD Contact?

I have AD Users, or contacts that are not Exchange Mailbox users, or contacts. I also have a SSO system (Ping Identity... technology similar to Microsoft ADFS), where it leverages the AD Schema ...
2
votes
2answers
83 views

How do I combine two Powershell outputs so that command #2 is run on each output?

I want to combine the commands Get-user and get-casmailbox so that I can get the "Company" from the first output, and the "ActiveSyncStatus" in the latter into a single output. I also understand that ...
3
votes
1answer
68 views

Configure Exchange to ignore requests for read receipts on certain mailbox

We have an Exchange (2010) mailbox that is automatically monitored by a windows service, this service connects to the mailbox periodically using Exchange Web Services 1.1 and imports the emails into ...
0
votes
1answer
41 views

MailboxExportRequest ContentFilter is “Received -ne $null” when querying by date

I am trying to export a mailbox to a PST. All email that was received before yesterday is what I am trying to export. $y = ((get-date).addDays(-1)).ToShortDateString() $exportRequest = ...
0
votes
1answer
54 views

clean-mailboxdatabase error : unable to sync mailboxes with DS

Trying to run a script to clean exchange databases. When i run the clean-mailboxdatabase cmd-let I'm getting the following error: Exchange is unable to clean the database that you specified...Unable ...
0
votes
0answers
37 views

Exchange 2010 Blocking Twitter

I am responsible for a windows network with an Exchange 2010 server. It appears that we haven't been receiving twitter emails for quite sometime, maybe even as far back as just before ...
1
vote
1answer
92 views

How to speed up applying impersonation rights changes?

I often add impersonation rights on various Windows Servers running Exchange Servers (2010, 2013) using PowerShell (New-ManagementRoleAssignment –Name:impersonationAssignmentName ...
0
votes
1answer
299 views

Managing inherited mailbox permissions in Exchange 2007

Reviewing the Full Access permissions on a mailbox using Exchange Management Console (EMC) does not show you the whole picture. Example - EMC shows no permissions for the account Domain\administrator ...
3
votes
2answers
491 views

Remove all recurring meetings scheduled by terminated user

I am looking for a way to efficiently and effectively remove all meetings that a terminated user may have created during their tenure. Currently, our group has to grant admin access to the user's ...
2
votes
1answer
91 views

How do I install Microsoft Exchange 2013 with Microsoft Powershell DSC?

We are working on a new build procedure. As a proof of concept, I wanted to install an Exchange 2013 server with CAS and Hub roles. I cannot find documentation on just how to do that. Has anyone ...
0
votes
1answer
158 views

How to export Exchange public folder permissions and import them to a different system?

I'm involved in a migration from Exchange 2010 to Office 365 (Exchange 2013); all user mailboxes have already been successfully migrated, but due to some glitch or bug that even Microsoft's support ...
4
votes
2answers
348 views

How to remove the SMTP address for a secondary domain from all Exchange mailboxes?

I have an Exchange server which used to manage multiple SMTP domains; now it only has to manage one. I have already removed the secondary domain from all address policies; I need to remove all SMTP ...
5
votes
1answer
826 views

Script to remove Exchange 2010 AutoMapping for all mailboxes

I have an Exchange 2010 SP3 server that's getting Application event error 9646 from MSExchangeIS: Mapi session [ID] [AD User] exceeded the maximum of 500 objects of type "objtFolder" Looking into ...
0
votes
1answer
47 views

By default, does an Exchange user have the ability to Export the mailbox?

One of our contractors said that by default, it was possible for anyone to connect to the powershell instance of a CAS server and do an Export-mailbox (or similar command) Can anyone tell me if this ...
0
votes
1answer
1k views

Using Powershell to Create Exchange Contacts from a .CSV file

What I would like to do is use a Powershell script to create Contacts within a certain folder in Active Directory from a .csv file. This script should allow me to create the first part of an email ...
2
votes
2answers
69 views

Microsoft Exchange Management console, Initilization Failed

Upon starting Exchange Management Console I am presented with the error [###################] Connecting to remote server failed with the following error message : The WinRM client sent a request to ...
3
votes
1answer
81 views

Why are Exchange 2010 cmdlets ignoring ErrorVariable?

I'm trying to run Exchange 2010 cmdlets such as this one: Get-Mailbox UserName -ErrorVariable err However, the cmdlets seem to completely ignore the -ErrorVariable parameter: the variable $err is ...
0
votes
0answers
183 views

Error installing Exchange Server 2010. Failed on Hub Transport Role

I am currently installing MS Exchange 2010 on Windows 2008 R2. Everything is going well until the installation was on "Hub Transport Role". Here is a more detailed description of the error. ...
0
votes
1answer
111 views

How to get the outlook folders size with PowerShell from Windows 8

I need to retrieve the size (in MB) of all folders of my mailbox(including sub-folders) with PowerShell (like the Outlook feature: Data File Proerties/Folder Size). Is there a way to do that from my ...
1
vote
1answer
312 views

Exchange OWA 2010 signature policy

I have an Exchange 2010 environment. For Outlook (desktop version) we have a script setup in Group Policy to push out standardized signatures across the organization. I want to do the same for OWA, ...
1
vote
2answers
2k views

How to rename bunch of users' DisplayNames using Powershell in Exchange 2010?

I have bunch of users which DisplayNames I changed mistakenly to some string (for example: xyz) But there is one field called Name which has FirstName and Lastname. What I want is take all users who ...
0
votes
1answer
481 views

Get Undeliverable Email Addresses Using Powershell

Exchange Server 2010 I am trying to use Powershell to get the email addresses that were returned as Undeliverable. I've tried a bunch of Powershell commands, but I always get the ...
0
votes
1answer
153 views

Powershell script to bulk import PSTs into mailboxes based on primary smtp address

I have about 30 PST files which I need to import into mailboxes in Exchange 2010. They are all named by the first part of the email address. For example with johnsmith@domain.com, that PST would be ...
2
votes
1answer
979 views

Give AD Security Group Exchange Full Access Permission

My company is running Exchange 2007. From time to time, we need to open a user's Mailbox to to various tasks. Until now, we've been logging is as them and using Outlook directly. I'd like to give Full ...
1
vote
2answers
415 views

Exchange 2010 - Mailbox Export much larger than actual size

I issue this command to export the mailbox of a user: New-MailboxExportRequest -Mailbox "user" -FilePath "\\server\share\user.pst" After 2 minutes or so, this file have been generated: Notice the ...
0
votes
1answer
141 views

Are there any Graphical PowerShell tools? [closed]

As a developer for the .NET platform, I like to "explore" a platform, framework or API by browsing through the API documentation which explains what everything is - everything is covered and when I ...
2
votes
1answer
2k views

Powershell script to delete secondary SMTP addresses of Exchange 2010 Mail Contacts

I have a few thousand Exchange 2010 Mail Contacts who get erroneously assigned internal SMTP addresses by the default recipient policy. I'm trying to use the following command to delete these ...
1
vote
2answers
3k views

Exchange - get age range of items using Powershell

We are going to be implementing personal archives for Exchange in our organization. For us to get a good grasp on how much space is needed, we need to get an idea of the age of items that we ...
2
votes
1answer
362 views

Powershell Script to help archive company email

I am attempting to use powershell to gather emails that pertain to a certain subject, so that these correspondences might be turned over to a legal department. I am having a couple of issues here that ...
2
votes
2answers
528 views

Exchange PowerShell in a Scheduled Task runs forever

I have a couple of Exchange 2010 PowerShell scripts that I'd like to run as Scheduled Tasks. If I launch PowerShell using "Run as different user" I can run the scripts and they execute correctly. If ...
1
vote
2answers
532 views

New-MoveRequest - How to assign -TargetDatabase dynamically

I am in progress to migrate (approximately) 5000 mail-objects and I need a way /script /command that will allow me to utilize the New-MoveRequest CMD-Let in combination with the possibility to ...
2
votes
1answer
798 views

Exchange 2007 Mailbox Cleanup - Exporting Mailboxes Script

I have been assigned a task to cleanup our Exchange server by exporting the mailboxes of users who have left the company. We want to keep a copy of the mailbox for 90 days, just in case HR or ...
0
votes
1answer
77 views

EMC/Exchange Powershell not running as administrator or without correct privs

I have an AD/Exchange 2010 setup that usually works pretty well. However, after installing Outlook 2010 on the server and choosing to "remember the password" for a user who is not an administrator, ...
2
votes
1answer
953 views

Removing many Exchange full access permissions on a mailbox

I'm trying to use Powershell to remove certain full access permissions on an account as part of a disable user process. I need to remove all full access permissions on the account except for: NT ...
2
votes
2answers
1k views

Powershell Command to Export Sent Items Count in Exchange 2010

I'm looking to get a count of all sent items for each user in our organization. We are doing an audit of all users to find out which culprit has been sending out tons of emails, so this is why I'm ...
1
vote
1answer
249 views

Exchange 2010 Cmdlets for Sent Items in a Distribution group

Here is the scenario that I am in and am stuck on how to get this the correct way. What I'm looking for is a syntax that will provide me with statistics on what users have emailed "Sent" for the day. ...
2
votes
1answer
791 views

Exchange 2010 powershell - select custom attributes

How do I select the custom attribute from the Exchange powershell command get-mailboxstatistics? I would have expected to use something along the lines of get-mailboxstatistics -server dbserver | ...
1
vote
2answers
3k views

Exchange 2007 - How to use export-mailbox function?

I am trying to use the Export-Mailbox cmdlet to export a mailbox to PST file but i get an error that i'm running on a 64bit machine and must use a 32 bit etc etc.. I have a Windows 7 Pro 32bit PC ...
1
vote
1answer
757 views

Powershell: undelete messages removed by recipient policy

A specific recipient policy was mistakenly applied to all mailboxes in our company. I have changed the recipient policy to the correct one. I now need to restore (from delete items) all messages that ...
0
votes
2answers
3k views

Automatic alert/notification of calendar items added to Public Folders

We currently use Public Folders with Exchange 2010. We have a series of shared calendars throughout the organization. Some of the items posted require us to set up devices (video conferencing for ...
1
vote
1answer
1k views

Exchange Powershell - how to create alias as first initial last name?

I have a script that I downloaded off of Technet. Problem is that it creates the alias as: -Alias ($_.FirstName + ($_.LastName).ToUpper()) where $_.Firstname is the -FirstName field and ...
1
vote
1answer
2k views

what is the meaning of the parameter -mailboxcredential?

I am writing regarding the Exchange powershell commands. When I want to use following cmdlets, I have to insert parameter -mailboxcredential Test-OwaConnectivity Test-OutlookWebServices ...
3
votes
1answer
2k views

Using Powershell to archive mailboxes before certain date

We have a separate archiving appliance that archives messages as they come in using a journal account. Before this I would have to manually archive each mailbox to a PST file and then store the file ...
2
votes
2answers
2k views

Exchange 2010 Powershell filter SMTP domain

How do I filter out only the SMTP address? I want to report only on users with domain name @mydomain.com. All other domain names would be excluded. I'm attempting to run a report that would exclude ...
2
votes
3answers
8k views

Exchange 2010 Powershell command to check if an email address exists in the system

I'm looking for an Exchange 2010 command that would do the following: Given an email address (fully-qualified with domain and all) check if the email address is associated to some mailbox or group ...
1
vote
0answers
632 views

Exchange 2003 Strip Email Attachments save to User file

I'm currently using this vba script (locally on client) to strip email attachments from user's folder to and move to user document folder and then replace with a pointer in the email to reference the ...
1
vote
1answer
339 views

Cannot change default OU for new Distribution Groups in Exchange 2010

I'm trying to use the following command to set the default OU for new distribution groups in Exchange 2010: Set-OrganizationConfig -DistributioNGroupDefaultOU 'corp.company.com/Employees/MailingList' ...
0
votes
1answer
227 views

Migrating mailboxes from EXCH 2007 to EXCH 2010 based on message class

Is it possible through a powershell command to migrate mailboxes with the option of ignoring particular message classes, or even better, is there an option to ignore specific ones (ie. Inbox IPM.Note) ...
0
votes
1answer
306 views

Query Exchange 2007 remotely for a user(s) mailbox size, and quota

Currently I'm using this powershell command on the server in the Exchange Management Shell: Get-MailboxStatistics username | where {$_.ObjectClass –eq “Mailbox”} | Sort-Object TotalItemSize ...
5
votes
3answers
1k views

PowerShell script to find meeting requests in Exchange mailbox and accept them

Is it possible to create a PowerShell script that will go into a mailbox (specifically for a meeting room), find all it's meeting requests and accept them? We've implemented a new mechanism in our ...