Active Directory/README.md aktualisiert

This commit is contained in:
2024-11-05 08:06:17 +01:00
parent bd231b0ce0
commit 3bb6cd7f74

View File

@@ -15,6 +15,7 @@ Get-LocalUser -Name "Administrator" | Set-LocalUser -Password (ConvertTo-SecureS
#### Local Netconf
<details>
```ruby
New-NetIPAddress -InterfaceIndex 3 -AddressFamily IPv4 -IPAddress '172.16.7.100' -PrefixLength '255.255.255.0' -DefaultGateway '172.16.7.254'
```
@@ -22,17 +23,22 @@ New-NetIPAddress -InterfaceIndex 3 -AddressFamily IPv4 -IPAddress '172.16.7.100'
```ruby
Set-DnsClientServerAddress -InterfaceIndex '3' -ServerAddresses ('172.16.7.11','172.16.7.12')
```
</details>
#### Set-Hostname
<details>
```ruby
Rename-Computer -NewName 'DC01' -Restart -Force
```
</details>
#### Netzwerkkarte auf Private setzen
<details>
````ruby
Get-NetConnectionProfile
````
@@ -40,17 +46,21 @@ Get-NetConnectionProfile
````ruby
Set-NetConnectionProfile -InterfaceIndex [Index der Netzwerkkarte] -NetworkCategory "Private"
````
</details>
#### Firewall abschalten
<details>
````bash
````ruby
netsh advfirewall set allprofiles state off
````
</details>
#### IPv6 de-/aktivieren
<details>
````ruby
Disable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
````
@@ -58,6 +68,7 @@ Disable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
````ruby
Enable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
````
</details>
</details>
@@ -75,7 +86,6 @@ Add-Computer -Domain "podxx.spielwiese.intern" -Restart -Force
````
</details>
</details>
## GPOs
@@ -94,7 +104,9 @@ Add-Computer -Domain "podxx.spielwiese.intern" -Restart -Force
----> System
-----> Password Settings Container
````
![GUI-Config](IMG/PSO.PNG)
</details>
#### Keine Login History
@@ -107,7 +119,8 @@ Add-Computer -Domain "podxx.spielwiese.intern" -Restart -Force
---->Sicherheitsoptionen
----->Interaktive Anmeldung
````
![GUI-Config](IMG/NO_LOGON_HISTORY.PNG)
</details>
![GUI-Config](IMG/NO_LOGON_HISTORY.PNG)
</details>
</details>