Active Directory/README.md hinzugefügt
This commit is contained in:
46
Active Directory/README.md
Normal file
46
Active Directory/README.md
Normal 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>
|
||||||
Reference in New Issue
Block a user