Sometimes while we do Exchange projects in big environments where there more than 10 or 15 servers we need to quickly get a particular server’s hostname or IP.
I created a simple PowerShell script that does the work for you
#Get all mailbox Exchange Servers IP address remotely
#Import Exchange Management Shell if ran from PowerShell
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
# Find Mailbox Server Roles
$Servers = Get-ExchangeServer | Where-Object {$_.Serverrole -eq “mailbox”}
# Print Servername and IP
foreach ($Server in $Servers) {Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE -ComputerName $Server | Select-Object -Property IPAddress,PsComputerName,Name}
Reset and manage your Active Directory users' Passwords Active Directory is one of the most…
Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…
If you're using a Proxy server in your firewall or in your network and have…
Story:I got some clients that have reported some of their users being locked out and…
Delegate Permissions This is a code that I have wrote recently to check if an…
Story: I got a request from a client who constantly gets CVs and have to…