docs/powershell.md aktualisiert
This commit is contained in:
@@ -36,20 +36,18 @@ Get-NetIPInterface -AddressFamily 'IPv6'
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
## IPv6-abschalten
|
## IPv6
|
||||||
<details>
|
<details>
|
||||||
|
|
||||||
<summary>IPv6-abschalten</summary>
|
<summary>IPv6-an/abschalten</summary>
|
||||||
|
|
||||||
Schaltet IPv6 komplett ab!
|
Schaltet IPv6 komplett ab!
|
||||||
> Command: Disable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
|
> Command: [Disable/Enable]-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
|
||||||
```ruby
|
```ruby
|
||||||
Disable-NetAdapterBinding -Name 'eth0' -ComponentID ms_tcpip6
|
Disable-NetAdapterBinding -Name 'eth0' -ComponentID ms_tcpip6
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
### IPv6-DHCP-abschalten
|
||||||
|
|
||||||
## IPv6-DHCP-abschalten
|
|
||||||
<details>
|
<details>
|
||||||
|
|
||||||
<summary>IPv6-DHCP-abschalten</summary>
|
<summary>IPv6-DHCP-abschalten</summary>
|
||||||
@@ -64,6 +62,7 @@ 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>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
## Set-Networkcard-to-private
|
## Set-Networkcard-to-private
|
||||||
@@ -79,6 +78,14 @@ Set-NetConnectionProfile -InterfaceIndex '3' -NetworkCategory 'Private'
|
|||||||
New-NetRoute -DestinationPrefix '172.16.0.0/20' -InterfaceIndex '7' -NextHop '172.16.X.254' -RouteMetric '1'
|
New-NetRoute -DestinationPrefix '172.16.0.0/20' -InterfaceIndex '7' -NextHop '172.16.X.254' -RouteMetric '1'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Change-Serverrolle-im-DHCP
|
||||||
|
> Command: Move-ADDirectoryServerOperationMasterRole -Identity [Ziel-DC] -OperationMasterRole [Role]
|
||||||
|
|
||||||
|
> Command: SchemaMaster,RIDMaster,InfrastructureMaster,DomainNamingMaster,PDCEmulator
|
||||||
|
```ruby
|
||||||
|
Move-ADDirectoryServerOperationMasterRole -Identity 'DC01' -OperationMasterRole PDCEmulator
|
||||||
|
```
|
||||||
|
|
||||||
## Remote-Access
|
## Remote-Access
|
||||||
Read TrustedHosts
|
Read TrustedHosts
|
||||||
```ps
|
```ps
|
||||||
|
|||||||
Reference in New Issue
Block a user