Just a quick one today, use the following two lines of Powershell / PowerCLI to add full email alerting to VMware Vcenter
Month: April 2018
Exchange Powershell Mailbox Search
Recently i had to delete some emails from a few user mailboxes. Now i had the choice i could either log in to each mailbox and delete the emails manually or use the Exchange Management Shell. Now i had in excess of 100 mailboxes to process so i chose to use the exchange shell to remove the emails
The syntax for the exchange management shell is as follows:
Search-Mailbox -Identity “username or alias” -SearchQuery ‘Subject:” Your query “‘ -DeleteContent
This is good for one mailbox however this is still Powershell so i can pipe the output of Get-Mailbox as follows to check and delete from every mailbox
Get-Mailbox -ResultSize unlimited | Search-Mailbox -SearchQuery ‘Subject:”Your query”‘ –DeleteContent
As a additional note you can use the following additional syntax to make copies of the mail found by the search
-TargetMailbox “Search Mailbox Name” -TargetFolder “Your Target folder”
BIND Configure DNS to return the same IP Address for all hostnames
So today I’ve been asked to provide a POC for a 3CX Phone System installation at a small site of 5-10 users. As part of this installation i was asked if i could re-use some old CISCO 7941 IP Phones. These phones are only partially supported by the 3CX system and required some DNS trickery to get there NTP working as the client no longer had a CISCO support contact to download the correct firmware files.
Continue reading BIND Configure DNS to return the same IP Address for all hostnames
Sophos Server Migration
Yesterday i was tasked with migrating a Sophos Enterprise Console Management Server to a new machine.