PowerShell

List mailboxes with Full Mailbox Access permission assigned

In “HOW TO: Grant Full Mailbox Access permission“, we saw how to assign and view mailbox permissions, including Full Access. Here’s how you can get a list of mailboxes with explicitly-assigned (i.e. not inherited) Full Access permissions. You can specify a single mailbox and retrieve the permissions assigned on it by using the Get-MailboxPermission cmdlet. […]

More →

Renew self-signed certificates in Exchange 2010 and Exchange 2007

In Exchange 2007 and later, Exchange Setup creates a self-signed certificate to protect communication with Exchange services such as SMTP, IMAP, POP, OWA, EAS, EWS and UM. Exchange’s self-signed certificates meet an important need – securing communication paths for all Exchange services by default. The self-signed certificate meets an important need – securing communication paths […]

More →

Reader Tip: Redirecting shell output to the clipboard

Exchangepedia reader Guamaniac has an interesting tip in the comments on “Exchange 2007 Content Filter: The Whitelist Is Here!“: Get-ContentFilterConfig should give you a list of all the content filter settings on that particular Transport server. And I know this is the simplest of features in PowerShell, but I just love the fact that you […]

More →

Keeping tabs on Antispam filters: A few handy scripts in Exchange Server 2007

One of the more useful improvements in Exchange Server 2007 is the abundance of logging for different features and components (read previous post “Exchange Server 2007: How many logs hath thee?“). In particular, the antispam agent logs fill an important gap in monitoring, reporting and troubleshooting message flow as it relates to antispam agents (read […]

More →

Bulk mailbox creation revisited: Adding Active Directory attributes

The instructions in Exchange Server 2007: Bulk creation of mailboxes using Exchange Management Shell allow you to quickly create mailboxes in bulk using the New-Mailbox command. Continuing from where we left off in that post, another scenario is being able to add Active Directory attributes to the new user object created by New-Mailbox. Note, the […]

More →

Exchange shell: Using double quotes or single quotes in commands or scripts

Another frequently asked question about PowerShell/Exchange shell, and one that I myself had during the initial foray with the shell – what’s the difference between using double quotes and single quotes in a shell command or script? The biggest difference, and the only one I’m aware of, is the fact that using double quotes – […]

More →

Released: Windows PowerShell 2.0 CTP

For all those eagerly awaiting developments on the shell front, Microsoft has released a Community Technology Preview (CTP) of Windows PowerShell 2.0. PowerShell 2.0 boasts some interesting (many frequently requested) features, including:– remoting (ability to execute commands on remote computers)– “a very early alpha version” of the Graphical PowerShell utility– background PowerShell jobs that run […]

More →

HOW TO: Hide Distribution Group membership

Exchange Server 2003’s extensions for Active Directory Users & Computers console made hiding a Distribution Group’s membership a trivial task, accomplished by right-clicking a group, selecting Exchange Tasks and selecting Hide Membership. Figure 1: The Exchange Tasks wizard in ADUC provides an option to hide Distribution Group membership in Exchange Server 2003 As the task […]

More →

Managed Folders: How to apply different Managed Content Settings to Default Folders

Exchange Server 2007’s Managed Folders come in two flavors: 1) Managed Default Folders 2) Managed Custom Folders. Default folders are the ones created by default in user mailboxes, such as Inbox, Sent Items, and Deleted Items. Custom Folders are the result of a much-requested feature by Exchange folks over the years: Can I create a […]

More →

Exchange Server 2007: How to get a list of Exchange ActiveSync users

Getting a list of actual Exchange ActiveSync (EAS) users was not an easy task with Exchange Server 2003, and certainly not one that could be accomplished in a hurry. Yes, it indeed is a one-liner shell command with Exchange Server 2007: Get-CASMailbox | where {$_.HasActiveSyncDevicePartnership} | select Name 10/7/2008:Here’s an updated version, which uses the […]

More →