diff --git a/README.md b/README.md index 9cf13eb..9607804 100644 --- a/README.md +++ b/README.md @@ -1 +1,33 @@ -# Init \ No newline at end of file +# GPO for Optionals features + +gpedit.msc -> Comp>AdminVorl>System>Einstellung_für_die_Installation_optionaler Komponenten -> Aktiv -> Update NO +WIN -> Optionale Features + +# Powershell +## IPv6 DHCP abschalten +Get-NetIPInterface -AddressFamily [IPv6/IPv4] +```ruby +Get-NetIPInterface -AddressFamily 'IPv6' +``` +Set-NetIPInterface -InterfaceAlias [Name der Netzwerkkarte] -AddressFamily [IPv4/IPv6] -Dhcp Disabled +```ruby +Set-NetIPInterface -InterfaceAlias 'Inside' -AddressFamily 'IPv6' -Dhcp Disabled +``` +Command: Set-NetIPInterface -InterfaceIndex [Index der Netzwerkkarte] -AddressFamily [IPv4/IPv6] -Dhcp Disabled +```ruby +Set-NetIPInterface -InterfaceIndex '3' -AddressFamily 'IPv6' -Dhcp Disabled +``` +## Add-Route +New-NetRoute -DestinationPrefix [Subnet] -InterfaceIndex [Index der Netzwerkkarte] -NextHop [IP-Adress] -RouteMetric [Metric] +```ruby +New-NetRoute -DestinationPrefix '172.16.0.0/20' -InterfaceIndex '7' -NextHop '172.16.X.254' -RouteMetric '1' +``` +## IP-config +New-NetIPAddress -InterfaceIndex [Index des Interfaces] -AddressFamily [IPv4/IPv6] -IPAddress [IP-Adress] -PrefixLength [SNM / Prefix] -DefaultGateway [IP-Adresse des Default-Gateway] +```ruby +New-NetIPAddress -InterfaceIndex 3 -AddressFamily IPv4 -IPAddress '172.16.7.100' -PrefixLength '255.255.255.0' -DefaultGateway '172.16.7.254' +``` + +```ruby + +``` \ No newline at end of file