<?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#"
	>

<channel>
	<title>ServerCore &#8211; Webbanshee</title>
	<atom:link href="https://webbanshee.net/tag/servercore/feed/" rel="self" type="application/rss+xml" />
	<link>https://webbanshee.net</link>
	<description>Your Exchange Server Blog</description>
	<lastBuildDate>Thu, 28 Apr 2022 07:36:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://webbanshee.net/wp-content/uploads/2017/01/WB_BL_RND-150x150.png</url>
	<title>ServerCore &#8211; Webbanshee</title>
	<link>https://webbanshee.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">122610384</site>	<item>
		<title>ADFS Server Core Token Signing Certificate</title>
		<link>https://webbanshee.net/adfs-server-core-token-signing-certificate/</link>
					<comments>https://webbanshee.net/adfs-server-core-token-signing-certificate/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Wed, 27 Oct 2021 10:38:03 +0000</pubDate>
				<category><![CDATA[Serverside]]></category>
		<category><![CDATA[ADFS]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[ServerCore]]></category>
		<guid isPermaLink="false">https://webbanshee.net/?p=4027</guid>

					<description><![CDATA[<style>.key{background:#444444;padding-left: 5px;padding-right: 5px;padding-top: 2px;padding-bottom: 2px;color:#fefefe;border-radius: 3px;font-size: 14px;}</style>
<p><a class="ex-link" href="https://webbanshee.net/adfs-server-core-token-signing-certificate/"><img style="border-radius:8px;" src="https://webbanshee.net/wp-content/uploads/2021/10/ADFS-Server-Core.svg"/><span class="exTeaser" style="width:70%;">ADFS Server Core Token Signing Certificate</span><br />
<span class="exText" style="width:70%;" >With ADFS running on Server Core the method of the yearly renewal of the Token Signing Certificate has changed to PowerShell only. I have just finished the renewal of the Token Signing Certificate via Powershell in our test environment. In this post, I will sum up the steps.<span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/adfs-server-core-token-signing-certificate/">ADFS Server Core Token Signing Certificate</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<style>
.num{margin-top:2px!Important; margin-right:10px;} h2 {font-weight: bold;text-decoration:none;font-size: 20px!Important;} .see {overflow-x: scroll!Important; overflow-y: hidden;white-space:nowrap;} .wpe-box-note3 {color:#333;}
</style>
<p>Hi there, we have upgraded our servers. ADFS servers are running on Windows Server 2019 Core now. Therewith the method of the yearly renewal of the Token Signing Certificate has changed to PowerShell only.</p>
<p>I have just finished the renewal of the Token Signing Certificate via Powershell in our test environment. In this post, I will sum up the steps.</p>
<p>In case you want to renew the Token Signing certificate via GUI on an appropriate server see this post: <a href="https://webbanshee.net/adfs-token-signing-certificate/">Renew ADFS Token Signing Certificate</a></p>
<p>Let&#8217;s start with a short description of relevant ADFS properties: <span style="font-weight:bold;">[Get-ADFSProperties | fl *cert*]</span></p>
<div class="wpe-box wpe-box-alert" style="background: #F9F6D9!Important; text-align:justify;">
<h4><span style="text-decoration: underline; color: #993333;"><strong>CertficateGenerationThreshold :</strong></span></h4>
<p>Has by default a value of 20 ( days ). That means that 20 days before the current primary ADFS Token Signing Certificate expires, a secondary certificate will be generated ( this will be the new cert after the current one expires ). You can check if the secondary certificate has already been created withe the following commands: </p>
<div class="wpe-box wpe-box-note3" style="color:#232366;">
<span style="font-weight:bold;">Get-AdfsCertificate -CertificateType Token-Signing</span><br />
<span style="font-weight:bold;">Get-AdfsCertificate -CertificateType Token-Decrypting</span>
</div>
<p>When the secondary certificate exists the ouput should list minimum two certificates. Focus on the certificate which has the attribute <span style="font-weight:bold;">IsPrimary</span> set to <span style="font-weight:bold;">False</span>. Verify that the <span style="font-weight:bold;">Not Before:</span> date is correct. </p>
<h4><span style="text-decoration: underline; color: #993333;"><strong>AutoCertificateRollover :</strong></span></h4>
<p>The default value of this attribute should be set to $True and should only be changed to $False for the time when the automatically created secondary certificate will be assigned as the primary ADFS certificate. When you manually renew the Token Signing Certificate this should always be set to $False. Otherwise, the secondary certificate will be promoted as the primary certificate automatically. Web logins to application servers will not be possible until the new certificate has not been introduced on the affected application servers.  </p>
<h4><span style="text-decoration: underline; color: #993333;"><strong>CertificatePromotionThreshold :</strong></span></h4>
<p>This attribute is important and should be monitored before the upcoming expiration of the current ADFS Token Signing Certificate. It defines after how many days ( counting from the creation date of the secondary ADFS certificate ) the new certificate will be defined automatically as primary.<br />
If the value of this attribute is set to 15 it means that the secondary certificate will be assigned as primary automatically after 15 days.<br />
Based on the example above the servers should be updated with the thumbprint of the new certificate maximum of 15 days ( better earlier ) after the creation of the secondary ADFS Token Signing Certificate.</p>
<h4><span style="text-decoration: underline; color: #993333;"><strong>CertificateRolloverInterval :</strong></span></h4>
<p>Defines the interval in minutes at which ADFS checks if a new certificate needs to be generated. The default value is 720. If you change the values above accordingly to their meaning and your needs you can lower this value to 5 minutes for instance to generate the secondary certificate if it has not been generated yet. Set it back to default afterward.</p>
<p>Microsoft describes these properties <a href="https://social.technet.microsoft.com/wiki/contents/articles/16156.ad-fs-2-0-understanding-autocertificaterollover-threshold-properties.aspx" rel="noopener noreferrer" target="_blank">here</a>.
</div>
<p><br />
With that being said we are good to go. Log on to your ADFS Server Core.</p>
<h2><img src="https://webbanshee.net/wp-content/uploads/2019/01/round_1.svg" alt="1 - ADFS Server Core" class="num"  role="img" />Query the secondary Token Signing and Decrypting certificates</h2>
<div class="wpe-box wpe-box-note3" Style="font-weight:bold;margin-bottom: 10px;">
Get-AdfsCertificate -CertificateType Token-Signing | where {$_.IsPrimary -eq $False}<br />
Get-AdfsCertificate -CertificateType Token-Decrypting   | where {$_.IsPrimary -eq $False}
</div>
<p>Note the thumbprints. You will need them later.</p>
<h2><img src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2 -" class="num"  role="img" />Export the secondary Token Signing Certificate</h2>
<p>Export the certificate to a location you can reach from the application servers. I usually export the cert to a local folder on the ADFS server.</p>
<div class="wpe-box wpe-box-note3 see" Style="font-weight:bold;margin-bottom: 20px;">
$certRefs=Get-AdfsCertificate -CertificateType Token-Signing | where {$_.IsPrimary -eq <span style="font-weight:bold; color:#993333;">$False</span>}<br />
$certBytes=$certRefs[0].Certificate.Export([System.Security.Cryptography.X509Certificates.X509ContentType]::Cert)<br />
[System.IO.File]::WriteAllBytes(<span style="font-weight:bold; color:#993333;">&#8220;C:\PathToExportFolder\CertName.cer&#8221;</span>, $certBytes)
</div>
<h2><img src="https://webbanshee.net/wp-content/uploads/2019/01/round_3.svg" alt="3 -" class="num"  role="img" />Import the certificate from your ADFS Server Core to all Exchange servers</h2>
<p>The certificate will be imported to the Trusted Root Certification Authority of LocalMachine:</p>
<div class="wpe-box wpe-box-note3 see" Style="font-weight:bold;margin-bottom: 10px;">
Import-Certificate -FilePath <span style="font-weight:bold; color:#993333;">\\ADFSServerName\c`$\PathToExportFolderOnADFSServer\CertName.cer</span> -CertStoreLocation Cert:\LocalMachine\Root
</div>
<p>You can check that the certificate has been imported successfully via remote MMC from a GUI server:</p>
<div class="wpe-box wpe-box-note3">
<span style="color:#232366;font-weight:bold;">MMC > Add/Remove Snap-in > Certificates > Computername > This snap-in will manage: Another Computer > Enter the <span style="color:#993333;font-weight:bold;">ServerName</span> where you just have imported the certificate.</span></p>
<p><span style="color:#232366;font-weight:bold;">Navigate to <span style="color:#993333;font-weight:bold;">ServerName</span>\Trusted Root Certification Authorities > Certificates and verify that the imported ADFS Signing certificate is there.</span>
</div>
<p>Of course you can check it with PowerShell as well:</p>
<div class="wpe-box wpe-box-note3" style="font-weight:bold;">
Set-Location -Path cert:\LocalMachine\root<br />
Get-ChildItem | where {$_.subject -like &#8220;*ADFS*&#8221;} | fl
</div>
<h2><img src="https://webbanshee.net/wp-content/uploads/2019/01/round_4.svg" alt="4 -" class="num"  role="img" />Promote the new secondary certificate to primary on ADFS Server Core</h2>
<div class="wpe-box wpe-box-alert" style="background: #F9F6D9!Important;color:#993333;font-weight:bold; text-align:justify;">
After this logins to web services on the involved application servers using ADFS will not be possible until the new certificate has been introduced on the application servers! ( E.g. Exchange OWA )
</div>
<p>Set AutoCertificationRollover to False to be able to promote your secondary certificate to primary:</p>
<div class="wpe-box wpe-box-note3" style="font-weight:bold;">
Set-ADFSProperties -AutoCertificateRollover <span style="color:#993333;font-weight:bold;">$False</span>
</div>
<p>Query the thumbprint of the new Token Signing and Decrypting certificates:</p>
<div class="wpe-box wpe-box-note3" style="font-weight:bold;">
Get-AdfsCertificate -CertificateType Token-Signing | where {$_.IsPrimary -eq $False}<br />
Get-AdfsCertificate -CertificateType Token-Decrypting   | where {$_.IsPrimary -eq $False}
</div>
<p>Note the thumbprint of both certificates.</p>
<p>Promote both secondary certificates ( Token Signing and Decrypting ) to primary:</p>
<div class="wpe-box wpe-box-note3 see" style="font-weight:bold;">
Set-AdfsCertificate -IsPrimary -CertificateType &#8220;Token-Signing&#8221; -Thumbprint <span style="color:#993333;font-weight:bold;">ThumbprintGoesHere</span><br />
Set-AdfsCertificate -IsPrimary -CertificateType &#8220;Token-Decrypting&#8221; -Thumbprint <span style="color:#993333;font-weight:bold;">ThumbprintGoesHere</span>
</div>
<div class="wpe-box wpe-box-alert" style="background: #F9F6D9!Important;text-align:justify;">
<span style="color:#993333;font-weight:bold;">However, I got an error here stating that I need to add the certificate first. When I tried to add the Token Signing certificate on ADFS Server Core:</span></p>
<div class="wpe-box wpe-box-note3" style="margin-bottom: 10px;">
<span style="color:#181818;font-weight:bold;">Add-AdfsCertificate -CertificateType Token-Signing | where {$_.IsPrimary -eq $False}</span>
</div>
<p><span style="color:#993333;font-weight:bold;">The output was a message stating the certificate is already added.</span></p>
<p><span style="color:#993333;font-weight:bold;">I think you need to wait a little bit after you set AutoCertificateRollover to True. Several tries later it succeeded. To be honest I could not identify the cause &#8211; I just assume it could have been the elapsed time after I set AutoCertificateRollover to True.</span>
</div>
<p>Verify that the new certificates have the primary status:</p>
<div class="wpe-box wpe-box-note3" style="margin-bottom: 10px;">
<span style="font-weight:bold;">Get-AdfsCertificate -CertificateType Token-Signing | where {$_.IsPrimary -eq <span style="color:#993333;font-weight:bold;">$True</span>}</span><br />
<span style="font-weight:bold;">Get-AdfsCertificate -CertificateType Token-Decrypting   | where {$_.IsPrimary -eq <span style="color:#993333;font-weight:bold;">$True</span>}</span>
</div>
<p>Switch AutoCertificateRollover back to True:</p>
<div class="wpe-box wpe-box-note3" style="margin-bottom: 10px;">
<span style="font-weight:bold;">Set-ADFSProperties -AutoCertificateRollover</span> <span style="color:#993333;font-weight:bold;">$True</span>
</div>
<p>Check it:</p>
<div class="wpe-box wpe-box-note3">
<span style="font-weight:bold;">Get-ADFSProperties | fl *cert*</span></p>
<p>AutoCertificateRollover should be True!
</p></div>
<h2><img src="https://webbanshee.net/wp-content/uploads/2019/01/round_5.svg" alt="5 -" class="num"  role="img" />Introduce the new Token Signing Certificate to the Exchange organization</h2>
<p>It is enough to fire the following command once from an Exchange Server within your organization:</p>
<div class="wpe-box wpe-box-note3" style="margin-bottom: 15px;">
<span style="font-weight:bold;">Set-OrganizationConfig -AdfsSignCertificateThumbprint</span> <span style="font-weight:bold;color:#993333;">ADFSTokenSigningCertThumbprint</span>
</div>
<p>Verify the AdfsSignCertificateThumbprint:</p>
<div class="wpe-box wpe-box-note3" style="margin-bottom: 15px;">
<span style="font-weight:bold;">Get-OrganizationConfig | select adfs*</span>
</div>
<p>Restart IIS:</p>
<div class="wpe-box wpe-box-note3" style="margin-bottom: 15px;">
<span style="font-weight:bold;">iisreset /noforce</span>
</div>
<p>Or Restart IIS remotely:</p>
<div class="wpe-box wpe-box-note3" style="margin-bottom: 15px;">
<span style="font-weight:bold;">invoke-command -computername <span style="font-weight:bold;color:#993333;">&#8220;ServerName&#8221;</span> -scriptblock {iisreset /noforce}</span>
</div>
<p>Now try to login via web frontend to your application servers. ( try an Outlook on the Web login ) </p>
<p>That&#8217;s it <img loading="lazy" src="https://webbanshee.net/wp-content/uploads/2017/11/Smiley.svg" alt="ADFS Server Core Smiley" width="24" height="24" class="alignnone size-thumbnail wp-image-1478" style="margin-top: 0px; margin-left:8px;" role="img" /></p>
<p>Stay healthy!<br />
&nbsp;</p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/adfs-server-core-token-signing-certificate/">ADFS Server Core Token Signing Certificate</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/adfs-server-core-token-signing-certificate/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4027</post-id>	</item>
		<item>
		<title>Add Secondary IP Address Windows Server</title>
		<link>https://webbanshee.net/add-ip-address-windows-server/</link>
					<comments>https://webbanshee.net/add-ip-address-windows-server/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Mon, 07 Dec 2020 11:22:19 +0000</pubDate>
				<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2016]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[IP-Address]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[ServerCore]]></category>
		<guid isPermaLink="false">https://webbanshee.net/?p=3809</guid>

					<description><![CDATA[<style>.key{background:#444444;padding-left: 5px;padding-right: 5px;padding-top: 2px;padding-bottom: 2px;color:#fefefe;border-radius: 3px;font-size: 14px;}</style>
<p><a class="ex-link" href="https://webbanshee.net/add-ip-address-windows-server/"><img src="https://webbanshee.net/wp-content/uploads/2020/12/Add_Remove_IPaddress.svg"/><span class="exTeaser" style="width:70%;">Add or remove an IP address with PowerShell. Includes a script at the end of the post. Fell free to use.</span><br />
<span class="exText" style="width:70%;" >If you want to add a secondary IP Address without using the Change Adapter Options in the GUI ( especially on Windows Core servers ) you can achieve this in a simple way via PowerShell.<span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/add-ip-address-windows-server/">Add Secondary IP Address Windows Server</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<style>.bckgr {background:#ccc;} .see {overflow-x:scroll!Important;overflow-y:hidden;white-space: nowrap;Background:#FDFDF4;border-left: 16px solid #7C98E2; border-top-left-radius:30px; padding-top:15px;padding-left:15px;padding-bottom:10px;scroll-behavior: smooth;}.MsoNormal {background:transparent!Important;} .code-bg {font-weight:bold; margin-top: -5px;} .BlueCopy:hover {opacity: 0.85;} h2 {font-weight: bold;text-decoration:none;font-size: 20px!Important;}h3 {font-weight: bold;text-decoration:none;font-size: 18px!Important;}h4 {font-weight: bold;text-decoration:none;font-size: 16px!Important;}.wp-image-2045,.wp-image-2051,.wp-image-2050,.wp-image-2049,.wp-image-2056, .wp-image-2055 {margin-top:2px!Important;margin-right:6px;} .wpe-button-blue {background: #1072C1!Important; border: none!Important;}.blue{background:#6666cc;padding-left: 5px;padding-right: 5px;padding-top: 2px;padding-bottom: 2px;color:#fefefe;border-radius: 3px;font-size: 14px;}</style>
<p style="text-align: justify;">If you want to add a secondary IP Address without using the Change Adapter Options in the GUI ( especially on Windows Core servers ) you could use <span class="blue">sconfig</span> or simply add the IP address with PowerShell.</p>
<p style="text-align: justify;">In my case, I wanted to add a secondary IP address to a certain interface on some Windows Server Core servers. Unfortunately, an Invalid Index error was thrown when I chose the appropriate interface under sconfig &#8211; Network Settings:</p>
<div class="wpe-box wpe-box-note3" style="margin-top: 50px;"><a href="https://webbanshee.net/wp-content/uploads/2020/12/Invalid_Index.png"><img loading="lazy" class="aligncenter size-full wp-image-3817" src="https://webbanshee.net/wp-content/uploads/2020/12/Invalid_Index.png" alt="Invalid Index Network Settings" width="623" height="130" srcset="https://webbanshee.net/wp-content/uploads/2020/12/Invalid_Index.png 623w, https://webbanshee.net/wp-content/uploads/2020/12/Invalid_Index-300x63.png 300w" sizes="(max-width: 623px) 100vw, 623px" /></a></div>
<p style="text-align: justify;">However, I faced this error a couple of months ago already when I wanted to <a class="wpe-button wpe-button-blue" href="https://webbanshee.net/disable-ipv6-on-server-core/" rel="noopener noreferrer">Disable IPv6</a> in my test lab.</p>
<p style="text-align: justify;">Because this time it was production servers I didn&#8217;t want to change any settings while adding secondary IP addresses to the servers. The only option was to add a secondary IP address via PowerShell.</p>
<p>&#8230; and here we go:</p>
<h2>Add Secondary IP Address to Network Interface:</h2>
<h3><img class="alignnone size-full wp-image-2045" src="https://webbanshee.net/wp-content/uploads/2019/01/round_1.svg" alt="1 -" />List Network Interfaces with name and Interface Index</h3>
<div class="wpe-box wpe-box-note3">
<p><strong>Get-NetAdapter</strong></p>
<p><a href="https://webbanshee.net/wp-content/uploads/2020/12/Get-NetAdapter.png"><img loading="lazy" class="aligncenter size-full wp-image-3820" src="https://webbanshee.net/wp-content/uploads/2020/12/Get-NetAdapter.png" alt="List Network Interfaces" width="588" height="102" srcset="https://webbanshee.net/wp-content/uploads/2020/12/Get-NetAdapter.png 588w, https://webbanshee.net/wp-content/uploads/2020/12/Get-NetAdapter-300x52.png 300w" sizes="(max-width: 588px) 100vw, 588px" /></a></p>
</div>
<h3><img class="alignnone size-full wp-image-2051" src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2 -" />Display existent IPs on chosen Network Interface</h3>
<div class="wpe-box wpe-box-note3">To list IPv4 and IPv6 IP addresses:<br />
<span style="font-weight: bold;">Get-NetAdapter -ifIndex</span><span style="font-weight: bold; color: #993333;">  ifIndex Number</span><span style="font-weight: bold;"> | Get-NetIPAddress | select IPAddress | ft</span><a href="https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_All.png"><img loading="lazy" class="aligncenter size-full wp-image-3821" src="https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_All.png" alt="List IPv4 and IPv6 addresses" width="889" height="90" srcset="https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_All.png 889w, https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_All-300x30.png 300w, https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_All-768x78.png 768w" sizes="(max-width: 889px) 100vw, 889px" /></a>To display only IPv4 addresses:<br />
<span style="font-weight: bold;">Get-NetAdapter -ifIndex</span><span style="font-weight: bold; color: #993333;"> ifIndex Number</span><span style="font-weight: bold;"> | Get-NetIPAddress | where {$_.AddressFamily –eq “IPv4”} | select IPAddress</span><br />
<a href="https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4.png"><img loading="lazy" class="aligncenter size-full wp-image-3828" src="https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4.png" alt="List IPv4 addresses" width="899" height="82" srcset="https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4.png 899w, https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4-300x27.png 300w, https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4-768x70.png 768w" sizes="(max-width: 899px) 100vw, 899px" /></a></p>
</div>
<h3><img class="alignnone size-full wp-image-2050" src="https://webbanshee.net/wp-content/uploads/2019/01/round_3.svg" alt="3 -" />Add new IP address</h3>
<div class="wpe-box wpe-box-note3"><span style="font-weight: bold;">New-NetIPAddress –IPAddress </span><span style="font-weight: bold; color: #993333;">&#8220;IpAddress goes here&#8221;</span><span style="font-weight: bold;"> –PrefixLength 24 –InterfaceIndex</span><span style="font-weight: bold; color: #993333;"> ifIndex Number</span><br />
<a href="https://webbanshee.net/wp-content/uploads/2020/12/Add_New_IP_Address.png"><img loading="lazy" class="aligncenter size-full wp-image-3819" src="https://webbanshee.net/wp-content/uploads/2020/12/Add_New_IP_Address.png" alt="Add secondary IP address" width="727" height="402" srcset="https://webbanshee.net/wp-content/uploads/2020/12/Add_New_IP_Address.png 727w, https://webbanshee.net/wp-content/uploads/2020/12/Add_New_IP_Address-300x166.png 300w" sizes="(max-width: 727px) 100vw, 727px" /></a><br />
<span style="margin-top: -10px;">The command adds the IP address to the ActiveStore and the Persistent Store.</span><br />
You can read more about the PolicyStore values <a href="https://docs.microsoft.com/en-us/powershell/module/nettcpip/new-netipaddress?view=win10-ps#:~:text=-PolicyStore">here</a>.</div>
<h3><img class="alignnone size-full wp-image-2050" src="https://webbanshee.net/wp-content/uploads/2019/01/round_4.svg" alt="4 -" />Verify that add a secondary IP address was successful</h3>
<div class="wpe-box wpe-box-note3"><span style="font-weight: bold;">Get-NetAdapter -ifIndex</span><span style="font-weight: bold; color: #993333;"> ifIndex Number</span><span style="font-weight: bold;"> | Get-NetIPAddress | where {$_.AddressFamily –eq “IPv4”} | select IPAddress</span><br />
<a href="https://webbanshee.net/wp-content/uploads/2020/12/IPv4_Address_added.png"><img loading="lazy" class="aligncenter size-full wp-image-3818" src="https://webbanshee.net/wp-content/uploads/2020/12/IPv4_Address_added.png" alt="Add Secondary IP Address done!" width="898" height="93" srcset="https://webbanshee.net/wp-content/uploads/2020/12/IPv4_Address_added.png 898w, https://webbanshee.net/wp-content/uploads/2020/12/IPv4_Address_added-300x31.png 300w, https://webbanshee.net/wp-content/uploads/2020/12/IPv4_Address_added-768x80.png 768w" sizes="(max-width: 898px) 100vw, 898px" /></a></div>
<p>Thats all. You don&#8217;t need to specify a default Gateway since this has most likely be done already with the initial IP address.</p>
<h2>Remove IP Address from Network Interface:</h2>
<h3><img class="alignnone size-full wp-image-2045" src="https://webbanshee.net/wp-content/uploads/2019/01/round_1.svg" alt="1 -" />List Network Interfaces with name and Interface Index</h3>
<div class="wpe-box wpe-box-note3">
<p><strong>Get-NetAdapter</strong></p>
<p><a href="https://webbanshee.net/wp-content/uploads/2020/12/Get-NetAdapter.png"><img loading="lazy" class="aligncenter size-full wp-image-3820" src="https://webbanshee.net/wp-content/uploads/2020/12/Get-NetAdapter.png" alt="Add Secondary IP Address list" width="588" height="102" srcset="https://webbanshee.net/wp-content/uploads/2020/12/Get-NetAdapter.png 588w, https://webbanshee.net/wp-content/uploads/2020/12/Get-NetAdapter-300x52.png 300w" sizes="(max-width: 588px) 100vw, 588px" /></a></p>
</div>
<h3><img class="alignnone size-full wp-image-2051" src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2 -" />Display existent IP addresses that can be removed on chosen Network Interface</h3>
<div class="wpe-box wpe-box-note3">We focus here only on IPv4 addresses. See point <img class="alignnone size-full wp-image-2051" style="padding-left: 5px!Important;" src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2 -" /> above to display IPv6 as well.<br />
<span style="font-weight: bold;">Get-NetAdapter -ifIndex</span><span style="font-weight: bold; color: #993333;"> ifIndex Number</span><span style="font-weight: bold;"> | Get-NetIPAddress | where {$_.AddressFamily –eq “IPv4”} | select IPAddress</span><br />
<a href="https://webbanshee.net/wp-content/uploads/2020/12/IP_address_to_remove.png"><img loading="lazy" class="aligncenter size-full wp-image-3835" src="https://webbanshee.net/wp-content/uploads/2020/12/IP_address_to_remove.png" alt="add secondary IP address remove" width="904" height="90" srcset="https://webbanshee.net/wp-content/uploads/2020/12/IP_address_to_remove.png 904w, https://webbanshee.net/wp-content/uploads/2020/12/IP_address_to_remove-300x30.png 300w, https://webbanshee.net/wp-content/uploads/2020/12/IP_address_to_remove-768x76.png 768w" sizes="(max-width: 904px) 100vw, 904px" /></a><br />
<strong>Copy IP address to remove from the output.</strong></div>
<h3><img class="alignnone size-full wp-image-2050" src="https://webbanshee.net/wp-content/uploads/2019/01/round_3.svg" alt="3 -" />Remove IP address</h3>
<div class="wpe-box wpe-box-note3">Insert copied IP address in the command below:<br />
<span style="font-weight: bold;">Get-NetIPAddress –IPAddress </span><span style="font-weight: bold; color: #993333;">IPAddressToRemove</span><span style="font-weight: bold;"> –InterfaceIndex</span><span style="font-weight: bold; color: #993333;"> ifIndex Number </span><span style="font-weight: bold;">| Remove-NetIPAddress</span>You will need to confirm it for both PolicyStores.<br />
Otherwise you could use the command with <strong>-Confirm:$false</strong></p>
</div>
<h3><img class="alignnone size-full wp-image-2050" src="https://webbanshee.net/wp-content/uploads/2019/01/round_4.svg" alt="4 -" />add secondary IP address verify</h3>
<div class="wpe-box wpe-box-note3"><span style="font-weight: bold;">Get-NetAdapter -ifIndex</span><span style="font-weight: bold; color: #993333;"> ifIndex Number</span><span style="font-weight: bold;"> | Get-NetIPAddress | where {$_.AddressFamily –eq “IPv4”} | select IPAddress</span><br />
<a href="https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4.png"><img loading="lazy" class="aligncenter size-full wp-image-3828" src="https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4.png" alt="Add secondary IP address IPv4 addresses" width="899" height="82" srcset="https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4.png 899w, https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4-300x27.png 300w, https://webbanshee.net/wp-content/uploads/2020/12/IP_Address_IPv4-768x70.png 768w" sizes="(max-width: 899px) 100vw, 899px" /></a></div>
<p>I have compiled the above steps in a script to make it more convenient:</p>
<p><a class="wpe-button wpe-button-blue" href="https://webbanshee.net/powershell-script-addremove-ip/" rel="noopener noreferrer">Script to Add/Remove IP Address</a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/add-ip-address-windows-server/">Add Secondary IP Address Windows Server</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/add-ip-address-windows-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3809</post-id>	</item>
		<item>
		<title>Remote PowerShell Session to Server Core</title>
		<link>https://webbanshee.net/remote-powershell-session/</link>
					<comments>https://webbanshee.net/remote-powershell-session/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Tue, 22 Sep 2020 14:59:13 +0000</pubDate>
				<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2016]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[ServerCore]]></category>
		<guid isPermaLink="false">https://webbanshee.net/?p=3619</guid>

					<description><![CDATA[<style>.key{background:#444444;padding-left: 5px;padding-right: 5px;padding-top: 2px;padding-bottom: 2px;color:#fefefe;border-radius: 3px;font-size: 14px;} .txtbold {font-weight:bold;}</style>
<p><a class="ex-link" href="https://webbanshee.net/remote-powershell-session/"><img src="https://webbanshee.net/wp-content/uploads/2020/08/RemotePowerShell_vint.svg" /><span class="exTeaser" style="width: 70%;">Connect via a Remote PowerShell Session to another server.</span><br />
<span class="exText" style="width: 70%;">Use the following commands to establish, enter, or remove a Remote PowerShell Session: <span class="txtbold">New-PSSession, Enter-PSSession, Remove-PSSession </span><span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/remote-powershell-session/">Remote PowerShell Session to Server Core</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<style>h2 {font-weight: bold;text-decoration:none;font-size: 20px!Important;}h3 {font-weight: bold;text-decoration:none;font-size: 18px!Important;}h4 {font-weight: bold;text-decoration:none;font-size: 16px!Important;}.wp-image-2045,.wp-image-2051,.wp-image-2050,.wp-image-2049,.wp-image-2056, .wp-image-2055 {margin-top:2px!Important;margin-right:6px;}.red{background:#E86275;padding-left: 5px;padding-right: 5px;padding-top: 2px;padding-bottom: 2px;color:#fefefe;border-radius: 3px;font-size: 14px;} .wpe-button-blue {background:#1072C1!Important; border: none!Important;} .txtred {color:#993333;font-weight:bold;} .txtbold {font-weight:bold;}.entry-title {color: #fefefe;font-size: 30px;font-weight: 400;margin-bottom: 10px;padding-left: 10px;background: #353535;border-top-left-radius: 5px;border-bottom-left-radius: 5px;}</style>
<p style="text-align: justify;">Hello Folks, this is just a simple post on how to open and enter a Remote PowerShell Session from one server to another. A lot of tasks on different servers can be accomplished in a convenient way from one server.</p>
<p style="text-align: justify;">For instance if you want to <a class="wpe-button wpe-button-blue" href="https://webbanshee.net/change-input-language-on-server-core-login-screen/" rel="noopener noreferrer">Change the Keyboard Layout</a> on the login screen of a new Server Core installation.</p>
<p style="text-align: justify;">We will use the cmdlets below to open, enter, exit, and remove a Remote PowerShell session.</p>
<h3 style="margin-top: 30px;">Remote PowerShell Prerequisites:</h3>
<div class="wpe-box wpe-box-download" style="background: #eaf7da!Important;">To receive PowerShell remote commands <strong>PS-Remoting</strong> must be enabled on the computer. PS-Remoting is enabled by default. Further the <strong>WinRM Service</strong> needs to be started.</div>
<p>If you want to go for sure firstly check the PS-Remoting state of the remote computer with:</p>
<div class="wpe-box wpe-box-note3"><span style="font-weight: bold;">Test-WSMan -ComputerName</span><span style="color: #993333; font-weight: bold;"> NameOfRemoteComputer</span></div>
<p>Afterward, verify the state of the WinRM service on the remote computer that it is running:</p>
<div class="wpe-box wpe-box-note3"><span style="font-weight: bold;">Get-Service WinRM -ComputerName</span><span style="color: #993333; font-weight: bold;"> NameOfRemoteComputer</span><span style="font-weight: bold;"> | Select MachineName,Name,Status</span></div>
<h3 style="margin-top: 30px;">Remote PowerShell Session Cmdlets:</h3>
<div class="wpe-box wpe-box-alert" style="background: #F9F6D9!Important;"><strong>Get-PSSession</strong> &#8211; [Shows current sessions]<br />
<strong>New-PSSession</strong> &#8211; [Create a new persistent connection to the target host]<br />
<strong>Enter-PSSession</strong> &#8211; [Enter a session as interactive session]<br />
<strong>Exit-PSSession</strong> &#8211; [Exit session. The session will still be alive in the background]<br />
<strong>Disconnect-PSSession</strong> &#8211; [Disconnect from the session]<br />
<strong>Connect-PSSession</strong> &#8211; [connect to a disconnected session]<br />
<strong>Remove-PSSession</strong> &#8211; [Remove an earlier created persistent session]</div>
<p>Ok, here we go &#8230;</p>
<h2><img class="alignnone size-full wp-image-2045" src="https://webbanshee.net/wp-content/uploads/2019/01/round_1.svg" alt="1 -" />Create a Remote PowerShell Session with New-PSSession:</h2>
<div class="wpe-box wpe-box-note3">
<p><span class="txtbold">New-PSSession -Name <span class="txtred">NameOfSession</span> -ComputerName</span><span class="txtred"> NameOfRemoteComputer</span><span class="txtbold"> -Credential</span><span class="txtred"> Domain\Username</span>.</p>
<p>In case you don&#8217;t want to give the remote PowerShell session a name it will be named WinRM*</p>
</div>
<h2><img class="alignnone size-full wp-image-2051" src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2 -" />Check the newly created session with Get-PSSession:</h2>
<div class="wpe-box wpe-box-note3"><span class="txtbold">Get-PSSession</p>
<p></span>The output will show the state of the session:<br />
<a href="https://webbanshee.net/wp-content/uploads/2020/09/Get-PSSession.png"><img loading="lazy" class="aligncenter size-full wp-image-3639" src="https://webbanshee.net/wp-content/uploads/2020/09/Get-PSSession.png" alt="Get Remote PowerShell Session" width="756" height="71" srcset="https://webbanshee.net/wp-content/uploads/2020/09/Get-PSSession.png 756w, https://webbanshee.net/wp-content/uploads/2020/09/Get-PSSession-300x28.png 300w" sizes="(max-width: 756px) 100vw, 756px" /></a>I gave my session the name &#8220;ServerCore&#8221;. It connects to an Exchange 2019 server running on Server 2019 Core with hostname &#8220;exchange2019&#8221;</p>
<p>If you have more sessions you can go for the computer name:<br />
<span class="txtbold">Get-PSSession -ComputerName</span><span class="txtred"> NameOfRemoteComputer</p>
<p></span>&#8230; or explicit for the session name:<br />
<span class="txtbold">Get-PSSession -Name</span><span class="txtred"> NameOfSession</p>
<p></span>&#8230; and also for the Id:<br />
<span class="txtbold">Get-PSSession -Name</span><span class="txtred"> ID</span></div>
<h2><img class="alignnone size-full wp-image-2050" src="https://webbanshee.net/wp-content/uploads/2019/01/round_3.svg" alt="3 -" />Enter a session directly as an interactive session with Enter-PSSession:</h2>
<div class="wpe-box wpe-box-note3" style="text-align: justify;"><span class="txtbold">Enter-PSSession -ComputerName </span><span class="txtred">NameOfRemoteComputer</span><br />
<span class="txtbold">Enter-PSSession -name</span> <span class="txtred">NameOfSession</span>.<br />
&nbsp;<br />
As a result, PowerShell switches to the entered interactive session:<br />
&nbsp;<br />
<a href="https://webbanshee.net/wp-content/uploads/2020/09/Enter-PSSession.png"><img loading="lazy" class="aligncenter size-full wp-image-3643" src="https://webbanshee.net/wp-content/uploads/2020/09/Enter-PSSession.png" alt="Enter PowerShell Session" width="425" height="41" srcset="https://webbanshee.net/wp-content/uploads/2020/09/Enter-PSSession.png 425w, https://webbanshee.net/wp-content/uploads/2020/09/Enter-PSSession-300x29.png 300w" sizes="(max-width: 425px) 100vw, 425px" /></a><br />
You can perform tasks on the target server via PowerShell from the localhost within this session now.<br />
Enter-PSSession does not require a session that has been created with New-PSSession before.</div>
<p>Find more on how to run Remote Commands from a Remote PowerShell Session <span class="txtbold txtred"><a style="font-weight: bold;" href="https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/running-remote-commands?view=powershell-7" target="_blank" rel="noopener noreferrer">here</a>.</span></p>
<h2><img class="alignnone size-full wp-image-2049" src="https://webbanshee.net/wp-content/uploads/2019/01/round_4.svg" alt="4 -" />Exit an interactive session with Exit-PSSession:</h2>
<div class="wpe-box wpe-box-note3">Within the remote PowerShell type:<br />
<span class="txtbold">Exit-PSSession</p>
<p></span>Instead of Exit-PSSession, you can just type <strong>Exit</strong> as well. It will have the same effect.</p>
<p>Thereafter, the session remains open but you have left the interactive session into the localhost&#8217;s PowerShell:</p>
<p><a href="https://webbanshee.net/wp-content/uploads/2020/09/OpenedPSSession.png"><img loading="lazy" class="aligncenter size-full wp-image-3645" src="https://webbanshee.net/wp-content/uploads/2020/09/OpenedPSSession.png" alt="Open Remote PowerShell Sessions" width="744" height="68" srcset="https://webbanshee.net/wp-content/uploads/2020/09/OpenedPSSession.png 744w, https://webbanshee.net/wp-content/uploads/2020/09/OpenedPSSession-300x27.png 300w" sizes="(max-width: 744px) 100vw, 744px" /></a></div>
<h2><img class="alignnone size-full wp-image-2049" src="https://webbanshee.net/wp-content/uploads/2019/01/round_5.svg" alt="5 -" />Disconnect a session with Disconnect-PSSession:</h2>
<div class="wpe-box wpe-box-note3" style="text-align: justify;">You can disconnect a remote PowerShell session which has been created with New-PSSession.<br />
But you can&#8217;t disconnect an interactive session that has been initiated with Enter-PSSession.</p>
<p>To disconnect a session run the command below from your localhost&#8217;s PowerShell:<br />
<span class="txtbold"><br />
Disconnect-PSSession -name </span><span class="txtred"><span class="txtred">NameOfSession</span></span>&nbsp;</p>
<p>&#8230;or disconnect it based on the ID:<br />
<span class="txtbold">Disconnect-PSSession -Id </span><span class="txtred"><span class="txtred">ID</span></span>&nbsp;</p>
<p>Further, you can disconnect all remote session for a certain remote host based on ComputerName:<br />
<span class="txtbold">Disconnect-PSSession -Id </span><span class="txtred"><span class="txtred">ComputerName</span></span>&nbsp;</p>
<p>Following you get an output like this:<br />
<a href="https://webbanshee.net/wp-content/uploads/2020/09/Disconnect-PSSession.png"><img loading="lazy" class="aligncenter size-full wp-image-3647" src="https://webbanshee.net/wp-content/uploads/2020/09/Disconnect-PSSession.png" alt="Disconnect Remote PowerShell Session" width="756" height="80" srcset="https://webbanshee.net/wp-content/uploads/2020/09/Disconnect-PSSession.png 756w, https://webbanshee.net/wp-content/uploads/2020/09/Disconnect-PSSession-300x32.png 300w" sizes="(max-width: 756px) 100vw, 756px" /></a></p>
<p>You can later reconnect by using the Connect-PSSession cmdlet.</p>
</div>
<h2><img class="alignnone size-full wp-image-2049" src="https://webbanshee.net/wp-content/uploads/2019/01/round_6.svg" alt="6 -" />Reconnect a disconnected PowerShell session:</h2>
<div class="wpe-box wpe-box-note3">As shown below you can reconnect an existing session that has been created with New-PSSession:</p>
<p><span class="txtbold">Connect-PSSession -name </span><span class="txtred">NameOfSession</span>&#8230; or you connect it with its ID:<br />
<span class="txtbold">Connect-PSSession -Id </span><span class="txtred">ID</span>&#8230; as well as with ComputerName:<br />
<span class="txtbold">Connect-PSSession -Id </span><span class="txtred">Computername</span></div>

<h2 class="entry-title" style="font-size: 30px!Important;">Remote PowerShell Session to Exchange Server</h2>
<h2>To connect with a Remote PowerShell Session to Exchange use:</h2>
<div class="wpe-box wpe-box-note3"><span class="txtbold"><span class="txtred">$UserCred</span> = Get-Credential</p>
<p><span class="txtred">$ExSession</span> = New-PSSession -ConfigurationName Microsoft.Exchange –Name <span class="txtred">ExchangeSession</span> -ConnectionUri <span class="txtred">&#8220;http://RemoteExchangeFQDN/powershell&#8221;</span> -Credential <span class="txtred">$UserCred</span> -Authentication Kerberos</p>
<p>Import-PSSession <span class="txtred">$ExSession</span></span></div>
<h3>You can verify the session with name <span class="txtbold"><span class="txtred">ExchangeSession</span></span> you just openend with <span class="txtbold">Get-PSSession</span>:</h3>
<div class="wpe-box wpe-box-note3"><a href="https://webbanshee.net/wp-content/uploads/2020/10/Get-PSSession-Exchange.png"><img loading="lazy" class="aligncenter size-full wp-image-3664" src="https://webbanshee.net/wp-content/uploads/2020/10/Get-PSSession-Exchange.png" alt="Get Remote PowerShell Session Exchange" width="771" height="89" srcset="https://webbanshee.net/wp-content/uploads/2020/10/Get-PSSession-Exchange.png 771w, https://webbanshee.net/wp-content/uploads/2020/10/Get-PSSession-Exchange-300x35.png 300w, https://webbanshee.net/wp-content/uploads/2020/10/Get-PSSession-Exchange-768x89.png 768w" sizes="(max-width: 771px) 100vw, 771px" /></a><br />
<span style="display: block; margin-top: -20px;">The Exchange CMDLets will be available now.</span></div>
<h3>The same can be done from an Exchange Management Shell to connect through a Remote PowerShell session to another Exchange Server:</h3>
<div class="wpe-box wpe-box-note3"><span class="txtbold">Open an Exchange Management Shell</span></p>
<p>If you are on a Server Core type <span class="txtbold">LaunchEMS</span> into the command window.</p>
<p><span class="txtbold">Use the CMDlets from above</span></div>
<p>That&#8217;s all.  <img loading="lazy" class="" src="https://webbanshee.net/wp-content/uploads/2018/10/smiley.png" alt="smiley :)" width="25" height="25" /><br />
&nbsp;<br />
&nbsp;<br />
To display the output of a PowerShell command completely without ellipses take a look here:</p>
<p><a class="wpe-button wpe-button-red" href="https://webbanshee.net/expand-powershell-output/">Expand PowerShell Output</a><br />
&nbsp;</p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/remote-powershell-session/">Remote PowerShell Session to Server Core</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/remote-powershell-session/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3619</post-id>	</item>
		<item>
		<title>Change the Input Language on Server Core</title>
		<link>https://webbanshee.net/change-input-language-on-server-core-login-screen/</link>
					<comments>https://webbanshee.net/change-input-language-on-server-core-login-screen/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Fri, 28 Aug 2020 03:30:30 +0000</pubDate>
				<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[ServerCore]]></category>
		<guid isPermaLink="false">https://webbanshee.net/?p=3553</guid>

					<description><![CDATA[<style>.key{background:#444444;padding-left: 5px;padding-right: 5px;padding-top: 2px;padding-bottom: 2px;color:#fefefe;border-radius: 3px;font-size: 14px;}</style>
<p><a class="ex-link" href="https://webbanshee.net/change-input-language-on-server-core-login-screen/"><img src="https://webbanshee.net/wp-content/uploads/2020/08/LanguageSettingsServerCore.svg"/><span class="exTeaser" style="width:70%;">To be able to change the input language on Server Core's Welcome Screen with <span class="key">ALT</span> + <span class="key">SHIFT</span> you first will need to install the the input method of your preferred language.</span><br />
<span class="exText" style="width:70%;" >The Get-WinUserLanguageList cmdlet returns language settings regarding input method, spelling, and text prediction.<span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/change-input-language-on-server-core-login-screen/">Change the Input Language on Server Core</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<style>h2 {font-weight: bold;text-decoration:none;font-size: 20px!Important;}h3 {font-weight: bold;text-decoration:none;font-size: 18px!Important;}h4 {font-weight: bold;text-decoration:none;font-size: 16px!Important;}.wp-image-2045,.wp-image-2051,.wp-image-2050,.wp-image-2049,.wp-image-2056, .wp-image-2055 {margin-top:2px!Important;margin-right:6px;}
.key{background:#444444;padding-left: 5px;padding-right: 5px;padding-top: 2px;padding-bottom: 2px;color:#fefefe;border-radius: 3px;font-size: 14px;}
.blue{background:#6666cc;padding-left: 5px;padding-right: 5px;padding-top: 2px;padding-bottom: 2px;color:#fefefe;border-radius: 3px;font-size: 14px;}
.space{width: 1px;height: 20px;}
</style>
<p style="text-align: justify;">To be able to change the input language on Server Core&#8217;s Welcome Screen with <span class="key">ALT</span> + <span class="key">SHIFT</span> you first will need to install the the input method of your preferred language.</p>
<p style="text-align: justify;">Open a remote Power Shell session from another server so you can log in with your preferred language layout. You can also log in directly to the server using the server core&#8217;s default language layout.</p>
<p style="text-align: justify;">In case you log in directly type <span class="blue">powershell</span> into the CMD window.</p>
<div class="space"></div>
<h2><img class="alignnone size-full wp-image-2045" src="https://webbanshee.net/wp-content/uploads/2019/01/round_1.svg" alt="1 -" />Check the WinUserLanguageList for installed languages:</h2>
<div class="wpe-box wpe-box-note3"><strong><span style="color: #993333; font-weight: bold;">$UserLangList</span> = Get-WinUserLanguageList</strong><br />
<strong><span style="color: #993333; font-weight: bold;">$UserLangList</span></strong></div>
<p style="text-align: justify;">The Get-WinUserLanguageList cmdlet returns language settings regarding input method, spelling, and text prediction. Accordingly, this example shows a Server 2019 Core with only the default language installed:</p>
<div class="wpe-box wpe-box-note3"><a href="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageList-Default.png"><img loading="lazy" class="aligncenter size-full wp-image-3589" src="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageList-Default.png" alt="Get-WinUserLanguageList - Default Language" width="327" height="128" /></a></div>
<h2><img class="alignnone size-full wp-image-2051" src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2 -" />Change the input language by adding your preferred layout to the list:</h2>
<p>You can find a list of language codes here: <a class="wpe-button wpe-button-blue" style="background: #1072C1!Important; border: none!Important;" href="https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oe376/6c085406-a698-4e12-9d4d-c3b0ee3dbc4a" target="_blank" rel="noopener noreferrer">List of Language Codes</a></p>
<p>Find the relevant Syntax in the <strong>BCP 47 Code</strong> column.</p>
<p>In our example, we will add German as an additional input method.<br />
As a result, one will be able to change the input language to German already at the login screen as well.</p>
<div class="wpe-box wpe-box-note3"><strong><span style="color: #993333; font-weight: bold;">$UserLangList</span>.Add(&#8220;<span style="color: #993333; font-weight: bold;">de-DE</span>&#8220;)</strong><br />
<strong>Set-WinUserLanguageList -LanguageList <span style="color: #993333; font-weight: bold;">$UserLangList</span></strong></div>
<p>Check the WinUserLanguageList again:</p>
<div class="wpe-box wpe-box-note3"><span style="color: #993333; font-weight: bold;">$UserLangList</span><br />
The output will show the additional input language:<br />
<a href="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageListAdded.png"><img loading="lazy" class="aligncenter size-full wp-image-3593" src="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageListAdded.png" alt="Change the Input Language on Server Core" width="342" height="236" srcset="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageListAdded.png 342w, https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageListAdded-300x207.png 300w" sizes="(max-width: 342px) 100vw, 342px" /></a></div>
<p>From this point, you will be able to change your keyboard language with <span class="key">ALT</span> + <span class="key">SHIFT</span></p>
<h2 style="margin-top: 40px;"><img class="alignnone size-full wp-image-2050" src="https://webbanshee.net/wp-content/uploads/2019/01/round_3.svg" alt="3 -" />Remove input language from the language list:</h2>
<p>Just in case it is needed you can remove a language as follows &#8230;</p>
<h3>First, you will need the position of the language you want to remove:</h3>
<div class="wpe-box wpe-box-note3"><span style="color: #993333; font-weight: bold;">$UserLangList</span><br />
<a href="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageListAdded.png"><img loading="lazy" class="aligncenter size-full wp-image-3593" src="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageListAdded.png" alt="Change the input language on server core" width="342" height="236" srcset="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageListAdded.png 342w, https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageListAdded-300x207.png 300w" sizes="(max-width: 342px) 100vw, 342px" /></a><br />
<strong>Bear in mind that the first language is position 0 and hence the second language is position 1!</strong></div>
<h3>Remove the language by pointing to the appropriate <span style="color: #993333; font-weight: bold;">[position number]</span>:</h3>
<div class="wpe-box wpe-box-note3"><strong><span style="color: #993333; font-weight: bold;">$UserLangList</span>.Remove(<span style="color: #993333; font-weight: bold;">$UserLangList[1]</span>&#8220;)</strong><br />
<strong>Set-WinUserLanguageList -LanguageList <span style="color: #993333; font-weight: bold;">$UserLangList</span></strong></div>
<h3>Verify that the language has been removed:</h3>
<div class="wpe-box wpe-box-note3"><span style="color: #993333; font-weight: bold;">$UserLangList</span><br />
<a href="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageList-Default.png"><img loading="lazy" class="aligncenter size-full wp-image-3593" src="https://webbanshee.net/wp-content/uploads/2020/08/Get-WinUserLanguageList-Default.png" alt="Change the Input Language on Server Core" width="327" height="128" /></a></div>
<p><strong>The German input method has been removed from the WinUserLanguageList.</strong></p>
<p>Enjoy your day and stay safe.  <i class="wp-svg-smiley smiley"></i><br />
</p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/change-input-language-on-server-core-login-screen/">Change the Input Language on Server Core</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/change-input-language-on-server-core-login-screen/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3553</post-id>	</item>
		<item>
		<title>Install Exchange Server 2019 on Server 2019 Core</title>
		<link>https://webbanshee.net/install-exchange-server-2019/</link>
					<comments>https://webbanshee.net/install-exchange-server-2019/#comments</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Wed, 03 Jul 2019 10:40:18 +0000</pubDate>
				<category><![CDATA[Multipart]]></category>
		<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[ServerCore]]></category>
		<guid isPermaLink="false">https://webbanshee.net/?p=2720</guid>

					<description><![CDATA[<p><a class="ex-link" href="https://webbanshee.net/install-exchange-server-2019/"><img src="https://webbanshee.net/wp-content/uploads/2019/06/InstallExchangeServer2019.svg" /><span class="exTeaser"><span style="color: #993333; font-size: 22px;"><strong>Part 5:</strong></span><span style="font-size: 20px;color:#181818;"><strong> Install Exchange Server 2019</strong></span><br />
The final part where we install Exchange Server 2019 on Windows Server 2019 Core</span><br />
<span class="exText">After the server has been prepared with all required prerequisites this series ends with the install of Exchange Server 2019, which is covered in this part.<span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/install-exchange-server-2019/">Install Exchange Server 2019 on Server 2019 Core</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<style type="text/css">h2 {font-weight: bold;text-decoration:none;font-size: 20px!Important;}h3 {font-weight: bold;text-decoration:none;font-size: 18px!Important;}h4 {font-weight: bold;text-decoration:none;font-size: 16px!Important;}.wp-image-2045,.wp-image-2051,.wp-image-2050,.wp-image-2049,.wp-image-2056, .wp-image-2055 {margin-top:2px!Important;margin-right:6px;}</style>
<p><span style="color: #993333; font-size: 22px;"><strong>Part 5:</strong></span><span style="font-size: 20px; color: #525252;"><strong> Install Exchange Server 2019 on Server 2019 Core</strong></span></p>
<div class="topnav" style="margin-top: -8px; margin-bottom: 10px;"><a href="https://webbanshee.net/exchange-server-2019-hyper-v-install/">1</a><a href="https://webbanshee.net/install-active-directory-role-windows-server">2</a><a href="https://webbanshee.net/join-ad-domain-server-core/">3</a><a href="https://webbanshee.net/exchange-server-2019-prerequisites/">4</a><a class="active" href="https://webbanshee.net/install-exchange-server-2019/">5</a></div>
<p>This is <span style="color: #993333; font-size: 16px; font-weight: bold;">Part 5</span> , the final part of this series. After we have checked thy system requirements and have installed the prerequisites in <a href="https://webbanshee.net/exchange-server-2019-prerequisites/"><span style="color: #993333; font-size: 16px; font-weight: bold;">Part 4</span></a> we can Install Exchange Server 2019 on the prepared Server 2019 Core server.</p>
<h3></h3>
<h3><img class="alignnone size-full wp-image-2045" src="https://webbanshee.net/wp-content/uploads/2019/01/round_1.svg" alt="1 -" />In order to Install Exchange Server 2019 we need to copy the Exchange Server ISO file to Server 2019 Core:</h3>
<p>Since this is a Server Core the most convenient way for me was to open an explorer and reach out to the Server Core&#8217;s drive C$. You will need to log on as a Domain Admin. ( Testlab.local )</p>
<div class="wpe-box wpe-box-note3">
<p><strong>&gt; Copy the Exchange Server 2019 ISO file to&nbsp; Server Core. ( Exchange2019 )</strong></p>
</div>
<p>Make sure you have read the info and you have installed all prerequisites mentioned in <a href="https://webbanshee.net/exchange-server-2019-prerequisites/">Exchange Server 2019 Prerequisites</a>.</p>
<h3>Mount the exchange Server 2019 ISO file:</h3>
<p>The following lines describe how to mount an .iso file on Server Core.<br />
I found the information on <a href="https://mikefrobbins.com/2014/12/25/mount-an-iso-on-a-physical-server-running-server-core/" rel="noopener noreferrer">Mike F Roobin&#8217;s blog</a> very clear and helpful.</p>
<div class="wpe-box wpe-box-note3">
<p><strong>Mount-DiskImage -ImagePath &#8216;C:\PathToYourISOFile.iso&#8217; -StorageType ISO -PassThru</strong></p>
</div>
<h3>Now we need to know the assigned drive letter:</h3>
<div class="wpe-box wpe-box-note3">
<p><strong>Mount-DiskImage -ImagePath &#8216;C:\PathToYourISOFile.iso&#8217; -StorageType ISO -PassThru | Get-Volume</strong></p>
<p>My .iso has got drive letter E:<br />
<a href="https://webbanshee.net/wp-content/uploads/2019/04/DriveLetter.png"><img loading="lazy" class="aligncenter size-full wp-image-2733" src="https://webbanshee.net/wp-content/uploads/2019/04/DriveLetter.png" alt="Install Exchange Server 2019 on Server 2019 Core" width="916" height="59" srcset="https://webbanshee.net/wp-content/uploads/2019/04/DriveLetter.png 916w, https://webbanshee.net/wp-content/uploads/2019/04/DriveLetter-300x19.png 300w, https://webbanshee.net/wp-content/uploads/2019/04/DriveLetter-768x49.png 768w" sizes="(max-width: 916px) 100vw, 916px" /></a></p>
</div>
<h2><img class="alignnone size-full wp-image-2051" src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2 -" />Install Exchange Server 2019:</h2>
<h3>Prepare Active Directory for Exchange 2019:</h3>
<p>We will need to run PrepareSchema, Prepare AD and PrepareAllDomains first. Make sure once again that the Exchange Server can reach the ActiveDirectory as a Domain Member. Use a Domain Admin Account.</p>
<h3>PrepareSchema:</h3>
<div class="wpe-box wpe-box-note3"><strong>E:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareSchema</strong></div>
<h3>PrepareAD:</h3>
<div class="wpe-box wpe-box-note3"><strong>E:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAD /OrganizationName:&#8221;TestLab.local&#8221;</strong></div>
<h3>PrepareDomains:</h3>
<div class="wpe-box wpe-box-note3"><strong>E:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAllDomains</strong></div>
<h3>Install Exchange 2019:</h3>
<div class="wpe-box wpe-box-note3"><strong>E:\Setup.exe /m:install /roles:m /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents</strong></div>
<p>This can take an extended amount of time. Consider to give the VM where you install Exchange Server 2019 the most possible RAM and CPU power.</p>
<p>When I started to build a new test lab I had just 16GB of RAM installed on my host system. So I gave the Exchange Server 6 GB of RAM and eight I7 Skylake cores.<br />
With these specs, it took somewhat over an hour to install Exchange 2019.</p>
<p>Later I extended my RAM amount to 48GB. Exchange 2019 usually gets 16GB now. That is well enough for my test lab.</p>
<p>Ok, there is nothing more left to be said.<br />
Enjoy your Exchange Server 2019 <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/install-exchange-server-2019/">Install Exchange Server 2019 on Server 2019 Core</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/install-exchange-server-2019/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2720</post-id>	</item>
		<item>
		<title>Join AD Domain Server Core &#8211; Server 2019</title>
		<link>https://webbanshee.net/join-ad-domain-server-core/</link>
					<comments>https://webbanshee.net/join-ad-domain-server-core/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Fri, 28 Jun 2019 05:51:44 +0000</pubDate>
				<category><![CDATA[Multipart]]></category>
		<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[ServerCore]]></category>
		<guid isPermaLink="false">https://webbanshee.net/?p=2835</guid>

					<description><![CDATA[<p><a class="ex-link" href="https://webbanshee.net/join-ad-domain-server-core/"><img src="https://webbanshee.net/wp-content/uploads/2019/06/JoinAdDomain_02.svg" /><span class="exTeaser"><span style="color: #993333; font-size: 22px;"><strong>Part 3:</strong></span><span style="font-size: 20px;color:#181818;"><strong> Join Server Core to AD Domain</strong></span><br />
We will join Windows Server 2019 Core ( Exchange2019 ) to a Domain in this part.</span><br />
<span class="exText">Sconfig provides a convenient way to do this. When done we will add this server to the AD Server Server Manager. The server can be managed with basic tasks then from the Server Manager.  <span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/join-ad-domain-server-core/">Join AD Domain Server Core &#8211; Server 2019</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<style type="text/css">h2 {font-weight: bold;text-decoration:none;font-size: 20px!Important;}h3 {font-weight: bold;text-decoration:none;font-size: 18px!Important;}h4 {font-weight: bold;text-decoration:none;font-size: 16px!Important;}.wp-image-2045,.wp-image-2051,.wp-image-2050,.wp-image-2049,.wp-image-2056, .wp-image-2055 {margin-top:2px!Important;margin-right:6px;}</style>
<p><span style="color: #993333; font-size: 22px;"><strong>Part 3:</strong></span><span style="font-size: 20px; color: #525252;"><strong> Join AD Domain Server Core</strong></span></p>
<div class="topnav" style="margin-top: -8px; margin-bottom: 10px;"><a href="https://webbanshee.net/exchange-server-2019-hyper-v-install/">1</a><a href="https://webbanshee.net/install-active-directory-role-windows-server">2</a><a class="active" href="https://webbanshee.net/join-ad-domain-server-core/">3</a><a href="https://webbanshee.net/exchange-server-2019-prerequisites/">4</a><a href="https://webbanshee.net/install-exchange-server-2019/">5</a></div>
<p>This is <span style="color: #993333; font-size: 16px; font-weight: bold;">Part 3</span> of how to Prepare a Hyper-V Exchange 2019 Lab and this post named Join AD Domain Server Core describes exactly what the name suggests:&nbsp; We will join Windows Server 2019 Core ( Exchange2019 ) to the Domain we have set up in <a href="https://webbanshee.net/install-active-directory-role-windows-server/"><span style="color: #993333; font-size: 16px; font-weight: bold;">Part 2</span></a></p>
<h2><img class="alignnone size-full wp-image-2045" role="img" src="https://webbanshee.net/wp-content/uploads/2019/01/round_1.svg" alt="1 -" />Join AD Domain Server Core &#8211; Join Server 2019 Core to AD domain:</h2>
<p>Logon to Exchange2019 ( Windows Server 2019 Core ) and type:</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; sconfig &gt; Choose 1&nbsp; &gt; Choose (D)omain</strong><br />
<a href="https://webbanshee.net/wp-content/uploads/2019/05/ServerCoreJoinDomain.png"><img loading="lazy" class="aligncenter wp-image-2867 size-full" title="Join AD Domain Server Core Sconfig" src="https://webbanshee.net/wp-content/uploads/2019/05/ServerCoreJoinDomain.png" alt="Join Windows Server 2019 AD Domain" width="324" height="422" srcset="https://webbanshee.net/wp-content/uploads/2019/05/ServerCoreJoinDomain.png 324w, https://webbanshee.net/wp-content/uploads/2019/05/ServerCoreJoinDomain-230x300.png 230w" sizes="(max-width: 324px) 100vw, 324px" /></a><strong>&gt; type in the name of the domain to join. In this case testlab.local.</strong><br />
<a href="https://webbanshee.net/wp-content/uploads/2019/05/DomainName.png"><img loading="lazy" class="aligncenter wp-image-2868 size-full" src="https://webbanshee.net/wp-content/uploads/2019/05/DomainName.png" alt="EnterDomainName" width="453" height="31" srcset="https://webbanshee.net/wp-content/uploads/2019/05/DomainName.png 453w, https://webbanshee.net/wp-content/uploads/2019/05/DomainName-300x21.png 300w" sizes="(max-width: 453px) 100vw, 453px" /></a></div>
<p>You will need to provide the credentials of the domain admin user.</p>
<p>When asked if you want to rename the computer before restart do so if not already done otherwise click:</p>
<div class="wpe-box wpe-box-note3"><strong>No &gt; Restart</strong></div>
<p>Your domain ( testlab.local ) should be pingable now from this server.</p>
<h2><img class="alignnone size-full wp-image-2051" role="img" src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2 -" />Manage Server Core from AD Server Manager via GUI:</h2>
<p>Log on to AD2019 ( Windows Server 2019 Desktop Experience ) and open Server Manager<br />
Go to:</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Dashboard &gt; Add other servers to manage</strong><br />
<a href="https://webbanshee.net/wp-content/uploads/2019/05/AddServerToManage.png"><img loading="lazy" class="aligncenter wp-image-2870 size-full" src="https://webbanshee.net/wp-content/uploads/2019/05/AddServerToManage.png" alt="AddServerToManage" width="755" height="283" srcset="https://webbanshee.net/wp-content/uploads/2019/05/AddServerToManage.png 755w, https://webbanshee.net/wp-content/uploads/2019/05/AddServerToManage-300x112.png 300w" sizes="(max-width: 755px) 100vw, 755px" /></a></div>
<p>Choose the DNS tab and write in the server name of the Exchange 2019 server ( Exchange2019 ):</p>
<div class="wpe-box wpe-box-note3"><a href="https://webbanshee.net/wp-content/uploads/2019/05/AddServer.png"><img loading="lazy" class="aligncenter wp-image-2872 size-full" src="https://webbanshee.net/wp-content/uploads/2019/05/AddServer.png" alt="AddServer" width="382" height="173" srcset="https://webbanshee.net/wp-content/uploads/2019/05/AddServer.png 382w, https://webbanshee.net/wp-content/uploads/2019/05/AddServer-300x136.png 300w" sizes="(max-width: 382px) 100vw, 382px" /></a><br />
<strong>&gt; Add the server and click OK.</strong></div>
<p>Exchange2019 will now appear in All Server ready to be managed with the following options to your disposal:</p>
<div class="wpe-box wpe-box-note3">
<p><a href="https://webbanshee.net/wp-content/uploads/2019/05/ManageAllServers.png"><img loading="lazy" class="aligncenter wp-image-2875 size-full" src="https://webbanshee.net/wp-content/uploads/2019/05/ManageAllServers.png" alt="Join AD Domain Server Core - Server 2019" width="834" height="422" srcset="https://webbanshee.net/wp-content/uploads/2019/05/ManageAllServers.png 834w, https://webbanshee.net/wp-content/uploads/2019/05/ManageAllServers-300x152.png 300w, https://webbanshee.net/wp-content/uploads/2019/05/ManageAllServers-768x389.png 768w" sizes="(max-width: 834px) 100vw, 834px" /></a></p>
</div>
<p>Before we start to install Exchange Server 2019 on Windows Server 2019 Core ( Exchange 2019 ) let&#8217;s check the system requirements and prerequisites covered in <span style="color: #934444; font-size: 18px; font-weight: bold;">Part 4:</span></p>
<p><a class="wpe-button wpe-button-red" href="https://webbanshee.net/exchange-server-2019-prerequisites/">Exchange Server 2019 Prerequisites</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/join-ad-domain-server-core/">Join AD Domain Server Core &#8211; Server 2019</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/join-ad-domain-server-core/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2835</post-id>	</item>
		<item>
		<title>Exchange Server 2019 Hyper V Install</title>
		<link>https://webbanshee.net/exchange-server-2019-hyper-v-install/</link>
					<comments>https://webbanshee.net/exchange-server-2019-hyper-v-install/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Sat, 22 Jun 2019 06:49:49 +0000</pubDate>
				<category><![CDATA[Multipart]]></category>
		<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[HyperV]]></category>
		<category><![CDATA[ServerCore]]></category>
		<guid isPermaLink="false">http://webbanshee.net/?p=2152</guid>

					<description><![CDATA[<p><a class="ex-link" href="https://webbanshee.net/exchange-server-2019-hyper-v-install/"><img src="https://webbanshee.net/wp-content/uploads/2019/06/ExchangeOnHyper-V02.svg" /><span class="exTeaser"><span style="color: #993333; font-size: 22px;"><strong>Part 1:</strong></span><span style="font-size: 20px;color:#181818;"><strong> Exchange Server 2019 Install on Hyper V</strong></span><br />
This post is the first part of a series on how to prepare an Exchange Server 2019 Hyper V install and install an AD Server and an Exchange 2019 Server on Hyper V.</span><br />
<span class="exText">The first part covers the setup of the Virtual Machines, installation of Windows Server 2019 Desktop Experience and Windows Server 2019 Core. <span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/exchange-server-2019-hyper-v-install/">Exchange Server 2019 Hyper V Install</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<style type="text/css">h2 {font-weight: bold;text-decoration:none;font-size: 20px!Important;}h3 {font-weight: bold;text-decoration:none;font-size: 18px!Important;}.wp-image-2045,.wp-image-2051,.wp-image-2050,.wp-image-2049,.wp-image-2056, .wp-image-2055 {margin-top:2px!Important;margin-right:6px;}</style>
<p><span style="color: #993333; font-size: 22px;"><strong>Part 1:</strong></span><span style="font-size: 20px; color: #525252;"><strong> Exchange Server 2019 Hyper V Install &#8211; Prepare VMs</strong></span></p>
<div class="topnav" style="margin-top: -8px; margin-bottom: 10px;"><a class="active" href="https://webbanshee.net/exchange-server-2019-hyper-v-install/">1</a><a href="https://webbanshee.net/install-active-directory-role-windows-server">2</a><a href="https://webbanshee.net/join-ad-domain-server-core/">3</a><a href="https://webbanshee.net/exchange-server-2019-prerequisites/">4</a><a href="https://webbanshee.net/install-exchange-server-2019/">5</a></div>
<p>This post is the first part of a series where I share my experience on how to prepare an Exchange Server 2019 Hyper V install and install an AD Server and an Exchange 2019 Server on Hyper V.&nbsp; The first part covers the Virtual Machines.</p>
<p>Microsoft recommends min. 128 GB of RAM for an Exchange 2019 Install in a production environment. Curious about how Exchange 2019 behaves and for testing purpose I will set up a test environment on my test lab before we start to build our real test environment at work.</p>
<h2>Before we begin some information on the available resources :</h2>
<div class="wpe-box wpe-box-note3">
<p><span style="font-size: 18px;"><strong>Processor:</strong></span><br />
I7-6700</p>
<p><span style="font-size: 18px;"><strong>Memory:</strong></span><br />
16GB of 2133Mhz RAM running on Windows 10 Pro 1803 ( at time of preparing the VMs and installing Exchange Server 2019.)&nbsp; <a href="https://webbanshee.net/different-memory-types/">Now upgraded to 48GB of RAM</a></p>
<p><span style="font-size: 18px;"><strong>Hyper-V Manager Build:</strong></span><br />
10.0.17134.1</p>
<p><span style="font-size: 18px;"><strong>Disk for Domain Controller vhdx:</strong></span><br />
7200 rpm HDD</p>
<p><span style="font-size: 18px;"><strong>Disk for Exchange 2019 core vhdx:</strong></span><br />
SSD Samsung Evo</p>
</div>
<p>You see it&#8217;s just a home lab, so much more curious am I if Exchange 2019 is able to run with these specifications.</p>
<h2>Exchange Server 2019 Hyper V Install</h2>
<p>Target is to prepare 2 VMs</p>
<ul>
<li><span style="font-size: 18px;"><strong>Server 2019 as Domain Controller running Active Director with Desktop Experience ( GUI )</strong></span></li>
<li><span style="font-size: 18px;"><strong>Server 2019 Core where we will install Exchange 2019</strong></span></li>
</ul>
<p>&nbsp;</p>
<p>Ok let&#8217;s get to it :</p>
<h2><img class="alignnone size-full wp-image-2045" src="https://webbanshee.net/wp-content/uploads/2019/01/round_1.svg" alt="1 -" />Create a new Virtual Machine for the Domain Controller ( AD2019 ) running on Server 2019 with Desktop Experience ( GUI )</h2>
<h3><span style="text-decoration: none;"><strong>Specify Name and Location:</strong></span></h3>
<div class="wpe-box wpe-box-note3">
<p><a href="https://webbanshee.net/wp-content/uploads/2019/02/hyp01.png"><img loading="lazy" class="aligncenter wp-image-2288" src="https://webbanshee.net/wp-content/uploads/2019/02/hyp01.png" alt="Exchange Server 2019 Hyper V Install - Virtual Machines" width="500" height="374" srcset="https://webbanshee.net/wp-content/uploads/2019/02/hyp01.png 697w, https://webbanshee.net/wp-content/uploads/2019/02/hyp01-300x224.png 300w" sizes="(max-width: 500px) 100vw, 500px" /></a></p>
<p><strong>&gt; Next</strong></p>
</div>
<p><strong>&gt; Choose 2nd generation &gt; Next</strong></p>
<h3><span style="text-decoration: none;"><strong>Assign Memory:</strong></span></h3>
<p>I do not use Dynamic Memory in hope of a better Performance.<br />
When we later prepare the VM for an Exchange Server 2019 Hyper V Install a fixed memory is mandatory. Exchange 2019 does not support Dynamic Memory.</p>
<div class="wpe-box wpe-box-note3">
<p><a href="https://webbanshee.net/wp-content/uploads/2019/02/hyp02.png"><img loading="lazy" class="aligncenter wp-image-2286" src="https://webbanshee.net/wp-content/uploads/2019/02/hyp02.png" alt="VM Assign Memory" width="550" height="243" srcset="https://webbanshee.net/wp-content/uploads/2019/02/hyp02.png 695w, https://webbanshee.net/wp-content/uploads/2019/02/hyp02-300x133.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></a></p>
<p><strong>&gt; Next</strong></p>
</div>
<h3><span style="text-decoration: none;"><strong>Configure Networking:</strong></span></h3>
<p>Set it to fit your needs but make sure that Exchange and the Domain Controller can communicate with each other. I will choose the default switch for both VMs. This makes sure that they NAT to the NIC of the host machine ( Win 10 ) and have internet access. You can block internet access if needed through the firewall of the host machine by blocking all inbound and outbound connections from and to the Hyper-V default IP ( 174.24.96.129 ). When blocked both guests still can communicate with each other.</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Next</strong></div>
<h3><span style="text-decoration: none;"><strong>Connect Virtual Hard Disk:</strong></span></h3>
<p>Under Create a virtual hard disk specify the location and size of the Virtual Disk ( .vhdx ). In this case, 45GB will be more than enough for my needs.<br />
If you already have a Domain Controller prepared on an existing virtual hard disk choose that option.</p>
<div class="wpe-box wpe-box-note3">
<p><a href="https://webbanshee.net/wp-content/uploads/2019/02/hyp03.png"><img loading="lazy" class="aligncenter wp-image-2287" src="https://webbanshee.net/wp-content/uploads/2019/02/hyp03.png" alt="VM Connect Hard Disk" width="569" height="316" srcset="https://webbanshee.net/wp-content/uploads/2019/02/hyp03.png 699w, https://webbanshee.net/wp-content/uploads/2019/02/hyp03-300x167.png 300w" sizes="(max-width: 569px) 100vw, 569px" /></a></p>
<p><strong>&gt; Next</strong></p>
</div>
<p>&nbsp;</p>
<h3><span style="text-decoration: none;"><strong>Installations Option:</strong></span></h3>
<p>Choose the location where you have stored the Server 2019 installation media.</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Next</strong></div>
<h3><strong>Check the Summary and confirm with Finish.</strong></h3>
<p>&nbsp;</p>
<h3><span style="text-decoration: none;"><strong>Go to the Settings of the newly created Virtual Machine to check the hardware :</strong></span></h3>
<div class="wpe-box wpe-box-note3"><span style="font-size: 18px;"><strong>Firmware:</strong></span><br />
Make sure you boot from your chosen Windows Server 2019 install media location.<br />
<span style="font-size: 18px;"><strong>Memory:</strong></span><br />
You can change the Amount of Memory here if needed and specify the memory weight.<br />
<span style="font-size: 18px;"><strong>Processor:</strong></span><br />
By default, your Virtual Machine has 1 processor. Change this according to your possibilities but set a minimum of 4 processors.<br />
<span style="font-size: 18px;"><strong>Integration Services:</strong></span><br />
Enabling Guest Services provides an interface for the Hyper-V host to bidirectional copy files to or from the virtual machine using the <a href="https://docs.microsoft.com/en-us/powershell/module/hyper-v/copy-vmfile?view=win10-ps">Copy-VMFile cmdlet</a>.</div>
<p>&nbsp;</p>
<h2><img class="alignnone size-full wp-image-2051" src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2 -" />Install Windows Server 2019 with Desktop Experience</h2>
<p>First, connect to the newly created Virtual Machine ( Ad2019 ). It is easier to hit a key straight away after the VM starts when you connect first. You will need to hit a key to boot from DVD.</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Now press Start and press a key to boot from DVD.</strong></div>
<p>Set the language to install, Time and currency format and the keyboard or input method.</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Next &gt; Install Now &gt; Type in the product key or activate your copy later &gt; Next</strong></div>
<p>This VM ( AD2019 ) will run Windows Server 2019 Datacenter Edition with Desktop Experience.</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Next &gt; Accept license terms &gt; Next</strong></div>
<p>Since this scenario covers a new install on a new VM choose <span style="font-size: 18px;"><strong>Custom</strong></span></p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Select the drive for the install. You can create an additional partition as well. &gt; Next</strong></div>
<p>Wait until Windows Setup finishes. Depending on your chosen hardware specs this can take some time.</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Specify a password for the built-in administrator account to sign in on this computer &gt; Finish</strong></div>
<p>&nbsp;</p>
<h2><img class="alignnone size-full wp-image-2050" src="https://webbanshee.net/wp-content/uploads/2019/01/round_3.svg" alt="3 -" />Create the 2nd Virtual Machine for Exchange 2019 running on Server 2019 core.</h2>
<h3><span style="text-decoration: none;"><strong>In Hyper V Manager create a new virtual machine and repeat the steps listed under Point 1.</strong></span></h3>
<div class="wpe-box wpe-box-note3"><strong>&gt; Note: Do not store both VMs on the same disk. ( Performance ) and don&#8217;t use Dynamic Memory ( Exchange 2019 requires fixed memory )</strong></div>
<p>I gave this VM 60 GB disk space. This should fit all needs for this Exchange Server 2019 Hyper V Install.</p>
<h3><span style="text-decoration: none;"><strong>Don&#8217;t forget to adjust the hardware in the settings of the VM.</strong></span></h3>
<div class="wpe-box wpe-box-note3"><span style="font-size: 18px;"><strong>Firmware:</strong></span><br />
Make sure you boot from your chosen Windows Server 2019 install media location.<br />
<span style="font-size: 18px;"><strong>Memory:</strong></span><br />
You can change the Amount of Memory here if needed and specify the memory weight.<br />
<span style="font-size: 18px;"><strong>Processor:</strong></span><br />
By default, your Virtual Machine has 1 processor. Change this according to your possibilities but set a minimum of 4 processors.<br />
<span style="font-size: 18px;"><strong>Integration Services:</strong></span><br />
Enabling Guest Services provides an interface for the Hyper-V host to bidirectional copy files to or from the virtual machine.</div>

<h2><img class="alignnone size-full wp-image-2049" src="https://webbanshee.net/wp-content/uploads/2019/01/round_4.svg" alt="4 -" />Install Windows Server 2019 core on the 2nd Virtual Machine</h2>
<p>Again first connect to the newly created Virtual Machine ( Exchange2019 )</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Press Start and hit a key to boot from DVD.</strong></div>
<p>Set the language to install, Time and currency format and the keyboard or input method.</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Next &gt; Install Now &gt; Type in the product key or activate your copy later &gt; Next</strong></div>
<p>This VM ( Exchange2019 ) will run Windows Server 2019 Datacenter Core named just Windows Server 2019.</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Next &gt; Accept license terms &gt; Next</strong></div>
<p>Since this scenario covers a new install on a new VM choose Custom</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Select the drive for the install. You can create an additional partition as well. &gt; Next</strong></div>
<p>Again wait until Windows Setup finishes. Depending on your chosen hardware specs this can take some time. The install to the SSD is really fast and takes only a couple of minutes.</p>
<p>After the install has finished you need to change the password of the built-in Administrator</p>
<div class="wpe-box wpe-box-note3">
<p><a href="https://webbanshee.net/wp-content/uploads/2019/02/CoreAdminPW.png"><img loading="lazy" class="aligncenter wp-image-2303 size-full" src="https://webbanshee.net/wp-content/uploads/2019/02/CoreAdminPW.png" alt="Server 2019 Change Admin Password" width="445" height="97" srcset="https://webbanshee.net/wp-content/uploads/2019/02/CoreAdminPW.png 445w, https://webbanshee.net/wp-content/uploads/2019/02/CoreAdminPW-300x65.png 300w" sizes="(max-width: 445px) 100vw, 445px" /></a></p>
</div>
<p>Now we need to make sure that both servers can communicate with each other:<br />
Disable IPV6 on the Domain Controller ( AD2019). Otherwise, the server responds with its IPV6 IP. For me, it is more transparent this way since my config is based on IPV4.</p>
<p>You can disable IPV6 on Server Core ( Exchange 2019 ) as well if needed.<br />
After&nbsp; I have disabled IPV6 on Server 2019 Core I was not able to open Network Settings under Network Adapter Settings: <strong>Invalid Index</strong>.</p>
<p>Find more information here :<br />
<a class="wpe-button wpe-button-red" href="https://webbanshee.net/disable-ipv6-on-server-core/" rel="noopener noreferrer">Disable IPv6 on Server Core through Powershell and deal with the Invalid Index state</a></p>
<p>Next, disable the appropriate Firewall to make sure both servers can see each other:</p>
<p><span style="color: #003366;"><strong>Note: Since it is a test lab I have disabled the firewall on all three networks &gt; Domain, Public and Private. Adjust this according to your environment.</strong></span></p>
<h2><img class="alignnone size-full wp-image-2056" src="https://webbanshee.net/wp-content/uploads/2019/01/round_5.svg" alt="5 -" />Disable Firewall on Exchange2019 Server Core and enable Remote Management:</h2>
<p>Check the status with:</p>
<div class="wpe-box wpe-box-note3"><strong>Get-NetFirewallProfile | select name, enabled</strong></div>
<p>Disable the firewall:</p>
<div class="wpe-box wpe-box-note3">
<p><strong>Set-NetFirewallProfile -Profile Domain</strong>,Public,Private<strong> -Enabled false</strong><br />
<a href="https://webbanshee.net/wp-content/uploads/2019/04/DisableFW.png"><img loading="lazy" class="aligncenter wp-image-2711 size-full" src="https://webbanshee.net/wp-content/uploads/2019/04/DisableFW.png" alt="Exchange Server 2019 Hyper V Install" width="805" height="287" srcset="https://webbanshee.net/wp-content/uploads/2019/04/DisableFW.png 805w, https://webbanshee.net/wp-content/uploads/2019/04/DisableFW-300x107.png 300w, https://webbanshee.net/wp-content/uploads/2019/04/DisableFW-768x274.png 768w" sizes="(max-width: 805px) 100vw, 805px" /></a></p>
</div>
<p>The core server Exchange2019 will be pingable now.</p>
<p>Enable Remote Management: Powershell</p>
<div class="wpe-box wpe-box-note3"><strong class="">Configure-SMRemoting.exe –Enable</strong></div>
<h2><img class="alignnone size-full wp-image-2055" src="https://webbanshee.net/wp-content/uploads/2019/01/round_6.svg" alt="6 -" />Configure a network interface to communicate with the Domain Controller:</h2>
<p>Type sconfig &gt; the Server Configuration shows up.</p>
<div class="wpe-box wpe-box-note3">
<p><strong>&gt; Choose number 8 – Network Setting and choose the Network Adapter:<br />
<a href="https://webbanshee.net/wp-content/uploads/2019/04/ChooseNetworkSettings.png"><img loading="lazy" class="size-full wp-image-2702 aligncenter" src="https://webbanshee.net/wp-content/uploads/2019/04/ChooseNetworkSettings.png" alt="Choose Network Adapter" width="462" height="241" srcset="https://webbanshee.net/wp-content/uploads/2019/04/ChooseNetworkSettings.png 462w, https://webbanshee.net/wp-content/uploads/2019/04/ChooseNetworkSettings-300x156.png 300w" sizes="(max-width: 462px) 100vw, 462px" /></a></strong></p>
</div>
<p>I have already assigned a fix IP address to this server.<br />
You can configure the IP address and Default Gateway through the following options:<br />
Set Network Adapter Address :</p>
<div class="wpe-box wpe-box-note3">
<p><strong>&gt; Select S for Static &gt; Enter Static IP address &gt; Subnet mask 255.255.240.0</strong></p>
<p>I use the Hyper V defaults here</p>
</div>
<p>Enter the Default Gateway:</p>
<div class="wpe-box wpe-box-note3"><strong>Hyper V default switch IP Address: 172.24.96.129</strong></div>
<p>Set DNS Server:</p>
<div class="wpe-box wpe-box-note3"><strong>&gt; Type here the IP Address of the Domain Controller ( AD2019 ).</strong></div>
<p>Now that both servers can ping each other the next step in our Exchange Server 2019 Hyper V Install will be to prepare and install the AD Server Role on&nbsp; Server 2019 Desktop Experience.</p>
<p>This is covered in <span style="font-size: 18px; color: #993333;"><strong>Part 2</strong></span> : <a class="wpe-button wpe-button-red" href="https://webbanshee.net/install-active-directory-role-windows-server/">Install the Active Directory Role on Server 2019</a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/exchange-server-2019-hyper-v-install/">Exchange Server 2019 Hyper V Install</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/exchange-server-2019-hyper-v-install/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2152</post-id>	</item>
		<item>
		<title>Disable IPv6 on Server Core with Powershell</title>
		<link>https://webbanshee.net/disable-ipv6-on-server-core/</link>
					<comments>https://webbanshee.net/disable-ipv6-on-server-core/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Sat, 04 May 2019 15:49:36 +0000</pubDate>
				<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[IP-Address]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[ServerCore]]></category>
		<guid isPermaLink="false">https://webbanshee.net/?p=2797</guid>

					<description><![CDATA[<p><a class="ex-link" href="https://webbanshee.net/disable-ipv6-on-server-core/"><img src="https://webbanshee.net/wp-content/uploads/2019/05/DisableIPV6OnServerCore.svg" /><span class="exTeaser">Disable IPv6 on Server Core through Powershell and deal with the Invalid Index state when opening Network Settings with sconfig.</span><br />
<span class="exText">When I was building my new test lab I wanted all servers to communicate and respond to ping only in IPv4<span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/disable-ipv6-on-server-core/">Disable IPv6 on Server Core with Powershell</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<style type="text/css">h2 {font-weight: bold;text-decoration:none;font-size: 20px!Important;}h3 {font-weight: bold;text-decoration:none;font-size: 18px!Important;} .wpe-button-blue {background: #1072C1!Important; border: none!Important;}</style>
<p style="text-align: justify;">For whatever reason you may need to disable IPv6 on Server Core or any other server sometimes.</p>
<p style="text-align: justify;">When I was building my new test lab I wanted all servers to communicate and respond to ping only in IPv4. So I started to disable IPv6 on  Server Core via Powershell.</p>
<p>&nbsp;</p>
<p style="text-align: justify;">After this the server responded to ping with its IPv4 address but  <strong>SCONFIG  &gt; Network Settings &gt;  Network Adapter Settings showed an Invalid Index.</strong></p>
<p style="text-align: justify;">The solution for me was to enable IPv6 on Server Core again. The server still responds in IPv4 and the Network Adapter Settings are available again.</p>
<p>&nbsp;<br />
Here are the steps &#8230;</p>
<h2>Disable IPV6 on Server Core via Powershell:</h2>
<div class="wpe-box wpe-box-note">
<p>Switch to Powershell by typing <span style="color: #993333;">powershell</span></p>
</div>
<h2>Check the current status of the Adapter Bindings:</h2>
<div class="wpe-box wpe-box-note">
<p>Get-NetAdapterBinding -ComponentID <span style="color: #993333;">&#8216;ms_tcpip6&#8217;</span></p>
<p><a href="https://webbanshee.net/wp-content/uploads/2019/04/IPV6True.png"><img loading="lazy" class="aligncenter wp-image-2706 size-full" src="https://webbanshee.net/wp-content/uploads/2019/04/IPV6True.png" alt="Get-NetAdapterBinding" width="901" height="93" srcset="https://webbanshee.net/wp-content/uploads/2019/04/IPV6True.png 901w, https://webbanshee.net/wp-content/uploads/2019/04/IPV6True-300x31.png 300w, https://webbanshee.net/wp-content/uploads/2019/04/IPV6True-768x79.png 768w" sizes="(max-width: 901px) 100vw, 901px" /></a></p>
</div>
<h2>Disable IPV6:</h2>
<div class="wpe-box wpe-box-note">
<p>Get-NetAdapterBinding -ComponentID <span style="color: #993333;">&#8216;ms_tcpip6&#8217;</span> | Disable-NetAdapterBinding -ComponentID <span style="color: #993333;">&#8216;ms_tcpip6&#8217;</span> -PassThru</p>
<p><a href="https://webbanshee.net/wp-content/uploads/2019/04/IPV6False.png"><img loading="lazy" class="aligncenter wp-image-2708 size-full" src="https://webbanshee.net/wp-content/uploads/2019/04/IPV6False.png" alt="Disable-NetAdapterBinding" width="961" height="107" srcset="https://webbanshee.net/wp-content/uploads/2019/04/IPV6False.png 961w, https://webbanshee.net/wp-content/uploads/2019/04/IPV6False-300x33.png 300w, https://webbanshee.net/wp-content/uploads/2019/04/IPV6False-768x86.png 768w" sizes="(max-width: 961px) 100vw, 961px" /></a></p>
</div>
<h2>It is possible that  Network Settings > Network Adapter Settings &gt;with SCONFIG will show an invalid index after this:</h2>
<div class="wpe-box wpe-box-note">
<p><a href="https://webbanshee.net/wp-content/uploads/2019/04/InvalidIndexNWSettings.png"><img loading="lazy" class="aligncenter wp-image-2709 size-full" src="https://webbanshee.net/wp-content/uploads/2019/04/InvalidIndexNWSettings.png" alt="Network Adapter Settings Invalid Index" width="616" height="84" srcset="https://webbanshee.net/wp-content/uploads/2019/04/InvalidIndexNWSettings.png 616w, https://webbanshee.net/wp-content/uploads/2019/04/InvalidIndexNWSettings-300x41.png 300w" sizes="(max-width: 616px) 100vw, 616px" /></a></p>
</div>
<h2>One answer from a technet forum goes as follows:</h2>
<p>( sorry, I just copied the text but do not have the referencing link anymore )</p>
<div class="wpe-box wpe-box-note">
<p style="text-align: justify;"><em>Based on my research, this is a known issue when IPV6 is disabled, we first need IPV6 enabled when configuring an IP address using SCONFIG. Once the IP Address is assigned, you can disable IPV6 afterwords.</em></p>
</div>
<p style="text-align: justify;">This was what did not work for me <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" />  After the IPv4 address was assigned and IPv6 was disabled the server was reachable and responded but the Network Adapter Settings still came with an Invalid Index.<br />
So I enabled IPv6 again and left it this way. Everything works fine until now, the server responds with its IPv4 address.</p>
<p>Enjoy the spring!</p>
<p>&nbsp;<br />
<strong>Add Remove IP addresses despite the Invalid Index error:</strong><br />
<a class="wpe-button wpe-button-blue" style="margin-top:10px;" href="https://webbanshee.net/add-ip-address-windows-server/" rel="noopener noreferrer">Add IP Address Windows Server</a> </p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/disable-ipv6-on-server-core/">Disable IPv6 on Server Core with Powershell</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/disable-ipv6-on-server-core/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2797</post-id>	</item>
	</channel>
</rss>
