<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Eric&#039;s Notes</title>
	<atom:link href="https://erickoo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://erickoo.wordpress.com</link>
	<description>Notes, observations and other useful bits</description>
	<lastBuildDate>Sun, 26 Jul 2020 20:03:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<site xmlns="com-wordpress:feed-additions:1">7473527</site><cloud domain='erickoo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s0.wp.com/i/buttonw-com.png</url>
		<title>Eric&#039;s Notes</title>
		<link>https://erickoo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://erickoo.wordpress.com/osd.xml" title="Eric&#039;s Notes" />
	<atom:link rel='hub' href='https://erickoo.wordpress.com/?pushpress=hub'/>
	<item>
		<title>This blog is now just an Archive</title>
		<link>https://erickoo.wordpress.com/2020/07/26/this-blog-is-now-just-an-archive/</link>
					<comments>https://erickoo.wordpress.com/2020/07/26/this-blog-is-now-just-an-archive/#respond</comments>
		
		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Sun, 26 Jul 2020 20:03:40 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://erickoo.wordpress.com/?p=462</guid>

					<description><![CDATA[Thanks for reading my blog. I won&#8217;t be updating this blog anymore. If you would like to see my latest posts, please check out my new blog at https://www.rkoosaar.cf]]></description>
										<content:encoded><![CDATA[<p>Thanks for reading my blog. I won&#8217;t be updating this blog anymore. If you would like to see my latest posts, please check out my new blog at <a href="https://www.rkoosaar.cf">https://www.rkoosaar.cf</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://erickoo.wordpress.com/2020/07/26/this-blog-is-now-just-an-archive/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">462</post-id>
		<media:content url="https://2.gravatar.com/avatar/55e7983f49b7f449c638b498d3636c6a91349f839ae57949703d1e1113ebb1cd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eric</media:title>
		</media:content>
	</item>
		<item>
		<title>Export Mailbox into a PST from Exchange 2010</title>
		<link>https://erickoo.wordpress.com/2017/03/15/export-mailbox-into-a-pst-from-exchange-2010/</link>
					<comments>https://erickoo.wordpress.com/2017/03/15/export-mailbox-into-a-pst-from-exchange-2010/#respond</comments>
		
		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Wed, 15 Mar 2017 11:52:56 +0000</pubDate>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<guid isPermaLink="false">http://erickoo.wordpress.com/?p=459</guid>

					<description><![CDATA[Below are the commands required to export mailbox and save in PST format. # Give permissions to user doing the export New-ManagementRoleAssignment –Role &#34;Mailbox Import Export&#34; –User Admin # Create Network Share and give permissions to Exchange Trusted Subsystem read/write # Start the Mailbox Export New-MailboxExportRequest -Mailbox first.surname -FilePath \\comp\share # Start mailbox export with [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Below are the commands required to export mailbox and save in PST format.</p>
<p><font color="#008040"># Give permissions to user doing the export</font></p>
<blockquote>
<p><font color="#c0504d"><font color="#0000ff">New-ManagementRoleAssignment</font> <font color="#000000">–Role</font> &quot;Mailbox Import Export&quot; <font color="#000000">–User </font>Admin</font></p>
</blockquote>
<p># Create Network Share and give permissions to Exchange Trusted Subsystem read/write</p>
<p><font color="#008040"># Start the Mailbox Export</font></p>
<blockquote>
<p><font color="#c0504d"><font color="#0000ff">New-MailboxExportRequest</font> <font color="#000000">-Mailbox</font> first.surname <font color="#000000">-FilePath</font> </font><a href="//\\comp\share"><font color="#c0504d">\\comp\share</font></a></p>
</blockquote>
<p><font color="#008040"># Start mailbox export with archive</font> </p>
<blockquote>
<p><font color="#c0504d"><font color="#0000ff">New-MailboxExportRequest</font> <font color="#000000">-Mailbox</font> first.surname <font color="#000000">-FilePath</font> \\comp\share -IsArchive</font></p>
</blockquote>
<p><font color="#008040"># Check the status of mailbox export request</font></p>
<blockquote>
<p><font color="#0000ff">Get-MailboxExportRequest</font>&#160; </p>
</blockquote>
<p><font color="#008040">or</font></p>
<blockquote>
<p><font color="#c0504d"><font color="#0000ff">Get-MailboxExportRequest</font> | </font><font color="#0000ff">Get-MailboxExportRequestStatistics</font></p>
</blockquote>
<p><font color="#008040"># When Mailbox export request has been finished. Remove it</font></p>
<blockquote>
<p><font color="#c0504d"><font color="#0000ff">Get-MailboxExportRequest</font> | <font color="#0000ff">Where</font> {$_.status <font color="#000000">-eq</font> &quot;Completed&quot;} | </font><font color="#0000ff">Remove-MailboxExportRequest</font></p>
</blockquote>
<p>-Eric</p>
]]></content:encoded>
					
					<wfw:commentRss>https://erickoo.wordpress.com/2017/03/15/export-mailbox-into-a-pst-from-exchange-2010/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">459</post-id>
		<media:content url="https://2.gravatar.com/avatar/55e7983f49b7f449c638b498d3636c6a91349f839ae57949703d1e1113ebb1cd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eric</media:title>
		</media:content>
	</item>
		<item>
		<title>Manage Office 365 User licenses with Powershell</title>
		<link>https://erickoo.wordpress.com/2017/01/13/manage-office-365-user-licenses-with-powershell/</link>
					<comments>https://erickoo.wordpress.com/2017/01/13/manage-office-365-user-licenses-with-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Fri, 13 Jan 2017 11:31:34 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Azure AD]]></category>
		<guid isPermaLink="false">http://erickoo.wordpress.com/?p=457</guid>

					<description><![CDATA[Install required Software first Install the 64-bit version of the Microsoft Online Services Sign-In Assistant – LINK Install the 64-bit version of the Windows Azure Active Directory Module for Windows PoweShell – LINK PowerShell commands # Import MSOnline Module Import-Module MSOnline # Connect to Office 365 $O365Cred = Get-Credential Connect-MsolService -Credential $O365Cred # Show Licenses [&#8230;]]]></description>
										<content:encoded><![CDATA[<h3>Install required Software first   </p>
</h3>
<ul>
<li>Install the 64-bit version of the Microsoft Online Services Sign-In Assistant – <a href="http://go.microsoft.com/fwlink/p/?LinkId=286152">LINK</a> </li>
<li>Install the 64-bit version of the Windows Azure Active Directory Module for Windows PoweShell – <a href="http://go.microsoft.com/fwlink/p/?linkid=236297">LINK</a> </li>
</ul>
<h3>PowerShell commands </h3>
<blockquote>
<p><font color="#008000"># Import MSOnline Module</font> </p>
<p><font color="#c0504d"><em><font color="#0000ff">Import-Module</font> MSOnline</em></font><font size="2"> </font>      </p>
</blockquote>
<blockquote>
<p><font color="#008000"># Connect to Office 365</font></p>
<p><font color="#c0504d"><em>$O365Cred <font color="#cccccc">=</font> <font color="#0000ff">Get-Credential            <br /></font><font color="#0000ff">Connect-MsolService</font> <font color="#000000">-Credential</font> $O365Cred</em></font></p>
</blockquote>
<blockquote>
<p><font color="#008000"># Show Licenses</font></p>
<p><font color="#0000ff"><em>Get-MsolAccountSku</em></font></p>
</blockquote>
<blockquote>
<p><font color="#008000"># View details about the Services that are available in all of your license plans</font></p>
<p><em><font color="#0000ff">Get-MsolAccountSku</font> <font color="#cccccc">|</font> <font color="#0000ff">Select</font> -ExpandProperty <font color="#9b00d3">ServiceStatus</font></em></p>
</blockquote>
<blockquote>
<p><font color="#008000"># Check which users have licenses</font></p>
<p><em><font color="#0000ff">Get-MsolUser</font> -All | fl <font color="#9b00d3">DisplayName, UsageLocation,isLicensed,Licenses</font></em></p>
</blockquote>
<blockquote>
<p><font color="#008000"># Check if a user has a license – Single</font></p>
<p><em><font color="#0000ff">Get-MsolUser</font> -UserPrincipalName <font color="#c0504d">&quot;user.name@domain.com&quot;</font> | <font color="#0000ff">ft</font> <font color="#9b00d3">DisplayName, UsageLocation,isLicensed,Licenses</font></em></p>
</blockquote>
<blockquote>
<p><font color="#008000"># Add a license – Single user</font></p>
<p><em><font color="#0000ff">Set-MsolUserLicense</font> -UserPrincipalName <font color="#c0504d">&quot;user.name@domain.com&quot;</font> -AddLicenses <font color="#c0504d">&quot;company:ENTERPRISEPACK&quot;</font></em></p>
</blockquote>
<blockquote>
<p><font color="#008000"># Remove a license – Single user</font></p>
<p><em><font color="#0000ff">Set-MsolUserLicense</font> -UserPrincipalName <font color="#c0504d">&quot;user.name@domain.com&quot;</font> –RemoveLicenses <font color="#c0504d">&quot;company:ENTERPRISEPACK&quot;</font></em></p>
</blockquote>
<blockquote>
<p><font color="#008000"># Bulk Add licenses</font></p>
<p><em><font color="#c0504d">$Users</font> = <font color="#0000ff">Import-Csv</font> -Path <font color="#c0504d">&quot;C:\Temp\licenses.csv&quot;          <br /></font>foreach (<font color="#c0504d">$User</font> in <font color="#c0504d">$Users</font>)         <br />{         <br />&#160;&#160;&#160; <font color="#c0504d">$UPN</font> = <font color="#c0504d">$User</font>.<font color="#c0504d">&#8216;SamAccountName&#8217;</font> + <font color="#c0504d">&quot;@zhgplc.com&quot;</font>         <br />&#160;&#160;&#160; <font color="#0000ff">Set-MsolUser</font> -UserPrincipalName <font color="#c0504d">&quot;$UPN&quot;</font> -UsageLocation <font color="#c0504d">&quot;GB&quot;</font>         <br />&#160;&#160;&#160; <font color="#0000ff">Set-MsolUserLicense</font> -UserPrincipalName <font color="#c0504d">&quot;$UPN&quot;</font> -AddLicenses <font color="#c0504d">&quot;company:ENTERPRISEPACK&quot;</font>         <br />}</em></p>
</blockquote>
<blockquote>
<p><font color="#008000"># Bulk check added licenses</font>&#160; </p>
<p>   <em><font color="#c0504d">$Users</font> = <font color="#0000ff">Import-Csv</font> -Path <font color="#c0504d">&quot;C:\Temp\licenses.csv&quot;        <br /></font>foreach (<font color="#c0504d">$User</font> in <font color="#c0504d">$Users</font>)</em><em>      <br />{       <br />&#160;&#160;&#160; <font color="#c0504d">$UPN</font> = <font color="#c0504d">$User</font>.<font color="#c0504d">&#8216;SamAccountName&#8217;</font> + <font color="#c0504d">&quot;@zhgplc.com&quot;</font>       <br />&#160;&#160;&#160; <font color="#0000ff">Get-MsolUser</font> -UserPrincipalName <font color="#c0504d">&quot;$UPN&quot;</font> | <font color="#0000ff">ft</font> <font color="#9b00d3">DisplayName, UsageLocation, Licenses</font>       <br />}</em></p></blockquote>
<p>&#160;</p>
<p>-Eric</p>
]]></content:encoded>
					
					<wfw:commentRss>https://erickoo.wordpress.com/2017/01/13/manage-office-365-user-licenses-with-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">457</post-id>
		<media:content url="https://2.gravatar.com/avatar/55e7983f49b7f449c638b498d3636c6a91349f839ae57949703d1e1113ebb1cd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eric</media:title>
		</media:content>
	</item>
		<item>
		<title>How to recover sysadmin access to SQL Server 2012 when sa password is lost</title>
		<link>https://erickoo.wordpress.com/2017/01/12/how-to-recover-sysadmin-access-to-sql-server-2012-when-sa-password-is-lost/</link>
					<comments>https://erickoo.wordpress.com/2017/01/12/how-to-recover-sysadmin-access-to-sql-server-2012-when-sa-password-is-lost/#respond</comments>
		
		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Thu, 12 Jan 2017 13:59:20 +0000</pubDate>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">http://erickoo.wordpress.com/?p=455</guid>

					<description><![CDATA[Open the SQL Server Configuration Manager tool Navigate to SQL Server Services and Stop the SQL Server Instance that needs a sa password reset Right click the on the instance/service and select properties. Go to the “Startup Parameters” tab, and in the Specify a Startup Parameter text box write&#160; “-mSQLCMD”, click Add and then click [&#8230;]]]></description>
										<content:encoded><![CDATA[<ol>
<li>Open the<strong> SQL Server Configuration Manager</strong> tool </li>
<li>Navigate to SQL Server Services and Stop the SQL Server Instance that needs a <strong>sa</strong> password reset </li>
<li>Right click the on the instance/service and select properties. </li>
<li>Go to the “<strong>Startup Parameters</strong>” tab, and in the Specify a Startup Parameter text box write&#160; “<strong>-mSQLCMD</strong>”, click Add and then click OK. </li>
<li>Restart the SQL Server Instance&#160; which will now be running in single-user mode</li>
</ol>
<p>When the SQL Server Instance starts in single-user mode,&#160; you can use the Windows Administrator account to connect to SQL Server using the <strong>sqlcmd</strong> utility and Windows authentication.</p>
<p>Connect to SQL Server using sqlcmd: <strong>sqlcmd –S.\SQLExpress</strong></p>
<p>The following example adds the account “<strong>John</strong>” in the “<strong>EXAMPLE</strong>” domain to the SQL Server “<strong>sysadmin</strong>” role:</p>
<p><strong>EXEC sp_addsrvrolemember ‘EXAMPLE\John, ‘sysadmin’;     <br /></strong><strong>GO     <br /></strong><strong>     <br />Note! </strong>Once the sysadmin access has been recovered, remove the “;-mSQLCMD” from the startup parameters using the Configuration Manager and restart the SQL Server Instance</p>
<p>-Eric</p>
]]></content:encoded>
					
					<wfw:commentRss>https://erickoo.wordpress.com/2017/01/12/how-to-recover-sysadmin-access-to-sql-server-2012-when-sa-password-is-lost/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">455</post-id>
		<media:content url="https://2.gravatar.com/avatar/55e7983f49b7f449c638b498d3636c6a91349f839ae57949703d1e1113ebb1cd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eric</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure logs to be sent to External Syslog Server (Synology) using ESXi Web Host Client</title>
		<link>https://erickoo.wordpress.com/2017/01/10/configure-logs-to-be-sent-to-external-syslog-server-synology-using-esxi-web-host-client/</link>
					<comments>https://erickoo.wordpress.com/2017/01/10/configure-logs-to-be-sent-to-external-syslog-server-synology-using-esxi-web-host-client/#respond</comments>
		
		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Tue, 10 Jan 2017 12:02:00 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">http://erickoo.wordpress.com/?p=453</guid>

					<description><![CDATA[Step 1 &#8211; Add the external log server Go to Manage &#62; System &#62; Advanced Settings and locate Syslog.global.logHost and edit settings. Add the following: udp://SERVER.domain.com:514 Step 2 &#8211; Configure Firewall rules to allow access to external syslog server. Go to Host &#62; Networking &#62; Firewall Rules and locate syslog and edit settings: Select Only [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Step 1 &#8211; Add the external log server</strong></p>
<p>Go to <em><font color="#c0504d"><strong>Manage &gt; System &gt; Advanced Settings</strong></font></em> and locate <b>Syslog.global.logHost</b> and edit settings.</p>
<p>Add the following: <b>udp://SERVER.domain.com:514</b></p>
<p><strong>Step 2 &#8211; Configure Firewall rules to allow access to external syslog server.</strong></p>
<p>Go to <em><font color="#c0504d"><strong>Host &gt; Networking &gt; Firewall Rules</strong></font></em> and locate <b>syslog</b> and edit settings:</p>
<p>Select <strong>Only allow connections from the following networks</strong> and enter the external syslog server.</p>
<p>-Eric</p>
]]></content:encoded>
					
					<wfw:commentRss>https://erickoo.wordpress.com/2017/01/10/configure-logs-to-be-sent-to-external-syslog-server-synology-using-esxi-web-host-client/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">453</post-id>
		<media:content url="https://2.gravatar.com/avatar/55e7983f49b7f449c638b498d3636c6a91349f839ae57949703d1e1113ebb1cd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eric</media:title>
		</media:content>
	</item>
	</channel>
</rss>
