The Network Administrator

The weblog of an IT pro specializing in virtualization, storage, servers and networking
  • rss
  • Home
  • About
  • Downloads
  • Contact

Exchange Server 2010– set user Out of Office status from PowerShell

MWahl | June 21, 2011 | 5:58 pm

To get current user status

PS] C:>Get-MailboxAutoReplyConfiguration Joe.blow

To disable out of office for a user

[PS] C:>Set-MailboxAutoReplyConfiguration joe.blow -AutoReplyState Disabled

Comments
Comments Off
Categories
Microsoft Exchange
Comments rss Comments rss
Trackback Trackback

Exchange 2010 SP1 PowerShell

MWahl | February 12, 2011 | 9:12 am

I know that with the release of Service pack 1 for Exchange you may not need the PowerShell commands for permissions, here is a great reference.

 

http://technet.microsoft.com/en-us/library/bb310789.aspx

Comments
Comments Off
Categories
Microsoft Exchange
Comments rss Comments rss
Trackback Trackback

Using the Exchange 2010 SP1 Mailbox Export feature for Exports to PST files

MWahl | January 19, 2011 | 2:36 pm

With Exchange 2010, I remember writing an article on using the PowerShell commands to export a user mailbox to a pst file before SP1. After applying SP 1 to my Exchange 2010 server, these steps have again changed!

You need to use an account that’s a member of the organizational management groups, and have the “Mailbox Import Export” role assignment assigned to you or a role group you’re a member of.  You must specify a UNC path to a network share that the “Exchange Trusted Subsystem” group has read/write access to.

Step One
Create a share on a server, and grant Exchange Trusted Subsystem read/write permission. In this example I’m using “\\servernamehere\c$\ArchivedEmails”

 

Step Two
Next, you’ll need to grant a user, or group, the Mailbox Import Export role assignment. You can do this using the Exchange Management shell.

New-ManagementRoleAssignment –Role “Mailbox Import Export” –User DomainName\UserName, close and re-open the Exchange Management shell, and you’re ready to go!

Exporting a Mailbox
New-MailboxExportRequest command with the –Mailbox parameter, to specify the mailbox to export along with the –FilePath “\\ExchangeServerName\c$\ArchivedEmails\EmailAlias.pst”

Check the mailbox export progress

Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

Comments
Comments Off
Categories
Microsoft Exchange
Comments rss Comments rss
Trackback Trackback

I Can’t Remove a Delegated Mailbox From Outlook 2010

MWahl | December 17, 2010 | 9:28 pm

Head to your EMC (Exchange management shell) and fire off this command


Remove-MailboxPermission -Identity 'username' -User 'domain\username' -AccessRight FullAccess -InheritanceType All

Comments
Comments Off
Categories
Microsoft Exchange, Microsoft Office
Comments rss Comments rss
Trackback Trackback

Exchange 2010 Management Console Stops Working on a Workstation?

MWahl | November 26, 2010 | 9:50 pm

“Operation could not be completed because something changed in the remote forest.”

If you see this error, the most common cause is an Exchange rollout update http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a371fa96-e85b-4a4f-8242-15d56595d0ec&displaylang=en was installed on the workstation, but not yet installed on the server itself. Once this update is on the server and on the workstation you should be all set.

Comments
1 Comment »
Categories
Microsoft Exchange
Comments rss Comments rss
Trackback Trackback

Exchange 2010 SP1: Database Integrity checking

MWahl | November 9, 2010 | 1:41 pm

In Exchange 2010 SP1, ISInteg is no longer a standalone program.

The functionality provided by the ISInteg tool has been rolled into two new Exchange Management Shell cmdlets:

New-MailboxRepairRequest
New-PublicFolderDatabaseRepairRequest

These new ISInteg cmdlets come with some cool new functionality!
The cmdlets work with the database mounted. It’s no longer required to unmount the database to perform an integrity check or fix database errors.
You can repair logical corruption at the mailbox level.
You can fix corrupt search folders.
You can fix the Provisional Fid.
You can fix Aggregate Counts.

More info….

http://msexchangeteam.com/archive/2010/08/23/455899.aspx

Comments
Comments Off
Categories
Microsoft Exchange
Comments rss Comments rss
Trackback Trackback

Exchange 2010 PowerShell to sort user mailboxes by size

MWahl | September 27, 2010 | 9:51 pm

Open Your Exchange Management Shell and issue the script below


Get-MailboxStatistics -Server SERVERNAMEGOESHERE | Sort-Object -Property TotalItemSize | `
Format-Table DisplayName,TotalItemSize

Or descending


Get-MailboxStatistics -Server SERVERNAMEGOESHERE | Sort-Object -Property TotalItemSize -Descending | `
Format-Table DisplayName,TotalItemSize

Comments
1 Comment »
Categories
Microsoft Exchange, Scripts
Comments rss Comments rss
Trackback Trackback

Exchange 2010 Error error code: -2147221219 when running the Export-Mailbox Command

MWahl | April 3, 2010 | 9:53 am

While trying to Export a user mailboxes to pst file i am getting an error message. Also it fails with the Error “Error was found for username (UserNameEmailAddress) because: Error occurred in the step: Approving object. An unknown error has occurred., error code: -2147221219”.

***Updated***

***Must have Outlook 2010 64bit installed on the server.

It looks the work around for this was to logon to the exchange server as  administrator, launch the windows power shell modules as Administrator,

Then type Export-Mailbox –Identity EmailAlias@domainname  –PSTFolderPath C:\EmailAlias.pst

Comments
Comments Off
Categories
Microsoft Exchange
Comments rss Comments rss
Trackback Trackback

Microsoft Exchange 2010 Exfolders

MWahl | April 3, 2010 | 9:41 am

Goodbye PFDAVAdmin and hello Exfolders. I recently used this tool to recover a public folder that was deleted by an end user.

You can download the tool here:
http://msexchangeteam.com/files/12/attachments/entry453398.aspx

ExFolders must be run from an Exchange 2010 server – it cannot be run from a workstation as PFDAVAdmin could.

It can connect to Exchange 2010 or Exchange 2007, but not older versions.

Remove Item-Level Permissions is gone, because there are no item-level permissions in Exchange 2007 or 2010.
DACL fix functionality is gone.

There are also a few new features:

Folder property imports are now supported. You were able to do folder property exports with PFDAVAdmin, but not imports.

Item property exports are supported – that is, you can export a set of properties from all items in a folder. This feature request has come up again and again for troubleshooting purposes. Item property imports are not supported.

ExFolders supports the new free/busy permissions that were introduced in Exchange 2007 and Outlook 2007.

You can now connect to multiple mailbox stores at the same time, so you can run a batch operation against several mailbox stores or all mailboxes in the org if you need to.

http://msexchangeteam.com/archive/2009/12/04/453399.aspx

Comments
Comments Off
Categories
Microsoft Exchange
Comments rss Comments rss
Trackback Trackback

Exchange 2010 ActiveSync issue

MWahl | January 31, 2010 | 3:14 pm

So after we had Exchange 2010 installed, and verifying all activeSync settings were correct. I kept getting cannot connect to server when setting up ActiveSync on my iPhone…This is was solved the issue…

This issue occurs if the AD user object of the Exchange 2010 user doesn’t have “Allow inheritable permissions from the parent to propagate to this object and all child objects. Include these with entries explicitly defined here.”

Once this setting is checked, Exchange ActiveSync works again.

Comments
Comments Off
Categories
iPhone, Microsoft Exchange
Comments rss Comments rss
Trackback Trackback

« Previous Entries

some text

RSS Netcast

  • Increasing your AWS EC2 root partition (Windows) December 14, 2011
  • IIS SSL Certificate into Amazon Elastic Load Balancer December 7, 2011
  • Upgrade an Opsview Appliance August 13, 2011

Categories

  • Activesync (1)
  • Amazon EC2 (5)
  • Amazon S3 (2)
  • Antivirus (1)
  • Blackberry (9)
  • Blackberry Enterprise Server (1)
  • blogs (3)
  • Cisco (6)
  • Citrix Xenapp (2)
  • Databases (2)
  • HTC (1)
  • Internet Explorer (1)
  • iPhone (4)
  • Linux Server (18)
  • Linux tools (11)
  • Microsoft Apps (2)
  • Microsoft Exchange (12)
  • Microsoft Office (1)
  • Microsoft Sharepoint Services (1)
  • Microsoft SQL Server (3)
  • Monitoring (2)
  • MS IIS 6 (1)
  • MYSQL (1)
  • NetCast (3)
  • Networking (19)
  • OpsView/Nagios (1)
  • Photos (1)
  • RAID (1)
  • Scripts (4)
  • Secure FTP (1)
  • Security (10)
  • Smart Phones (1)
  • Tech Preview (8)
  • Uncategorized (40)
  • Virtual Servers (4)
  • Web Browsers (2)
  • Web Server load balancing (1)
  • Web Servers (9)
  • Windows Desktops (17)
  • Windows Server (24)
  • Windows tools (23)
  • WordPress (1)

Recent Posts

  • Increasing your AWS EC2 root partition (Windows)
  • IIS SSL Certificate into Amazon Elastic Load Balancer
  • Upgrade an Opsview Appliance
  • AppAssure Replay First Impressions
  • Linux Boot Process

Archives

Blogroll

  • IT Pro Security Community
  • Jeff Stevenson
  • kevin devin
  • lopsa lopsa
  • MWahl social.microsoft.com
  • Network Security
  • Petri
  • SVROPS
  • Technology blog from bbc
  • technology review
  • THE WAN LAN LORD
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox