Skip to content

Exchange 2013 grant all privileges on a mailbox

The following command will grant all privileges to all mailboxes to a group, if you only need to grant privileges to one user, replace GROUPNAME with the user in which you need privileges.

The group will need to be an exchange security distribution group – usually, if you need to just hide the group from the exchange address list.

get-mailbox -identity * | Add-MailboxPermission -User GROUPNAME -AccessRights fullaccess -InheritanceType all -Automapping $false

Posted in Uncategorized.

Delete Mailboxes Exchange 2013 (without deleting the users AD account)

Deleting a user in the Exchange 2013 Control Panel also removes the users AD account, unfortunately there’s no real easy way to remove just the mailbox, and delete it from the exchange database. Those of us that remember Exchange 2003, remember being able to remove the exchange attributes to achieve the same result.

It is possible to remove the mailbox off the user by first “disconnecting” the mailbox either through ECP or via powershell (for example remove mailboxes from an entire OU Get-Mailbox -OrganizationalUnit “Sales” | Disable-Mailbox -confirm:$false)

Then to remove the disconnected mailboxes immediately find your Exchange DB name (Get-MailboxDatabase), then the following command will query the database and find all disconnected mailboxes, and remove them permanently without prompting.
Get-MailboxStatistics -Database “Mailbox Database 1” | where {$_.disconnectdate -ne $null} | select displayname,MailboxGUID | foreach {Remove-Mailbox -Database “Mailbox Database 0848471379” -StoreMailboxIdentity $_.MailboxGuid -confirm:$false}

Posted in Exchange 2013.

Tagged with .

Exchange 2013 Allow SMTP Relay

The following power shell snippits will create a new relay connector named “AllowRelay”, and will allow anonymous relaying from, you want to modify  the rempote IP ranges for your network. Keep in mind you’ll want to make sure that you don’t add your exchange server within the remote IP ranges.

Once the relay connector has been setup you can modify the remote ip rages within the Exchange Control Panel.

New-ReceiveConnector -Name AllowRelay -Usage Custom -Bindings -RemoteIPRanges -AuthMechanism TLS,ExternalAuthoritative -PermissionGroups AnonymousUsers,ExchangeServers -TransportRole FrontendTransport

ReceiveConnector “AllowRelay” | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “Ms-Exch-SMTP-Accept-Any-Recipient”

Get-ReceiveConnector -Identity “AllowRelay” | Set-ReceiveConnector -TarpitInterval 00:00:00 -ConnectionTimeout 00:30:00 -ConnectionInactivityTimeout 00:20:00 -MaxAcknowledgementDelay 00:00:00 -MaxInboundConnection 10000 -MaxInboundConnectionPercentagePerSource 100 -MaxInboundConnectionPerSource unlimited

Posted in Exchange 2013.

Tagged with , , .

Cisco OSPF filter out default route

Sometimes its necessary to filter out the default route on a CPE device that’s participating in OSPF – it’s easily filtered out by:

First create a prefix list – that allows everything but
ip prefix-list AllowedOSPFRoutes seq 5 deny
ip prefix-list AllowedOSPFRoutes seq 10 permit le 32

Then apply the prefix list to your OSPF process:
ip ospf 1
distribute-list prefix AllowedOSPFRoutes in



Posted in Cisco, Routers.

Tagged with , .

Exchange 2013 Set OWA to use UPN

To remove the domain\username on the OWA website and use the email address/UPN run the following in powershell:

Set-OwaVirtualDirectory “owa (Default Web Site)” -LogonFormat PrincipalName

Then Restart IIS.

Posted in Exchange 2013.

Tagged with , , .

Cisco 877G 3G Failover Config with IPSEC

Here is a basic quick and dirty 3G failover from ADSL to a IPSEC over 3G connection.


Posted in Uncategorized.

Vyatta IPSEC Cisco DHCP/NAT’d Endpoints

Recently, I needed to setup IPSEC in our main site with a  static IP on our Vyatta router and provide IPSEC connectivity back to our office from Cisco 877G 3G routers using Telstra NextG Prepaid.

I had a fun time getting IPSEC to work behind the NATted IP addresses that Telstra NextG prepaid gives you, however I have got it working with the following Vyatta Config.


Posted in Uncategorized.

How long did this take to find…

For years Keith and myself have been using shares and other methods to shunt files around during a Terminal Services session… little did we know you could just cut and paste from the local machine to the remote session.

Note however that this only only supported (officially) in RDC version 6 onwards.

Posted in Uncategorized.

Veeam FastSCP and x64 Windows

A common error received when trying to create folders on data in FastSCP under an x64 version of windows is:

Retrieving the COM class factory for component with CLSID [5F1555F0-0DBB-47F6-B10B-0AB0E1C1D8CE} failed due to the following error: 800700c1

Due the the way the COM module are coded, thankfully there is any easy fix:

1) Download the .NET 3.5 SP1 SDK Here
2) Do a custom install and select only the Developer Tools
3) Run the following commands in an elevated prompt:

CD C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\x64

CorFlags.exe "c:\Program Files (x86)\Veeam\Veeam Backup and FastSCP\VeeamShell.exe" /32BIT+

This will then allow you to use the program as normal.

Posted in Virtualization.

IBM IMM Default Username and Password



The password is definitely case sensitive…. please note its a zero instead of the letter O.

Posted in System X Servers.

Tagged with .