Active Directory/README.md aktualisiert
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
# Active Directory
|
# Active Directory
|
||||||
|
|
||||||
|
|
||||||
## Konfiguration
|
## Konfiguration
|
||||||
### Powershell - Local Password
|
### Powershell
|
||||||
|
<details>
|
||||||
|
#### Local Password
|
||||||
<details>
|
<details>
|
||||||
````ruby
|
````ruby
|
||||||
Get-LocalUser -Name "Administrator" | Set-LocalUser -Password (ConvertTo-SecureString -AsPlainText "Passw0rd" -Force)
|
Get-LocalUser -Name "Administrator" | Set-LocalUser -Password (ConvertTo-SecureString -AsPlainText "Passw0rd" -Force)
|
||||||
````
|
````
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
### Powershell - Local Netconf
|
#### Local Netconf
|
||||||
<details>
|
<details>
|
||||||
```ruby
|
```ruby
|
||||||
New-NetIPAddress -InterfaceIndex 3 -AddressFamily IPv4 -IPAddress '172.16.7.100' -PrefixLength '255.255.255.0' -DefaultGateway '172.16.7.254'
|
New-NetIPAddress -InterfaceIndex 3 -AddressFamily IPv4 -IPAddress '172.16.7.100' -PrefixLength '255.255.255.0' -DefaultGateway '172.16.7.254'
|
||||||
@@ -20,14 +20,14 @@ Set-DnsClientServerAddress -InterfaceIndex '3' -ServerAddresses ('172.16.7.11','
|
|||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
### Powershell - Set-Hostname
|
#### Set-Hostname
|
||||||
<details>
|
<details>
|
||||||
```ruby
|
```ruby
|
||||||
Rename-Computer -NewName 'DC01' -Restart -Force
|
Rename-Computer -NewName 'DC01' -Restart -Force
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
### Powershell - Netzwerkkarte auf Private setzen
|
#### Netzwerkkarte auf Private setzen
|
||||||
<details>
|
<details>
|
||||||
````ruby
|
````ruby
|
||||||
Get-NetConnectionProfile
|
Get-NetConnectionProfile
|
||||||
@@ -45,7 +45,7 @@ netsh advfirewall set allprofiles state off
|
|||||||
````
|
````
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
### Powershell - IPv6 de-/aktivieren
|
#### IPv6 de-/aktivieren
|
||||||
<details>
|
<details>
|
||||||
````ruby
|
````ruby
|
||||||
Disable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
|
Disable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
|
||||||
@@ -58,7 +58,8 @@ Enable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
|
|||||||
|
|
||||||
|
|
||||||
## Aufnahme in die Domäne
|
## Aufnahme in die Domäne
|
||||||
### Powershell - Domain-Join
|
### Powershell
|
||||||
|
#### Domain-Join
|
||||||
<details>
|
<details>
|
||||||
````ruby
|
````ruby
|
||||||
Add-Computer -Domain "podxx.spielwiese.intern" -Restart -Force
|
Add-Computer -Domain "podxx.spielwiese.intern" -Restart -Force
|
||||||
|
|||||||
Reference in New Issue
Block a user