This can be used to find/delete one email or thousands of emails. Again, the below came in handy to zap away the offending emails. Using Search-Mailbox to search emails Introducing… the Search-Mailbox cmdlet. This can search for specified criteria and will copy the results to a destination mailbox. First off though, we have to tell Search-Mailbox which [...]
EMS 2010 commands: Get-DistributionGroup –ID “DistributionGroupName” | Set-DistributionGroup –ForceUpdate To “upgrade” all Distribution Groups within an Organization, the following command will do the trick: Get-DistributionGroup –ResultSize Unlimited | Set-DistributionGroup –ForceUpdate I have heard heard reports of substituting -ForceUpdate for -ForceUpgrade working as well.
Requirements: – VMware vSphere PowerCLI – VMware Virtual Center 4.0 + Command: Connect-VIServer <virtual center name or IP>
Download script here Required: – Powershell 2.0 – CSV file with the first 3 cell names dictated by what you put in $emailaddress, $fileLocation, & $name. (In that order) PS1 Script: #CSV SETTINGS #This is the location of the CSV file
Done with: PowerShell 2.0 Visio 2010 Standard/Premium OnTap 7.3/8.0 Download the NetApp Vision Stencils and extract them to your “C:\Users\<User name>\My Documents\My Shapes” directory. Then install the NetApp OnTap PS Toolkit from the now.netapp.com site (you will need a customer login although it is free). You will need to import the module by typing “Import-Module [...]
Exchange 07 Microsoft’s documentation shows that when you “Disable” a mailbox it will automatically be placed in the “Disconnected Mailbox” area. That is usually not the case and the GUI doesn’t provide much assistance on refreshing it. In Exchange 03 we used to run the the Mailbox cleanup agent to show the mailboxes as disconnected. [...]
DNs can be found in AD Explorer. Script: $root=[adsi]“” $rootdn=$root.distinguishedName $group=[adsi](“LDAP://<Group DN>”) $group.add(“LDAP://<User DN>”)
Attr Used (not in any order): Description displayName homeDirectory homeDrive givenName Mail sAMAccountName sn scriptPath userPrincipalName
Unfortunately with Exchange 07, there is no longer a GUI to add/remove user permissions to Public Folders. Luckily though, you can dip your hands into some more Powershell! (EMS version, of course) Adding permissions Add-PublicFolderClientPermission -Identity \<Name_of_folder> -AccessRights <Permission_Assigning> -User <User_Name> To remove any permissions added just replace “Add” with “Remove” at the beginning of [...]
Finally, a simple way to export mailbox information other then the horrible Exmerge! Unfortunately though you do need a completely separate Server 2008 with Outlook and Exchange tools installed.