<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exchange Server Archives - the Sysadmin Channel</title>
	<atom:link href="https://thesysadminchannel.com/exchange-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/exchange-server/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Sat, 25 Jun 2022 03:31:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">144174110</site>	<item>
		<title>Restart Exchange Services with PowerShell</title>
		<link>https://thesysadminchannel.com/restart-exchange-services-with-powershell/</link>
					<comments>https://thesysadminchannel.com/restart-exchange-services-with-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Sat, 25 Jun 2022 03:31:55 +0000</pubDate>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[restart Exchange services]]></category>
		<category><![CDATA[Restart Exchange Services with PowerShell]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=4171</guid>

					<description><![CDATA[<p>If you&#8217;re hosting Microsoft Exchange server on-premises, you&#8217;ve probably realized that it is pretty critical to ensure those services are up and running. In the event that some services are not running, it&#8217;s always good to know how to restart&#8230; <a href="https://thesysadminchannel.com/restart-exchange-services-with-powershell/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/restart-exchange-services-with-powershell/">Restart Exchange Services with PowerShell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;re hosting Microsoft Exchange server on-premises, you&#8217;ve probably realized that it is pretty critical to ensure those services are up and running.  In the event that some services are not running, it&#8217;s always good to know how to <strong>restart Exchange services with Powershell</strong>.<br />
&nsbp;</p>
<p>Knowing how to restart Exchange services can also be of use when you want to automate the starting of services when it goes down.  The monitoring system you have in place should be able to detect that, and hopefully remediate it automatically so you&#8217;re not wasting cycles using manual intervention.</p>
<div id="tableofcontents">
<h2>Table Of Contents</h2>
<ul>
<li><a href="#requirements">Requirements</a></li>
<li><a href="#getservicemethods">Get Exchange Service Details</a></li>
<ul>
<li><a href="#getservice">Get Exchange Service Details using Get-Service</a></li>
<li><a href="#getciminstance">Get Exchange Service Details using Get-CimInstance</a></li>
</ul>
<li><a href="#restartexchange">Restart Exchange Services with PowerShell</a></li>
<li><a href="#conclusion">Conclusion</a></li>
</ul>
</div>
<div id="requirements" style="scroll-margin-top: 15px;"></div>
<h2>Requirements</h2>
<p>In order to get started, we will certainly need to know a few things before hand.  One of those things is obviously the name of the Server(s) that are running Exchange.  Aside from that, having administrator rights on the box would be great.</p>
<div id="getservicemethods" style="scroll-margin-top: 15px;"></div>
<h2>Get Exchange Service Details</h2>
<p>Before we touch base on restarting the services, we&#8217;ll want to know which services are going to be in scope so we&#8217;re not inadvertently restarting something that doesn&#8217;t need to be restarted.  We have 2 options to get the information we need through Powershell.  The first, we can use the <code>Get-Service</code> along with <code>Invoke-Command</code> to query the services.  Second, we can use the <code>Get-CimInstance</code> along with the ComputerName parameter to query the machine for these services.<br />
&nbsp;</p>
<p>From a reporting standpoint, I personally like <code>Get-CimInstance</code> because it offers a bit more detail than the alternative.  However, as far as actually restarting the services, we&#8217;ll stick to <code>Get-Service</code> and pipe it to <code>Restart-Service</code> to get the job done.<br />
&nbsp;</p>
<div id="getservice" style="scroll-margin-top: 15px;"></div>
<h4>Get Exchange Service Details using Get-Service</h4>
<p>As mentioned, we can use <code>Get-Service</code> to get the information we need.  Let&#8217;s show a little snippet of how to do that.</p>
<pre class="brush: powershell; title: ; notranslate">
Invoke-Command -ComputerName PAC-EXCH01 -ScriptBlock `
{Get-Service -Name *msexch* | select Name, DisplayName, StartType, Status}
</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/06/Get-Exchange-Services.png" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/06/Get-Exchange-Services.png" alt="Get-Exchange Services" width="851" height="359" class="aligncenter size-full wp-image-4271" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/06/Get-Exchange-Services.png?v=1656120492 851w, https://thesysadminchannel.com/wp-content/uploads/2022/06/Get-Exchange-Services-768x324.png?v=1656120492 768w" sizes="(max-width: 851px) 100vw, 851px" /></a><br />
&nbsp;</p>
<div id="getciminstance" style="scroll-margin-top: 15px;"></div>
<h4>Get Exchange Service Details using Get-CimInstance</h4>
<p>Let&#8217;s cover the alternative for getting the exchange services using CimInstance.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-CimInstance -Class Win32_Service -ComputerName PAC-EXCH01 -Filter &quot;Name like '%MSEXCH%'&quot; | `
select Name, DisplayName, StartMode, StartName, State
</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/06/GetExchange-Services-CimInstance.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/06/GetExchange-Services-CimInstance.png" alt="Get Exchange Services CimInstance" width="970" height="438" class="aligncenter size-full wp-image-4275" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/06/GetExchange-Services-CimInstance.png?v=1656121496 970w, https://thesysadminchannel.com/wp-content/uploads/2022/06/GetExchange-Services-CimInstance-768x347.png?v=1656121496 768w" sizes="(max-width: 970px) 100vw, 970px" /></a></p>
<p>&nbsp;</p>
<div id="restartexchange" style="scroll-margin-top: 15px;"></div>
<h2>Restart Exchange Services with PowerShell</h2>
<p>Now that we know how to query the services, we can use Powershell to see which services are Exchange related as well as which ones are supposed to be running using Where-Object, a fundamental Powershell function.</p>
<pre class="brush: powershell; title: ; notranslate">
Invoke-Command -ComputerName PAC-EXCH01 -ScriptBlock `
{Get-Service -Name *msexch* | Where-Object {$_.StartType -match 'Automatic' -and $_.Status -ne 'Running'} | select Name, DisplayName, StartType, Status}
</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/06/Get-Exchange-Services-Not-Running.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/06/Get-Exchange-Services-Not-Running.png" alt="Get-Exchange Services Not Running" width="1099" height="264" class="aligncenter size-full wp-image-4277" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/06/Get-Exchange-Services-Not-Running.png?v=1656122585 1099w, https://thesysadminchannel.com/wp-content/uploads/2022/06/Get-Exchange-Services-Not-Running-1024x246.png?v=1656122585 1024w, https://thesysadminchannel.com/wp-content/uploads/2022/06/Get-Exchange-Services-Not-Running-768x184.png?v=1656122585 768w" sizes="(max-width: 1099px) 100vw, 1099px" /></a><br />
&nbsp;</p>
<p>From here, we can simply pipe the results to Restart-Service.  Here&#8217;s how to do that.</p>
<pre class="brush: powershell; title: ; notranslate">
Invoke-Command -ComputerName PAC-EXCH01 -ScriptBlock `
{Get-Service -Name *msexch* | Where-Object {$_.StartType -match 'Automatic' -and $_.Status -ne 'Running'} | Restart-Service }
</pre>
<div id="conclusion" style="scroll-margin-top: 15px;"></div>
<h2>Conclusion</h2>
<p>Hopefully we were able to showcase how to restart Exchange services with PowerShell and allow you to either setup monitoring using PS, or to simply restart the service if it just happens to not be running.<br />
&nbsp;</p>
<p>If you liked this article, be sure to check out <a href="https://thesysadminchannel.com/get-exchange-schema-version-using-powershell/" rel="noopener" target="_blank">Get Exchange Schema Version Using Powershell</a>.  Also, be sure to take a look at our <a href="https://www.youtube.com/c/theSysadminChannel" rel="noopener" target="_blank">YouTube Channel</a> for more sysadmin videos.</p>
<p>The post <a href="https://thesysadminchannel.com/restart-exchange-services-with-powershell/">Restart Exchange Services with PowerShell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/restart-exchange-services-with-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4171</post-id>	</item>
		<item>
		<title>Get Exchange Schema Version Using Powershell</title>
		<link>https://thesysadminchannel.com/get-exchange-schema-version-using-powershell/</link>
					<comments>https://thesysadminchannel.com/get-exchange-schema-version-using-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Tue, 03 Aug 2021 15:53:17 +0000</pubDate>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Get Exchange Schema Version]]></category>
		<category><![CDATA[Get Exchange Schema Version powershell]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=3295</guid>

					<description><![CDATA[<p>If it has been a while since your last Microsoft Exchange Server install or if you inherited a setup, you might be wondering what&#8217;s the easiest and quickest way to get Exchange schema version. Lucky for you, we&#8217;re in the&#8230; <a href="https://thesysadminchannel.com/get-exchange-schema-version-using-powershell/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/get-exchange-schema-version-using-powershell/">Get Exchange Schema Version Using Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If it has been a while since your last Microsoft Exchange Server install or if you inherited a setup, you might be wondering what&#8217;s the easiest and quickest way to get Exchange schema version.  Lucky for you, we&#8217;re in the business of making things as quick and easy as possible for you.  Today we&#8217;re going to go over the steps to check the schema version using Powershell.</p>
<h2>Requirements</h2>
<ul>
<li>The ActiveDirectory Powershell Module must be installed on the machine running the script</li>
<li>Exchange Server Installed in your Domain</li>
</ul>
<p>&nbsp;<br />
In order for things to run smoothly, we&#8217;ll need to make sure the machine running the script has the ActiveDirectory module installed.  Aside from that, there are no specific permissions needed since this is available as read-only attributes to anyone in the domain. One caveat is that this has only been tested on Domains that have an Exchange Server installed so I&#8217;m sure it will error out if it doesn&#8217;t find the attributes it needs.</p>
<h2>Get Exchange Schema Version Using Powershell</h2>
<p>Here is the quick and easy way for finding exactly which Exchange Schema version you&#8217;re running in your environment.<br />
&nbsp;</p>
<pre class="brush: powershell; title: ; notranslate">

Function Get-ExchangeSchemaVersion {
#requires -Module ActiveDirectory
&lt;#
.SYNOPSIS
    This script check your current Exchange Schema Version.

.DESCRIPTION
    Microsoft Link for Exchange Server Versions
    https://docs.microsoft.com/en-us/exchange/plan-and-deploy/prepare-ad-and-domains?view=exchserver-2016#exchange-active-directory-versions
    https://docs.microsoft.com/en-us/exchange/plan-and-deploy/prepare-ad-and-domains?view=exchserver-2019#exchange-active-directory-versions

.NOTES
    Name: Get-ExchangeSchemaVersion
    Author: theSysadminChannel
    Version: 1.0
    LastUpdated: 2021-Nov-9

.LINK
    https://thesysadminchannel.com/get-exchange-schema-version-using-powershell -

.EXAMPLE
    Get-ExchangeSchemaVersion
#&gt;

    [CmdletBinding()]
    param(
        #No Parameters needed in this case.
    )

    BEGIN {
        #Only 2016 and 2019 Version Are Supported to Display Exchange CU Version. 
        $ExchangeVersion = @{
            44798 = 'Exchange 2016 CU22'
            44796 = 'Exchange 2016 CU21'
            44793 = 'Exchange 2016 CU20'
            44791 = 'Exchange 2016 CU19'
            44788 = 'Exchange 2016 CU18'
            44786 = 'Exchange 2016 CU17'
            44783 = 'Exchange 2016 CU12'
            44782 = 'Exchange 2016 CU11'
            44781 = 'Exchange 2016 CU10'
            44779 = 'Exchange 2016 CU6'
            44775 = 'Exchange 2016 CU5'
            44774 = 'Exchange 2016 CU3'
            44773 = 'Exchange 2016 CU2'
            44770 = 'Exchange 2016 CU1'
            44763 = 'Exchange 2016 RTM'
            44594 = 'Exchange 2016 Preview'
            #
            47004 = 'Exchange 2019 CU11'
            47002 = 'Exchange 2019 CU10'
            46999 = 'Exchange 2019 CU9'
            46997 = 'Exchange 2019 CU8'
            46994 = 'Exchange 2019 CU7'
            46992 = 'Exchange 2019 CU6'
            46988 = 'Exchange 2019 CU1'
            46987 = 'Exchange 2019 RTM'

        }
    }

    PROCESS {
        try {
            $DomainController = Get-ADDomain | select -ExpandProperty PDCEmulator
            $ADRootDSE = Get-ADRootDSE -Server $Domaincontroller -ErrorAction Stop

            $UpperObject = &quot;CN=ms-Exch-Schema-Version-Pt,&quot;+$ADRootDSE.SchemaNamingContext
            $RangeUpper = Get-ADObject $UpperObject -Properties RangeUpper | select -ExpandProperty RangeUpper


            $NamingContext = &quot;CN=Microsoft Exchange System Objects,&quot; + $ADRootDSE.DefaultNamingContext
            $ObjectVersion_Default = Get-ADObject $NamingContext -Properties ObjectVersion | select -ExpandProperty ObjectVersion

            $ConfigContext = $ADRootDSE.ConfigurationNamingContext
            $ObjectVersion_Configuration = Get-ADObject -LDAPFilter &quot;(objectClass=msExchOrganizationContainer)&quot; -SearchBase $ConfigContext -Properties ObjectVersion | select -ExpandProperty ObjectVersion

            [PSCustomObject]@{
                ExchangeVersion             = $ExchangeVersion[$RangeUpper + $ObjectVersion_Default + $ObjectVersion_Configuration]
                RangeUpper                  = $RangeUpper
                ObjectVersion_Default       = $ObjectVersion_Default
                ObjectVersion_Configuration = $ObjectVersion_Configuration
            }

        } catch {
            Write-Error $_.Exception.Message
        }
    }

    END {}
}

</pre>
<p>&nbsp;<br />
<a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Get-Exchange-Schema-Version-Powershell.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Get-Exchange-Schema-Version-Powershell.png" alt="Get Exchange Schema Version Powershell" width="808" height="300" class="aligncenter size-full wp-image-3298" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Get-Exchange-Schema-Version-Powershell.png?v=1627962763 808w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Get-Exchange-Schema-Version-Powershell-768x285.png?v=1627962763 768w" sizes="(max-width: 808px) 100vw, 808px" /></a></p>
<h2>How to Confirm Exchange Version</h2>
<p>Once you&#8217;ve determined the schema, you can also cross check with the Exchange Version that&#8217;s currently installed in your environment.  I wrote another script to <a href="https://thesysadminchannel.com/get-exchange-cumulative-update-version-and-build-numbers-using-powershell/" rel="noopener" target="_blank">get Exchange Cumulative Update Version and Build Numbers Using Powershell</a> so this will also be useful to determine the footprint.  When I connect to my Exchange Server and run that function, I am showing as having &#8220;Exchange Server 2019 Cumulative Update 1 (CU1)&#8221; installed which coincides with my schema version.</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Get-Exchange-Version-Powershell.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Get-Exchange-Version-Powershell.png" alt="Get Exchange Version Powershell" width="809" height="301" class="aligncenter size-full wp-image-3303" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Get-Exchange-Version-Powershell.png?v=1628004924 809w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Get-Exchange-Version-Powershell-768x286.png?v=1628004924 768w" sizes="(max-width: 809px) 100vw, 809px" /></a></p>
<h3>Conclusion</h3>
<p>Hopefully this article was able to relay how to <strong>get Exchange Schema Version Using Powershell</strong> in your environment. If you liked this article, be sure to check out our other <a href="https://thesysadminchannel.com/powershell/" rel="noopener" target="_blank">Powershell Posts</a> as well as our <a href="https://thesysadminchannel.com/exchange-server/" rel="noopener" target="_blank">Exchange Server category</a> items.</p>
<p>The post <a href="https://thesysadminchannel.com/get-exchange-schema-version-using-powershell/">Get Exchange Schema Version Using Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/get-exchange-schema-version-using-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3295</post-id>	</item>
		<item>
		<title>Pros and Cons of Exchange Online vs On-Premises</title>
		<link>https://thesysadminchannel.com/pros-and-cons-of-exchange-online-vs-on-premise/</link>
					<comments>https://thesysadminchannel.com/pros-and-cons-of-exchange-online-vs-on-premise/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Tue, 14 Apr 2020 03:40:20 +0000</pubDate>
				<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[benefits of exchange online]]></category>
		<category><![CDATA[exchange in the cloud pros and cons]]></category>
		<category><![CDATA[exchange vs office 365]]></category>
		<category><![CDATA[hosted exchange vs on-premise]]></category>
		<category><![CDATA[office 365 vs exchange on premise]]></category>
		<category><![CDATA[Pros and Cons of Exchange Online vs On-Premise]]></category>
		<category><![CDATA[pros and cons of office 365 vs on premise]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2177</guid>

					<description><![CDATA[<p>I get this question a lot and it&#8217;s often asked by people who are still on the edge of deciding if they want to migrate their users. Let&#8217;s run a break down of the pros and cons of Exchange Online&#8230; <a href="https://thesysadminchannel.com/pros-and-cons-of-exchange-online-vs-on-premise/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/pros-and-cons-of-exchange-online-vs-on-premise/">Pros and Cons of Exchange Online vs On-Premises</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I get this question a lot and it&#8217;s often asked by people who are still on the edge of deciding if they want to migrate their users. Let&#8217;s run a break down of the pros and cons of Exchange Online vs On-Premises.  The Pros of one in this case is the con of the other.</p>
<h2>Pros of Exchange Online</h2>
<ul>
<li><strong>Mailbox Uptime</strong></li>
<ul>
<li>Microsoft has excellent SLAs in place to ensure your mailbox is online and accessible</li>
<li>Maintenance for exchange on-prem won&#8217;t effect Exchange Online mailboxes</li>
</ul>
<li><strong>Mailbox Flexibility</strong></li>
<ul>
<li>With Exchange Online, you won&#8217;t have to connect to your company&#8217;s VPN to access your mailbox</li>
<li>You can access it from anywhere as long as you have an internet connection</li>
</ul>
<li><strong>Mailbox Security</strong></li>
<ul>
<li>Exchange Online allows for simple and integrated implementation for Multi-Factor Authentication with Azure Active Directory</li>
<li>Audit logs are also easily integrated and searchable</li>
</ul>
<li><strong>Infrastructure and Storage</strong></li>
<ul>
<li>One of the biggest benefits is not having to maintain a full blown Exchange environment</li>
<li>Exchange Hybrid shops will still require an onprem exchange server but 1 server should be sufficient for your needs</li>
<li>Exchange Online mailboxes can have 100GB + Unlimited Archiving</li>
<li>Retention Policies and Litigation hold can keep a mailbox for as long as you need</li>
<li>Your data has redundancy across the many Microsoft Datacenters</li>
</ul>
<p>&nbsp;</p>
<h2>Pros of Exchange On-Premises</h2>
<li><strong>Speed</strong></li>
<ul>
<li>With Servers being hosted in your own Datacenter, often times it might be faster than the cloud</li>
</ul>
<li><strong>Cost</strong></li>
<ul>
<li>While Exchange Online does offer very competitive pricing, sometimes cost can be a factor</li>
</ul>
</ul>
<p>&nbsp;</p>
<h2>Conclusion</h2>
<p>I&#8217;ve managed onprem Exchange and Exchange Online and I think a hybrid Exchange with your mailboxes migrated to the cloud is really the sweet spot.  You get the benefits of the infrastructure, redundancy, security, vertical integration with other platforms and the flexibility to connect from anywhere. I love the fact that you can secure your account with Microsoft Authenticator and MFA and you don&#8217;t have to connect to your company&#8217;s VPN to access your mailbox.  It&#8217;s also helpful for other services such as Microsoft Teams.</p>
<p>Although I would definitely prefer having my mailboxes hosted in Exchange Online, the decision is really dependent on each and every shop.  Some shops might have very strict requirements and have to abide to certain laws.  Hopefully this quick and dirty list of the pros and cons of Exchange Online vs On-Premises was helpful for you and made your decision to move to the cloud or stay onprem a bit easier.</p>
<p>If you are thinking of migrating your users to the cloud, using the Hybrid Exchange model, I&#8217;ve already got you covered.  The process has gotten so much better (and easier) these days compared to the steps in the past. I even went ahead and made a <a href="https://www.youtube.com/playlist?list=PL60ejEuI_nxsN9gyuBsh7JzEZrnsORuxA" rel="noopener noreferrer" target="_blank">step by step guide to installing Azure AD Connect</a> and migrating users to the cloud.</p>
<p>Thank you for taking the time to view the benefits of exchange online and seeing what exchange On-Premises has to offer.  If you want to see more cloud content, take a look at our <a href="https://thesysadminchannel.com/office365/" rel="noopener noreferrer" target="_blank">Office 365</a> and <a href="https://thesysadminchannel.com/azure/" rel="noopener noreferrer" target="_blank">Azure Active Directory</a> categories.  I&#8217;m sure there&#8217;s something there that will catch your eye.</p>
<p>The post <a href="https://thesysadminchannel.com/pros-and-cons-of-exchange-online-vs-on-premise/">Pros and Cons of Exchange Online vs On-Premises</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/pros-and-cons-of-exchange-online-vs-on-premise/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2177</post-id>	</item>
		<item>
		<title>Get Exchange Version and Build Numbers Using PowerShell</title>
		<link>https://thesysadminchannel.com/get-exchange-cumulative-update-version-and-build-numbers-using-powershell/</link>
					<comments>https://thesysadminchannel.com/get-exchange-cumulative-update-version-and-build-numbers-using-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Sun, 28 Jul 2019 04:24:45 +0000</pubDate>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Cumulative Update to Build Conversion]]></category>
		<category><![CDATA[display exchange product name powershell]]></category>
		<category><![CDATA[Exchange Cumulative Update]]></category>
		<category><![CDATA[Get Exchange Version Using Powershell]]></category>
		<category><![CDATA[how to check Cumulative update in exchange server]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=1788</guid>

					<description><![CDATA[<p>It recently occurred to me there wasn&#8217;t an easy way to get an exchange cumulative update version and build number through the GUI, or through Powershell for that matter. I had to search high and low to find a conversion&#8230; <a href="https://thesysadminchannel.com/get-exchange-cumulative-update-version-and-build-numbers-using-powershell/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/get-exchange-cumulative-update-version-and-build-numbers-using-powershell/">Get Exchange Version and Build Numbers Using PowerShell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It recently occurred to me there wasn&#8217;t an easy way to get an exchange cumulative update version and build number through the GUI, or through Powershell for that matter. I had to search high and low to find a conversion table for what build numbers equal what CU updates.  </p>
<p>&nbsp;<br />
I did happen to come across this <a href="https://docs.microsoft.com/en-us/Exchange/new-features/build-numbers-and-release-dates?redirectedfrom=MSDN&#038;view=exchserver-2016" rel="noopener noreferrer" target="_blank">Microsoft build numbers</a> page but it isn&#8217;t so great if you want to check more than a handful of exchange servers.  It just doesn&#8217;t scale very well and you still have to do some searching and manual conversions.  I did some Google-fu and found that there was nothing like this online so I decided to create a script to parse the data and output the version using a hash table that we created.</p>
<h2>Get Exchange Version and Build Numbers Using Powershell</h2>
<p>This function uses the built in <em>Get-ExchangeServer</em> cmdlet as the base of this script because it does pull the Edition and the AdminDisplayVersion properties to formulate the output.  Here is what that looks like.</p>
<pre class="brush: powershell; title: ; notranslate">

PS C:\&gt; Get-ExchangeServer | fl Name, Edition, AdminDisplayVersion

Name                : PAC-EXCH01
Edition             : Standard
AdminDisplayVersion : Version 15.2 (Build 330.5)

</pre>
<p>The problem is that there are no properties to show what CU update it is.  The bigger problem is that Microsoft releases certain updates displaying the cumulative update version and not necessarily the build number. </p>
<p>Now we know the problem, so let&#8217;s get to the solution!</p>
<h2>Get Exchange Version Powershell Script</h2>
<pre class="brush: powershell; title: ; notranslate">

Function Get-ExchangeVersion {
&lt;#
.SYNOPSIS
    This script will get the cumulative update version for the specified exchange server.

.DESCRIPTION
    BuildNumbers link:
    https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019


.NOTES   
    Name: Get-ExchangeVersion
    Author: theSysadminChannel
    Version: 1.0
    LastUpdated: 2021-Nov-9


.LINK
    https://thesysadminchannel.com/get-exchange-cumulative-update-version-and-build-numbers-using-powershell/ -


.EXAMPLE
    Get-ExchangeServer | Get-ExchangeVersion


.EXAMPLE
    Get-ExchangeVersion -ComputerName ExchSrv01, ExchSrv02
#&gt;


    [CmdletBinding()]
    param(
        [Parameter(
            Mandatory = $true,
            ValueFromPipeline=$true,
            ValueFromPipelineByPropertyName=$true
            )]

        [string[]]  $ComputerName

    )

    BEGIN {
        #Creating the hash table with build numbers and cumulative updates
        $BuildToProductName = @{
            '14.3.123.4'   = 'Microsoft Exchange Server 2010 SP3'
            #
            '15.0.620.29'  = 'Exchange Server 2013 Cumulative Update 1 (CU1)'
            '15.0.712.24'  = 'Exchange Server 2013 Cumulative Update 2 (CU2)'
            '15.0.775.38'  = 'Exchange Server 2013 Cumulative Update 3 (CU3)'
            '15.0.847.32'  = 'Exchange Server 2013 Service Pack 1 (CU4)'
            '15.0.913.22'  = 'Exchange Server 2013 Cumulative Update 5 (CU5)'
            '15.0.995.29'  = 'Exchange Server 2013 Cumulative Update 6 (CU6)'
            '15.0.1044.25' = 'Exchange Server 2013 Cumulative Update 7 (CU7)'
            '15.0.1076.9'  = 'Exchange Server 2013 Cumulative Update 8 (CU8)'
            '15.0.1104.5'  = 'Exchange Server 2013 Cumulative Update 9 (CU9)'
            '15.0.1130.7'  = 'Exchange Server 2013 Cumulative Update 10 (CU10)'
            '15.0.1156.6'  = 'Exchange Server 2013 Cumulative Update 11 (CU11)'
            '15.0.1178.4'  = 'Exchange Server 2013 Cumulative Update 12 (CU12)'
            '15.0.1210.3'  = 'Exchange Server 2013 Cumulative Update 13 (CU13)'
            '15.0.1236.3'  = 'Exchange Server 2013 Cumulative Update 14 (CU14)'
            '15.0.1263.5'  = 'Exchange Server 2013 Cumulative Update 15 (CU15)'
            '15.0.1293.2'  = 'Exchange Server 2013 Cumulative Update 16 (CU16)'
            '15.0.1320.4'  = 'Exchange Server 2013 Cumulative Update 17 (CU17)'
            '15.0.1347.2'  = 'Exchange Server 2013 Cumulative Update 18 (CU18)'
            '15.0.1365.1'  = 'Exchange Server 2013 Cumulative Update 19 (CU19)'
            '15.0.1367.3'  = 'Exchange Server 2013 Cumulative Update 20 (CU20)'
            '15.0.1395.4'  = 'Exchange Server 2013 Cumulative Update 21 (CU21)'
            '15.0.1473.3'  = 'Exchange Server 2013 Cumulative Update 22 (CU22)'
            '15.0.1497.2'  = 'Exchange Server 2013 Cumulative Update 23 (CU23)'
            #
            '15.1.396.30'  = 'Exchange Server 2016 Cumulative Update 1 (CU1)'
            '15.1.466.34'  = 'Exchange Server 2016 Cumulative Update 2 (CU2)'
            '15.1.544.27'  = 'Exchange Server 2016 Cumulative Update 3 (CU3)'
            '15.1.669.32'  = 'Exchange Server 2016 Cumulative Update 4 (CU4)'
            '15.1.845.34'  = 'Exchange Server 2016 Cumulative Update 5 (CU5)'
            '15.1.1034.26' = 'Exchange Server 2016 Cumulative Update 6 (CU6)'
            '15.1.1261.35' = 'Exchange Server 2016 Cumulative Update 7 (CU7)'
            '15.1.1415.2'  = 'Exchange Server 2016 Cumulative Update 8 (CU8)'
            '15.1.1466.3'  = 'Exchange Server 2016 Cumulative Update 9 (CU9)'
            '15.1.1531.3'  = 'Exchange Server 2016 Cumulative Update 10 (CU10)'
            '15.1.1591.10' = 'Exchange Server 2016 Cumulative Update 11 (CU11)'
            '15.1.1713.5'  = 'Exchange Server 2016 Cumulative Update 12 (CU12)'
            '15.1.1779.2'  = 'Exchange Server 2016 Cumulative Update 13 (CU13)'
            '15.1.1847.3'  = 'Exchange Server 2016 Cumulative Update 14 (CU14)'
            '15.1.1913.5'  = 'Exchange Server 2016 Cumulative Update 15 (CU15)'
            '15.1.1979.3'  = 'Exchange Server 2016 Cumulative Update 16 (CU16)'
            '15.1.2044.4'  = 'Exchange Server 2016 Cumulative Update 17 (CU17)'
            '15.1.2106.2'  = 'Exchange Server 2016 Cumulative Update 18 (CU18)'
            '15.1.2176.2'  = 'Exchange Server 2016 Cumulative Update 19 (CU19)'
            '15.1.2242.4'  = 'Exchange Server 2016 Cumulative Update 20 (CU20)'
            '15.1.2308.8'  = 'Exchange Server 2016 Cumulative Update 21 (CU21)'
            '15.1.2375.7'  = 'Exchange Server 2016 Cumulative Update 22 (CU22)'
            #
            '15.2.330.5'   = 'Exchange Server 2019 Cumulative Update 1 (CU1)'
            '15.2.397.3'   = 'Exchange Server 2019 Cumulative Update 2 (CU2)'
            '15.2.464.5'   = 'Exchange Server 2019 Cumulative Update 3 (CU3)'
            '15.2.529.5'   = 'Exchange Server 2019 Cumulative Update 4 (CU4)'
            '15.2.595.3'   = 'Exchange Server 2019 Cumulative Update 5 (CU5)'
            '15.2.659.4'   = 'Exchange Server 2019 Cumulative Update 6 (CU6)'
            '15.2.721.2'   = 'Exchange Server 2019 Cumulative Update 7 (CU7)'
            '15.2.792.3'   = 'Exchange Server 2019 Cumulative Update 8 (CU8)'

            '15.2.858.5'   = 'Exchange Server 2019 Cumulative Update 9 (CU9)'
            '15.2.922.7'   = 'Exchange Server 2019 Cumulative Update 10 (CU10)'
            '15.2.986.5'   = 'Exchange Server 2019 Cumulative Update 11 (CU11)'
        }
    }

    PROCESS {
        foreach ($Computer in $ComputerName) {
            try {
                $Computer = $Computer.ToUpper()
                $Server = Get-ExchangeServer $Computer -ErrorAction Stop

                $Version = $Server.AdminDisplayVersion
                $Version = [regex]::Matches($Version, &quot;(\d*\.\d*)&quot;).value -join '.'

                $Product = $BuildToProductName[$Version]

                $Object = [pscustomobject]@{
                    ComputerName = $Computer
                    Edition      = $Server.Edition
                    BuildNumber  = $Version
                    ProductName  = $Product
                    
                }
                Write-Output $Object

            } catch {
                Write-Error &quot;$_.Exception.Message&quot;

            } finally {
                $Server  = $null
                $Version = $null
                $Product = $null

            }
        }
    }


    END {}
}

</pre>
<p>Here you can see what the output would look like when we run Get-ExchangeServer and pipe it out to Get-ExchangeVersion.</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2020/03/Get-ExchangeVersion-Output.png" target="_blank" rel="noopener noreferrer"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2020/03/Get-ExchangeVersion-Output.png" alt="Get-ExchangeVersion Output" width="1022" height="541" class="aligncenter size-full wp-image-1797" srcset="https://thesysadminchannel.com/wp-content/uploads/2020/03/Get-ExchangeVersion-Output.png?v=1584078894 1022w, https://thesysadminchannel.com/wp-content/uploads/2020/03/Get-ExchangeVersion-Output-768x407.png?v=1584078894 768w" sizes="(max-width: 1022px) 100vw, 1022px" /></a><br />
&nbsp;</p>
<p>I&#8217;ve used this script in multiple environments and with multiple exchange servers to easily convert build numbers to the corresponding exchange cumulative update version. I&#8217;ll do my best to keep this hash table of build numbers and cumulative updates up to date as more releases get published.  This should be your one stop shop to get exchange version with Powershell.</p>
<p>The post <a href="https://thesysadminchannel.com/get-exchange-cumulative-update-version-and-build-numbers-using-powershell/">Get Exchange Version and Build Numbers Using PowerShell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/get-exchange-cumulative-update-version-and-build-numbers-using-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1788</post-id>	</item>
		<item>
		<title>How To Update SSL Certificates for Exchange 2019</title>
		<link>https://thesysadminchannel.com/update-ssl-certificates-for-exchange-2019/</link>
					<comments>https://thesysadminchannel.com/update-ssl-certificates-for-exchange-2019/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Thu, 16 May 2019 05:06:24 +0000</pubDate>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[exchange 2016 certificate request]]></category>
		<category><![CDATA[exchange certificate renewal]]></category>
		<category><![CDATA[renew exchange 2013 certificate]]></category>
		<category><![CDATA[renew exchange 2016 certificate digicert]]></category>
		<category><![CDATA[renew exchange 2016 certificate godaddy]]></category>
		<category><![CDATA[renew exchange 2016 certificate step by step]]></category>
		<category><![CDATA[renew SSL certificates for exchange]]></category>
		<category><![CDATA[Update SSL certificates for exchange]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=1604</guid>

					<description><![CDATA[<p>Because I am using Let&#8217;s Encrypt for my public SSL certificate needs, I have to update my certs every 3 months. It&#8217;s not so bad considering the fact that it&#8217;s 100% free, but it can be a bit cumbersome if&#8230; <a href="https://thesysadminchannel.com/update-ssl-certificates-for-exchange-2019/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/update-ssl-certificates-for-exchange-2019/">How To Update SSL Certificates for Exchange 2019</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Because I am using Let&#8217;s Encrypt for my public SSL certificate needs, I have to update my certs every 3 months.  It&#8217;s not so bad considering the fact that it&#8217;s 100% free, but it can be a bit cumbersome if you don&#8217;t have the process automated.  Luckily I am at the point where the entire process is automated, thanks to Ryan Bogler&#8217;s <a href="https://www.powershellgallery.com/packages/Posh-ACME/3.2.0" rel="noopener" target="_blank">PoSH-ACME Powershell module</a>, but I thought I would share the process of <strong>how to update SSL certificates for Exchange 2019</strong> manually.  These steps are the same for Exchange 2013 and Exchange 2016 since they both use the similar web interface.</p>
<p><em>If you have any questions regarding the process, be sure to leave a comment and I&#8217;ll do my best to get back to you.</em></p>
<h2>Update SSL Certificates for Exchange 2019 by Generating a Certificate Signing Request (CSR)</h2>
<ul>
<li>Start out by opening a browser and navigating to https://<em>YourExchangeServer</em>/ecp</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-Admin-Center-2016-Login.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-Admin-Center-2016-Login.png" alt="Exchange Admin Center 2016 Login" width="816" height="392" class="aligncenter size-full wp-image-1618" srcset="https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-Admin-Center-2016-Login.png?v=1571018594 816w, https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-Admin-Center-2016-Login-768x369.png?v=1571018594 768w" sizes="(max-width: 816px) 100vw, 816px" /></a><br />
&nbsp;</p>
<li>Next, click on <strong>Servers </strong>-> <strong>Certificates </strong>-> <strong>Add </strong>Icon</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Servers-Certificates-Exchange-2019.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Servers-Certificates-Exchange-2019.png" alt="Servers-Certificates-Exchange-2019" width="1084" height="456" class="aligncenter size-full wp-image-1622" srcset="https://thesysadminchannel.com/wp-content/uploads/2019/10/Servers-Certificates-Exchange-2019.png?v=1571020172 1084w, https://thesysadminchannel.com/wp-content/uploads/2019/10/Servers-Certificates-Exchange-2019-1024x431.png?v=1571020172 1024w, https://thesysadminchannel.com/wp-content/uploads/2019/10/Servers-Certificates-Exchange-2019-768x323.png?v=1571020172 768w" sizes="(max-width: 1084px) 100vw, 1084px" /></a><br />
&nbsp;</p>
<li>The default, <strong>Create a request for a certificate from a certificate authority</strong> should be selected</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Create-a-CSR-Exchange-2019.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Create-a-CSR-Exchange-2019.png" alt="Create a CSR Exchange 2019" width="706" height="518" class="aligncenter size-full wp-image-1628" /></a><br />
&nbsp;</p>
<li>Enter in a friendly name for your cert</li>
<p><div id="attachment_1630" style="width: 716px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Create-a-CSR-Exchange-2019-Friendly-Name.png" target="_blank"><img decoding="async" aria-describedby="caption-attachment-1630" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Create-a-CSR-Exchange-2019-Friendly-Name.png" alt="Create a CSR Exchange 2019 Friendly Name" width="706" height="518" class="size-full wp-image-1630" /></a><p id="caption-attachment-1630" class="wp-caption-text">I chose to append the expiration date to my friendly name so I can see just by looking at it, when the cert expires.</p></div><br />
&nbsp;</p>
<li>If you want a wildcard, click the setting and enter in the root domain.  Otherwise, enter the <strong>exact</strong> name that will be used.</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Create-a-wildcard-certificate.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Create-a-wildcard-certificate.png" alt="Create a wildcard certificate" width="706" height="518" class="aligncenter size-full wp-image-1634" /></a><br />
&nbsp;</p>
<li>Click <strong>browse </strong>to select the server. Click next</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Store-Cert-on-this-Server-Exchange-2019.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Store-Cert-on-this-Server-Exchange-2019.png" alt="Store Cert on this Server Exchange 2019" width="706" height="518" class="aligncenter size-full wp-image-1637" /></a><br />
&nbsp;</p>
<li>Enter the details regarding your organization</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Information-about-Certificate-and-Organization.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Information-about-Certificate-and-Organization.png" alt="Information about Certificate and Organization" width="706" height="518" class="aligncenter size-full wp-image-1639" /></a><br />
&nbsp;</p>
<li>Enter in a path that you have access to</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/New-Exchange-Certificate-Request-Complete.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/New-Exchange-Certificate-Request-Complete.png" alt="New Exchange Certificate Request Complete" width="706" height="518" class="aligncenter size-full wp-image-1641" /></a><br />
&nbsp;</p>
<li>Once the wizard has successfully completed, you should see a pending request in your ECP</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Certificate-Pending-Request.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Certificate-Pending-Request.png" alt="Certificate Pending Request" width="889" height="504" class="aligncenter size-full wp-image-1646" srcset="https://thesysadminchannel.com/wp-content/uploads/2019/10/Certificate-Pending-Request.png?v=1571025159 889w, https://thesysadminchannel.com/wp-content/uploads/2019/10/Certificate-Pending-Request-768x435.png?v=1571025159 768w" sizes="(max-width: 889px) 100vw, 889px" /></a><br />
&nbsp;</p>
<li>Navigate to the saved location and open with Notepad or editor of your choice</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-2019-Certificate-Request-REQ-file.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-2019-Certificate-Request-REQ-file.png" alt="Exchange 2019 Certificate Request REQ file" width="783" height="504" class="aligncenter size-full wp-image-1643" srcset="https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-2019-Certificate-Request-REQ-file.png?v=1571023655 783w, https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-2019-Certificate-Request-REQ-file-768x494.png?v=1571023655 768w" sizes="(max-width: 783px) 100vw, 783px" /></a><br />
&nbsp;</p>
<li><strong>IMPORTANT</strong>: You need to submit that newly created cert req to your public SSL provider so they can provide you the actual .CER file.</li>
<li>Once you&#8217;ve obtained the .CER from your Cert Provider, go back to <strong>Servers </strong>-> <strong>Certificates </strong>and click <strong>Complete</strong></li>
<li>Provide the location for the .CER file</li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Complete-CSR-Certificate-Request.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Complete-CSR-Certificate-Request.png" alt="Complete CSR Certificate Request" width="570" height="430" class="aligncenter size-full wp-image-1650" /></a><br />
&nbsp;</p>
<li>Once a valid .CER file has been uploaded, the status should change to Valid</li>
<li>Double Click the newly added cert and go to <strong>Service</strong>.  <strong>Add SMTP and IIS services</strong></li>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-2019-Add-Services-Certificate-Request.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/10/Exchange-2019-Add-Services-Certificate-Request.png" alt="Exchange 2019 Add Services - Certificate Request" width="766" height="407" class="aligncenter size-full wp-image-1652" /></a></p>
</ul>
<p>&nbsp;<br />
At this point you should be able to go into your certificate store and export the .PFX file for use with ADFS or other services that require a private key. The path is generally going to be found under Cert:\LocalMachine\My</p>
<p>Hopefully this answers some questions and helps you update SSL Certificates for Exchange 2019 in your environment.  The first time I did it, it was very daunting but once you have an understanding of the process, it makes more sense.  Finally, don&#8217;t forget to subscribe to our <a href="https://www.youtube.com/c/TheSysadminChannel" rel="noopener" target="_blank">Youtube Channel</a> for some interesting video content and good times.</p>
<p>The post <a href="https://thesysadminchannel.com/update-ssl-certificates-for-exchange-2019/">How To Update SSL Certificates for Exchange 2019</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/update-ssl-certificates-for-exchange-2019/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1604</post-id>	</item>
		<item>
		<title>[Solved] Exchange Failed to Connect Winsock Error Code: 10060, Win32 Error Code: 10060</title>
		<link>https://thesysadminchannel.com/solved-exchange-failed-to-connect-winsock-error-code-10060-win32-error-code-10060/</link>
					<comments>https://thesysadminchannel.com/solved-exchange-failed-to-connect-winsock-error-code-10060-win32-error-code-10060/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Thu, 25 Apr 2019 07:19:00 +0000</pubDate>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Exchange Failed to Connect Winsock Error Code: 10060]]></category>
		<category><![CDATA[Failed to connect. Winsock error code]]></category>
		<category><![CDATA[Win32 Error Code: 10060]]></category>
		<category><![CDATA[Winsock Error Code: 10060]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=1397</guid>

					<description><![CDATA[<p>Thanks to my ISP I had spent a ridiculous amount of time trying to troubleshoot why I was not able to send outbound. The error: Exchange Failed to Connect Winsock Error Code: 10060, Win32 Error Code: 10060 had everything to&#8230; <a href="https://thesysadminchannel.com/solved-exchange-failed-to-connect-winsock-error-code-10060-win32-error-code-10060/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/solved-exchange-failed-to-connect-winsock-error-code-10060-win32-error-code-10060/">[Solved] Exchange Failed to Connect Winsock Error Code: 10060, Win32 Error Code: 10060</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Thanks to my ISP I had spent a ridiculous amount of time trying to troubleshoot why I was not able to send outbound.  The error: <strong>Exchange Failed to Connect Winsock Error Code: 10060, Win32 Error Code: 10060</strong> had everything to do with my ISP and nothing to do with my configuration.  It turns out after many hours, my ISP had blocked port 25 both inbound and outbound so there was no way I was ever going to be able to send an email from my Onprem exchange server.<br />
&nbsp;</p>
<p>I went to take a look at the logs located in C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\ProtocolLog\SmtpSend and found the following:<br />
&#8220;Failed to connect. Winsock error code: 10060, Win32 error code: 10060, Destination domain: gmail.com, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond redactedIP:25.&#8221;</p>
<h2>Fix for Winsock Error Code: 10060</h2>
<p>Since the error &#8211; Exchange Failed to Connect Winsock Error Code: 10060 was out of my control and nothing to do with my configuration, I had to call my ISP to see if they would unblock port 25 for me.  They weren&#8217;t able to. Thanks ISP</p>
<p>If you&#8217;re running into that error, now you know where to start to get that working.  In any event, don&#8217;t forget to subscribe to our <a href="https://www.youtube.com/c/TheSysadminChannel" rel="noopener" target="_blank">Youtube Channel</a></p>
<p>The post <a href="https://thesysadminchannel.com/solved-exchange-failed-to-connect-winsock-error-code-10060-win32-error-code-10060/">[Solved] Exchange Failed to Connect Winsock Error Code: 10060, Win32 Error Code: 10060</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/solved-exchange-failed-to-connect-winsock-error-code-10060-win32-error-code-10060/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1397</post-id>	</item>
		<item>
		<title>How To Move an Exchange Server 2019 Mailbox Database</title>
		<link>https://thesysadminchannel.com/how-to-move-an-exchange-server-2019-mailbox-database/</link>
					<comments>https://thesysadminchannel.com/how-to-move-an-exchange-server-2019-mailbox-database/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Tue, 09 Apr 2019 05:27:46 +0000</pubDate>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[change database path exchange 2019]]></category>
		<category><![CDATA[Get-MailboxDatabase example]]></category>
		<category><![CDATA[How To Move an Exchange Server 2019 Mailbox Database]]></category>
		<category><![CDATA[migrate exchange server database]]></category>
		<category><![CDATA[move database to another drive powershell]]></category>
		<category><![CDATA[move exchange server database]]></category>
		<category><![CDATA[Move-DatabasePath example]]></category>
		<category><![CDATA[Set-MailboxDatabase example]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=1393</guid>

					<description><![CDATA[<p>When you initially install Exchange Server 2019 your default Database name and path are not exactly optimal. By default your first database is named something like Mailbox Database 0667016325 and your default path is located under &#8216;C:\Program Files\Microsoft\Exchange Server\V15\Mailbox&#8216;. Yikes&#8230; <a href="https://thesysadminchannel.com/how-to-move-an-exchange-server-2019-mailbox-database/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/how-to-move-an-exchange-server-2019-mailbox-database/">How To Move an Exchange Server 2019 Mailbox Database</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>When you initially install Exchange Server 2019 your default Database name and path are not exactly optimal.  By default your first database is named something like <strong>Mailbox Database 0667016325</strong> and your default path is located under &#8216;<strong>C:\Program Files\Microsoft\Exchange Server\V15\Mailbox</strong>&#8216;.  Yikes &#8211; Like I said, not optimal.  Typically you&#8217;d want to have your database and log files on a separate drive, a much larger drive at that because these can fill up pretty quickly.  In this article I&#8217;m going to show you <strong>How To Move an Exchange Server 2019 Mailbox Database</strong>.</p>
<p>Moving a mailbox database actually really simple however, it does take some planning to make sure everything goes smoothly.  The reason being is that whenever a database is moved, it first needs to be dismounted and taken offline.  This means that anyone on that database will temporarily lose access their email until the mailbox database is remounted and back online.  For this reason, I suggest moving a mailbox database immediately after installing exchange on the server to avoid any down time.</p>
<h2>Move an Exchange Server 2019 Mailbox Database</h2>
<p>Before you begin moving the database I typically like to rename it from the default.  The <a href="https://docs.microsoft.com/en-us/powershell/module/exchange/mailbox-databases-and-servers/get-mailboxdatabase?view=exchange-ps" rel="noopener" target="_blank">Get-MailboxDatabase</a> and <a href="https://docs.microsoft.com/en-us/powershell/module/exchange/mailbox-databases-and-servers/set-mailboxdatabase?view=exchange-ps" rel="noopener" target="_blank">Set-MailboxDatabase</a> is used for that. Here is the command for that.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-MailboxDatabase 'Mailbox Database 0667016325' | Set-MailboxDatabase -Name MailboxDB01
</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/07/Set-MailboxDatabase-Name-MailboxDB01.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/07/Set-MailboxDatabase-Name-MailboxDB01.png" alt="Set-MailboxDatabase -Name MailboxDB01" width="979" height="320" class="aligncenter size-full wp-image-1548" srcset="https://thesysadminchannel.com/wp-content/uploads/2019/07/Set-MailboxDatabase-Name-MailboxDB01.png 979w, https://thesysadminchannel.com/wp-content/uploads/2019/07/Set-MailboxDatabase-Name-MailboxDB01-768x251.png 768w" sizes="(max-width: 979px) 100vw, 979px" /></a><br />
&nbsp;</p>
<p>Now that the database has renamed let&#8217;s go ahead and move it with <a href="https://docs.microsoft.com/en-us/powershell/module/exchange/mailbox-databases-and-servers/move-databasepath?view=exchange-ps" rel="noopener" target="_blank">Move-DatabasePath</a></p>
<pre class="brush: powershell; title: ; notranslate">
Move-DatabasePath MailboxDB01 -EdbFilePath 'E:\ExchangeDB\PAC-EXCH01\MailboxDB01.edb' -LogFolderPath 'E:\ExchangeDB\PAC-EXCH01\Logs\'
</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/07/Move-DatabasePath-MailboxDB01-EdbFilePath-LogFolderPath.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/07/Move-DatabasePath-MailboxDB01-EdbFilePath-LogFolderPath.png" alt="Move-DatabasePath MailboxDB01 -EdbFilePath -LogFolderPath" width="978" height="376" class="aligncenter size-full wp-image-1550" srcset="https://thesysadminchannel.com/wp-content/uploads/2019/07/Move-DatabasePath-MailboxDB01-EdbFilePath-LogFolderPath.png 978w, https://thesysadminchannel.com/wp-content/uploads/2019/07/Move-DatabasePath-MailboxDB01-EdbFilePath-LogFolderPath-768x295.png 768w" sizes="(max-width: 978px) 100vw, 978px" /></a></p>
<p>As mentioned before, the database will be dismounted and the files will be copied to the new locations. Once this completes, the database is mounted again and you will need to confirm everything is working after the DB has been moved. Be sure to give yourself plenty of time as this entire migration is dependent on the size of the database.  </p>
<p>Thanks for taking the time to learn how to Move an Exchange Server 2019 Mailbox Database.  </p>
<p>The post <a href="https://thesysadminchannel.com/how-to-move-an-exchange-server-2019-mailbox-database/">How To Move an Exchange Server 2019 Mailbox Database</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/how-to-move-an-exchange-server-2019-mailbox-database/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1393</post-id>	</item>
	</channel>
</rss>
