Creating Dynamic Distribution Groups in Exchange with Powershell

1 Jul

DDG’s can be pretty useful, as members can be dynamically selected based on AD information, ‘Office’ for example: New-DynamicDistributionGroup -Name “Office London” -RecipientFilter {(RecipientType -eq ‘UserMailbox’) -and (Office -eq ‘London’)} or New-DynamicDistributionGroup -Name “Office London” -OrganizationalUnit domain.local/Users -RecipientFilter { ((RecipientType … Read More »

SQL Script to show available space for all Databases

22 May

Quick little script to return the space available on all databases. I linked this into PRTG Network Monitor to make sure that none of them were too low. –/////////////////////////////////////////////////////////////////////////////////////////// –////////////////////// Filespace Used and Free ////////////////////////////////////////// IF (OBJECT_ID(‘tempdb..#tmpDbSpace’) IS NOT NULL) DROP TABLE … Read More »