docs/powershell.md aktualisiert

This commit is contained in:
2024-10-23 11:17:20 +02:00
parent ca4650a32b
commit aa8665e3da

View File

@@ -30,8 +30,10 @@ Schaltet IPv6 komplett ab!
```ruby ```ruby
Disable-NetAdapterBinding -Name 'eth0' -ComponentID ms_tcpip6 Disable-NetAdapterBinding -Name 'eth0' -ComponentID ms_tcpip6
``` ```
<details>
<summary>IPv6-DHCP-abschalten</summary>
## IPv6-DHCP-abschalten
Nur DHCPv6 abschalten Nur DHCPv6 abschalten
> Command: Get-NetIPInterface -AddressFamily [IPv6/IPv4] > Command: Get-NetIPInterface -AddressFamily [IPv6/IPv4]
```ruby ```ruby
@@ -46,6 +48,8 @@ Set-NetIPInterface -InterfaceAlias 'Inside' -AddressFamily 'IPv6' -Dhcp Disabled
Set-NetIPInterface -InterfaceIndex '3' -AddressFamily 'IPv6' -Dhcp Disabled Set-NetIPInterface -InterfaceIndex '3' -AddressFamily 'IPv6' -Dhcp Disabled
``` ```
</details>
## Set-Networkcard-to-private ## Set-Networkcard-to-private
Profil der Netzwerkkarte auf Privat umstellen (Firewall) Profil der Netzwerkkarte auf Privat umstellen (Firewall)
> Comman: Set-NetConnectionProfile -InterfaceIndex [Index der Netzwerkkarte] -NetworkCategory "Private" > Comman: Set-NetConnectionProfile -InterfaceIndex [Index der Netzwerkkarte] -NetworkCategory "Private"