<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=IPv6_PowerShell_Cheat-Sheet_%28Windows%29</id>
	<title>IPv6 PowerShell Cheat-Sheet (Windows) - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=IPv6_PowerShell_Cheat-Sheet_%28Windows%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=IPv6_PowerShell_Cheat-Sheet_(Windows)&amp;action=history"/>
	<updated>2026-05-15T02:14:41Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=IPv6_PowerShell_Cheat-Sheet_(Windows)&amp;diff=65240&amp;oldid=prev</id>
		<title>Thomas.will: /* Hinweis (Admin-Konsole) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=IPv6_PowerShell_Cheat-Sheet_(Windows)&amp;diff=65240&amp;oldid=prev"/>
		<updated>2025-10-23T14:26:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Hinweis (Admin-Konsole)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 23. Oktober 2025, 14:26 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l101&quot; &gt;Zeile 101:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 101:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Hinweis (Admin-Konsole) ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Hinweis (Admin-Konsole) ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Start-Process PowerShell -Verb RunAs # Konsole als Administrator öffnen&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Start-Process PowerShell -Verb RunAs # Konsole als Administrator öffnen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Dhcp Abschalten ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Stop-Service Dhcp&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Set-Service Dhcp -StartupType Disabled&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff::1.12:old-64343:rev-65240 --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=IPv6_PowerShell_Cheat-Sheet_(Windows)&amp;diff=64343&amp;oldid=prev</id>
		<title>Thomas.will am 18. August 2025 um 17:24 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=IPv6_PowerShell_Cheat-Sheet_(Windows)&amp;diff=64343&amp;oldid=prev"/>
		<updated>2025-08-18T17:24:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;//wiki.ixheim.de/index.php?title=IPv6_PowerShell_Cheat-Sheet_(Windows)&amp;amp;diff=64343&amp;amp;oldid=64342&quot;&gt;Änderungen zeigen&lt;/a&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=IPv6_PowerShell_Cheat-Sheet_(Windows)&amp;diff=64342&amp;oldid=prev</id>
		<title>Thomas.will: Die Seite wurde neu angelegt: „\== IPv6 PowerShell Cheat-Sheet (Windows) ==  \=== Interfaces &amp; Status === \*Get-NetIPInterface -AddressFamily IPv6 \*Get-NetIPInterface -AddressFamily IPv6 |…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=IPv6_PowerShell_Cheat-Sheet_(Windows)&amp;diff=64342&amp;oldid=prev"/>
		<updated>2025-08-18T17:22:57Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „\== IPv6 PowerShell Cheat-Sheet (Windows) ==  \=== Interfaces &amp;amp; Status === \*Get-NetIPInterface -AddressFamily IPv6 \*Get-NetIPInterface -AddressFamily IPv6 |…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;\== IPv6 PowerShell Cheat-Sheet (Windows) ==&lt;br /&gt;
&lt;br /&gt;
\=== Interfaces &amp;amp; Status ===&lt;br /&gt;
\*Get-NetIPInterface -AddressFamily IPv6&lt;br /&gt;
\*Get-NetIPInterface -AddressFamily IPv6 | Format-Table ifIndex,InterfaceAlias,ConnectionState,InterfaceMetric,RouterDiscovery&lt;br /&gt;
\*Enable-NetAdapterBinding -Name &amp;quot;Ethernet&amp;quot; -ComponentID ms\_tcpip6&lt;br /&gt;
\*Disable-NetAdapterBinding -Name &amp;quot;Ethernet&amp;quot; -ComponentID ms\_tcpip6&lt;br /&gt;
\*Get-NetIPConfiguration -Detailed&lt;br /&gt;
&lt;br /&gt;
\=== Adressen anzeigen &amp;amp; verwalten ===&lt;br /&gt;
\*Get-NetIPAddress -AddressFamily IPv6&lt;br /&gt;
\*Get-NetIPAddress -InterfaceAlias &amp;quot;Ethernet&amp;quot; -AddressFamily IPv6&lt;br /&gt;
\*New-NetIPAddress -InterfaceAlias &amp;quot;Ethernet&amp;quot; -IPAddress 2001\:db8:1::10 -PrefixLength 64 -DefaultGateway 2001\:db8:1::1&lt;br /&gt;
\*Remove-NetIPAddress -InterfaceAlias &amp;quot;Ethernet&amp;quot; -IPAddress 2001\:db8:1::10 -Confirm:\$false&lt;br /&gt;
\*New-NetIPAddress -InterfaceAlias &amp;quot;Ethernet&amp;quot; -IPAddress fe80::10 -PrefixLength 64 -AddressFamily IPv6 -Type Unicast  # Link-Local manuell&lt;br /&gt;
\*Set-NetIPv6Protocol -UseTemporaryAddresses Enabled  # Privacy Extensions&lt;br /&gt;
\*Set-NetIPv6Protocol -UseTemporaryAddresses Disabled&lt;br /&gt;
\*Set-NetIPv6Protocol -RandomizeIdentifiers Enabled&lt;br /&gt;
\*Set-NetIPv6Protocol -RandomizeIdentifiers Disabled&lt;br /&gt;
&lt;br /&gt;
\=== DNS (AAAA/Resolver) ===&lt;br /&gt;
\*Resolve-DnsName example.com -Type AAAA&lt;br /&gt;
\*Set-DnsClientServerAddress -InterfaceAlias &amp;quot;Ethernet&amp;quot; -ServerAddresses 2001:4860:4860::8888,2001:4860:4860::8844&lt;br /&gt;
\*Get-DnsClientServerAddress -AddressFamily IPv6&lt;br /&gt;
\*Clear-DnsClientCache&lt;br /&gt;
&lt;br /&gt;
\=== Routing ===&lt;br /&gt;
\*Get-NetRoute -AddressFamily IPv6&lt;br /&gt;
\*Get-NetRoute -AddressFamily IPv6 | Sort-Object RouteMetric | Format-Table DestinationPrefix,NextHop,InterfaceAlias,RouteMetric&lt;br /&gt;
\*New-NetRoute -DestinationPrefix 2001\:db8:2::/64 -InterfaceAlias &amp;quot;Ethernet&amp;quot; -NextHop 2001\:db8:1::1 -RouteMetric 20&lt;br /&gt;
\*Remove-NetRoute -DestinationPrefix 2001\:db8:2::/64 -InterfaceAlias &amp;quot;Ethernet&amp;quot; -NextHop 2001\:db8:1::1 -Confirm:\$false&lt;br /&gt;
\*Test-NetConnection -ComputerName 2001\:db8:1::1 -DiagnoseRouting&lt;br /&gt;
&lt;br /&gt;
\=== Neighbor Discovery (NDP) ===&lt;br /&gt;
\*Get-NetNeighbor -AddressFamily IPv6&lt;br /&gt;
\*Get-NetNeighbor -InterfaceAlias &amp;quot;Ethernet&amp;quot; -State Stale&lt;br /&gt;
\*Remove-NetNeighbor -InterfaceAlias &amp;quot;Ethernet&amp;quot; -IPAddress fe80::aabb\:ccff\:fedd\:ee11 -Confirm:\$false&lt;br /&gt;
&lt;br /&gt;
\=== Router Advertisements / SLAAC Schalter (Interface) ===&lt;br /&gt;
\*Get-NetIPInterface -AddressFamily IPv6 | Format-Table InterfaceAlias,RouterDiscovery,Advertising&lt;br /&gt;
\*Set-NetIPInterface -InterfaceAlias &amp;quot;Ethernet&amp;quot; -RouterDiscovery Enabled&lt;br /&gt;
\*Set-NetIPInterface -InterfaceAlias &amp;quot;Ethernet&amp;quot; -RouterDiscovery Disabled&lt;br /&gt;
\*Set-NetIPInterface -InterfaceAlias &amp;quot;Ethernet&amp;quot; -Advertising Disabled  # Nur relevant, wenn Windows als Router agiert&lt;br /&gt;
&lt;br /&gt;
\=== Tests &amp;amp; Troubleshooting ===&lt;br /&gt;
\*Test-Connection -TargetName ipv6.google.com -Count 4  # ICMPv6 Ping&lt;br /&gt;
\*Test-Connection -TargetName 2001:4860:4860::8888 -Count 4&lt;br /&gt;
\*Test-NetConnection -ComputerName example.com -Port 443 -InformationLevel Detailed&lt;br /&gt;
\*Test-NetConnection -ComputerName example.com -TraceRoute&lt;br /&gt;
\*Test-NetConnection -ComputerName example.com -CommonTCPPort HTTP&lt;br /&gt;
\*Get-NetTCPConnection -AppliedSetting Internet -State Established&lt;br /&gt;
\*ipconfig /all&lt;br /&gt;
\*ipconfig /flushdns&lt;br /&gt;
\*ping -6 example.com&lt;br /&gt;
\*tracert -6 example.com&lt;br /&gt;
\*pathping -6 example.com&lt;br /&gt;
&lt;br /&gt;
\=== Windows Firewall (ICMPv6 &amp;amp; Ports) ===&lt;br /&gt;
\*Get-NetFirewallRule -DisplayGroup &amp;quot;File and Printer Sharing&amp;quot; | Where-Object {\$*.Name -like &amp;quot;*ICMP6*&amp;quot;} | Format-Table Name,Enabled&lt;br /&gt;
\*New-NetFirewallRule -DisplayName &amp;quot;Allow ICMPv6 Echo In&amp;quot; -Protocol ICMPv6 -IcmpType 128 -Direction Inbound -Action Allow&lt;br /&gt;
\*New-NetFirewallRule -DisplayName &amp;quot;Allow ICMPv6 Echo Out&amp;quot; -Protocol ICMPv6 -IcmpType 128 -Direction Outbound -Action Allow&lt;br /&gt;
\*New-NetFirewallRule -DisplayName &amp;quot;Allow TCP 8443 IPv6&amp;quot; -Direction Inbound -Protocol TCP -LocalPort 8443 -Action Allow -LocalAddress ::/0&lt;br /&gt;
\*Get-NetFirewallRule | Where-Object {\$*.DisplayName -like &amp;quot;*IPv6*&amp;quot;} | Format-Table DisplayName,Enabled&lt;br /&gt;
&lt;br /&gt;
\=== Präfix-Richtlinien (Bevorzugung) ===&lt;br /&gt;
\*netsh interface ipv6 show prefixpolicies&lt;br /&gt;
\*netsh interface ipv6 add prefixpolicy ::1/128 50 0&lt;br /&gt;
\*netsh interface ipv6 set prefixpolicy ::ffff:0:0/96 35 4  # IPv4-mapped Präferenz anpassen (nur falls nötig)&lt;br /&gt;
&lt;br /&gt;
\=== Übergangstechniken deaktivieren (Legacy) ===&lt;br /&gt;
\*netsh interface teredo show state&lt;br /&gt;
\*netsh interface teredo set state disabled&lt;br /&gt;
\*netsh interface 6to4 set state disabled&lt;br /&gt;
\*netsh interface isatap set state disabled&lt;br /&gt;
&lt;br /&gt;
\=== Bevorzugung IPv4/IPv6 (Registry Toggle) ===&lt;br /&gt;
\*New-Item -Path &amp;quot;HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters&amp;quot; -Force | Out-Null&lt;br /&gt;
\*New-ItemProperty -Path &amp;quot;HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters&amp;quot; -Name DisabledComponents -PropertyType DWord -Value 0x00 -Force  # IPv6 voll aktiv&lt;br /&gt;
\*Set-ItemProperty -Path &amp;quot;HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters&amp;quot; -Name DisabledComponents -Value 0x20  # IPv4 bevorzugt&lt;br /&gt;
\*Set-ItemProperty -Path &amp;quot;HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters&amp;quot; -Name DisabledComponents -Value 0xFF  # IPv6 aus (nicht für Produktivbetrieb)&lt;br /&gt;
\*Restart-Computer  # Erforderlich nach Änderung&lt;br /&gt;
&lt;br /&gt;
\=== DHCPv6 / Autokonfiguration Hinweise ===&lt;br /&gt;
\*Get-NetIPInterface -AddressFamily IPv6 | Select-Object InterfaceAlias,AddressFamily,RouterDiscovery,Dhcp&lt;br /&gt;
\*Set-NetIPInterface -InterfaceAlias &amp;quot;Ethernet&amp;quot; -RouterDiscovery Enabled  # SLAAC aktiv&lt;br /&gt;
\*Set-DnsClient -InterfaceAlias &amp;quot;Ethernet&amp;quot; -RegisterThisConnectionsAddress \$true&lt;br /&gt;
&lt;br /&gt;
\=== Quick-Snippets (ersetzen: IF=&amp;quot;Ethernet&amp;quot;) ===&lt;br /&gt;
\*\$if=&amp;quot;Ethernet&amp;quot;; Get-NetIPAddress -InterfaceAlias \$if -AddressFamily IPv6&lt;br /&gt;
\*\$if=&amp;quot;Ethernet&amp;quot;; New-NetIPAddress -InterfaceAlias \$if -IPAddress 2001\:db8:1::10 -PrefixLength 64 -DefaultGateway 2001\:db8:1::1&lt;br /&gt;
\*\$if=&amp;quot;Ethernet&amp;quot;; Set-DnsClientServerAddress -InterfaceAlias \$if -ServerAddresses 2001:4860:4860::8888,2001:4860:4860::8844&lt;br /&gt;
\*\$if=&amp;quot;Ethernet&amp;quot;; New-NetRoute -DestinationPrefix 2001\:db8:2::/64 -InterfaceAlias \$if -NextHop 2001\:db8:1::1 -RouteMetric 20&lt;br /&gt;
\*\$if=&amp;quot;Ethernet&amp;quot;; Test-NetConnection -ComputerName example.com -TraceRoute -InformationLevel Detailed&lt;br /&gt;
&lt;br /&gt;
\=== Nützliche Aufräumer ===&lt;br /&gt;
*Get-NetIPAddress -AddressFamily IPv6 | Where-Object {$\_.IPAddress -like &amp;quot;2001\:db8*&amp;quot;} | Remove-NetIPAddress -Confirm:\$false&lt;br /&gt;
*Get-NetRoute -AddressFamily IPv6 | Where-Object {$\_.DestinationPrefix -like &amp;quot;2001\:db8:*&amp;quot;} | Remove-NetRoute -Confirm:\$false&lt;br /&gt;
&lt;br /&gt;
\=== Versionsinfo / Modul ===&lt;br /&gt;
\*\$PSVersionTable&lt;br /&gt;
\*Get-Command -Module NetTCPIP | Where-Object Name -like &amp;quot;*IPv6*&amp;quot; | Sort-Object Name | Format-Table Name&lt;br /&gt;
&lt;br /&gt;
\=== Hinweis (Admin-Konsole) ===&lt;br /&gt;
\*Start-Process PowerShell -Verb RunAs  # Konsole als Administrator öffnen&lt;/div&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
</feed>