<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2523 " id="quads-ad2523" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p>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.</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2530 " id="quads-ad2530" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2522 " id="quads-ad2522" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2528 " id="quads-ad2528" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<p>I created a simple PowerShell script that does the work for you</p>



<p><strong>#Get all mailbox Exchange Servers IP address remotely</strong></p>



<p><strong>#Import Exchange Management Shell if ran from PowerShell</strong></p>



<p>Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2524 " id="quads-ad2524" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<p><strong># Find Mailbox Server Roles</strong></p>



<p>$Servers = Get-ExchangeServer | Where-Object {$_.Serverrole -eq “mailbox”}</p>



<p><strong># Print Servername and IP</strong></p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2525 " id="quads-ad2525" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<p>foreach ($Server in $Servers) {Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE -ComputerName $Server | Select-Object -Property IPAddress,PsComputerName,Name}</p>



<figure class="wp-block-image"><a href="http://www.google.com/url?q=http%3A%2F%2Fmoh10ly.website%2Fwp-content%2Fuploads%2F2018%2F03%2Fimage.png&;sa=D&;sntz=1&;usg=AFQjCNFLAO4Grz8nOzTZ7P3i8KjhQ7zh-g" target="_blank" rel="noreferrer noopener"><img src="https://lh3.googleusercontent.com/qwIMXAlC0n6jzi26NXSSoB-mscXaRQPtyjfdaObQj72jkQmXsHrD5BktIouXEgjDG6upYYCjw6P9lOphrnUsJgRjdJhQ0coEsISwSDj5u0yxj5UFumE=w874" alt="image"/></a> 

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2527 " id="quads-ad2527" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>
 
</figure>
</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2526 " id="quads-ad2526" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>


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…