Active Directory/README.md hinzugefügt

This commit is contained in:
2024-11-04 11:08:11 +01:00
parent c1a35c5eb3
commit 2ef9e71fe9

View File

@@ -0,0 +1,46 @@
# Active Directory
## Konfiguration
### Powershell - Local Password
<details>
````ps
Get-LocalUser -Name "Administrator" | Set-LocalUser -Password (ConvertTo-SecureString -AsPlainText "Passw0rd" -Force)
````
</details>
### Powershell - Netzwerkkarte auf Private setzen
<details>
````ps
Get-NetConnectionProfile
````
````ps
Set-NetConnectionProfile -InterfaceIndex [Index der Netzwerkkarte] -NetworkCategory "Private"
````
#### Firewall abschalten
<details>
````ps
netsh advfirewall set allprofiles state off
````
</details>
</details>
### Powershell - IPv6 de-/aktivieren
<details>
````ps
Disable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
````
````ps
Enable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
````
</details>