<?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>Powershell with MFA Archives - the Sysadmin Channel</title>
	<atom:link href="https://thesysadminchannel.com/tag/powershell-with-mfa/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/tag/powershell-with-mfa/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Fri, 13 Nov 2020 07:14:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
<site xmlns="com-wordpress:feed-additions:1">144174110</site>	<item>
		<title>How To Install Exchange Online Powershell Module</title>
		<link>https://thesysadminchannel.com/how-to-install-exchange-online-powershell-module/</link>
					<comments>https://thesysadminchannel.com/how-to-install-exchange-online-powershell-module/#comments</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Mon, 17 Aug 2020 05:19:18 +0000</pubDate>
				<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Connect-ExchangeOnline]]></category>
		<category><![CDATA[Exchange Online v2 module]]></category>
		<category><![CDATA[Install Exchange Online Powershell Module]]></category>
		<category><![CDATA[Powershell with MFA]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=2489</guid>

					<description><![CDATA[<p>With the newer release of the Powershell Module for Exchange Online I wanted to take the time to show you folks how to get that installed on your system. Microsoft claims that it is more reliable and faster than its&#8230; <a href="https://thesysadminchannel.com/how-to-install-exchange-online-powershell-module/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/how-to-install-exchange-online-powershell-module/">How To Install Exchange Online Powershell Module</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>With the newer release of the Powershell Module for Exchange Online I wanted to take the time to show you folks how to get that installed on your system.  Microsoft claims that it is more reliable and faster than its predecessor so I wanted to drop a quick post to show you <strong>how to install Exchange Online Powershell module</strong>.</p>
<div id="attachment_2509" style="width: 1229px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2020/11/Connect-ExchangeOnline-Powershell-Module.png" target="_blank" rel="noopener noreferrer"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-2509" src="https://thesysadminchannel.com/wp-content/uploads/2020/11/Connect-ExchangeOnline-Powershell-Module.png" alt="Connect-ExchangeOnline Powershell Module" width="1219" height="692" class="size-full wp-image-2509" srcset="https://thesysadminchannel.com/wp-content/uploads/2020/11/Connect-ExchangeOnline-Powershell-Module.png?v=1605248807 1219w, https://thesysadminchannel.com/wp-content/uploads/2020/11/Connect-ExchangeOnline-Powershell-Module-1024x581.png?v=1605248807 1024w, https://thesysadminchannel.com/wp-content/uploads/2020/11/Connect-ExchangeOnline-Powershell-Module-768x436.png?v=1605248807 768w" sizes="(max-width: 1219px) 100vw, 1219px" /></a><p id="caption-attachment-2509" class="wp-caption-text">Some new cmdlets are now prefixed with Get-EXO&#8230;</p></div>
<p>The benefit to having this module as opposed to the version 1 module we previously got from the Exchange Admin Center in portal.office.com is that we can install this across everyone&#8217;s profile.  The previous module (using Connect-EXOPSSession) was profile based so if Melissa installed it on her profile, it wouldn&#8217;t carry over to mine and I would have to go through the process myself.  This particularly made it difficult for admins using a shared jumpbox because every new user would need to go through the motions if they wanted the connection.  Pretty lame!</p>
<p>Furthermore, just like its predecessor it also supports MFA so you can ensure your security remains intact.</p>
<h2>Install Exchange Online Powershell Module From PC With Internet Connection</h2>
<ul>
<li>From a computer with an internet connection open PowerShell (preferably as an administrator)</li>
<li>Find-Module -Name ExchangeOnlineManagement</li>
<li>Install-Module -Name ExchangeOnlineManagement -Scope AllUsers</li>
<li>Get-Command -Module ExchangeOnlineManagement</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2020/11/Install-Module-Exchange-Online-Management.png" target="_blank" rel="noopener noreferrer"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2020/11/Install-Module-Exchange-Online-Management.png" alt="Install-Module Exchange Online Management" width="1326" height="740" class="aligncenter size-full wp-image-2513" srcset="https://thesysadminchannel.com/wp-content/uploads/2020/11/Install-Module-Exchange-Online-Management.png?v=1605250046 1326w, https://thesysadminchannel.com/wp-content/uploads/2020/11/Install-Module-Exchange-Online-Management-1024x571.png?v=1605250046 1024w, https://thesysadminchannel.com/wp-content/uploads/2020/11/Install-Module-Exchange-Online-Management-768x429.png?v=1605250046 768w" sizes="(max-width: 1326px) 100vw, 1326px" /></a></p>
<p>Using the <code>-Scope CurrentUser</code> parameter allows Powershell to install the module without administrator access.</p>
<h2>Offline Installation of Exchange Online Management Module</h2>
<p>If you&#8217;re on a machine that for some reason can&#8217;t connect to the internet, or the PSRepository is blocked, that&#8217;s ok because we&#8217;ll go over the steps to install the module without internet access.</p>
<ul>
<li>Hop on a computer with internet access and open PowerShell (preferably as an administrator)</li>
<li>Find-Module -Name ExchangeOnlineManagement</li>
<li>Save-Module -Name ExchangeOnlineManagement -Path <em>Path</em></li>
<li>Copy the files you downloaded to the offline computer</li>
<li>Move the copied files to <strong>C:\Program Files\WindowsPowerShell\Modules</strong> (requires admin rights)</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2020/11/Offline-Installation-of-Exchange-Management-Module.png" target="_blank" rel="noopener noreferrer"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2020/11/Offline-Installation-of-Exchange-Management-Module.png" alt="Offline Installation of Exchange Management Module" width="836" height="394" class="aligncenter size-full wp-image-2515" srcset="https://thesysadminchannel.com/wp-content/uploads/2020/11/Offline-Installation-of-Exchange-Management-Module.png?v=1605250597 836w, https://thesysadminchannel.com/wp-content/uploads/2020/11/Offline-Installation-of-Exchange-Management-Module-768x362.png?v=1605250597 768w" sizes="(max-width: 836px) 100vw, 836px" /></a></p>
<p>&nbsp;</p>
<p>At this point you have the module installed and now it&#8217;s a matter connecting to the Exchange Online service.</p>
<pre class="brush: powershell; title: ; notranslate">
Connect-ExchangeOnline -UserPrincipalName upn@domain.com
Get-Mailbox username
</pre>
<p>&nbsp;</p>
<p>As mentioned this was going to be a really quick note to show you how to Install Exchange Online Powershell Module so hopefully this articles explains that.  If you&#8217;re looking what to do with the Powershell or Exchange Online, be sure to check out our own <a href="https://thesysadminchannel.com/powershell/" rel="noopener noreferrer" target="_blank">Powershell gallery</a> full of useful real world scripts, tips and tricks.  If that&#8217;s not something you&#8217;re in the mood for, check out the other <a href="https://thesysadminchannel.com/office365/exchange-online/" rel="noopener noreferrer" target="_blank">Exchange Online articles</a> or even our <a href="https://www.youtube.com/c/theSysadminChannel" rel="noopener noreferrer" target="_blank">Youtube Channel</a> for more fun in the sysadmin sun.</p>
<p>The post <a href="https://thesysadminchannel.com/how-to-install-exchange-online-powershell-module/">How To Install Exchange Online Powershell Module</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/how-to-install-exchange-online-powershell-module/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2489</post-id>	</item>
	</channel>
</rss>
