diff --git a/Active Directory/README.md b/Active Directory/README.md new file mode 100644 index 0000000..eae24ca --- /dev/null +++ b/Active Directory/README.md @@ -0,0 +1,46 @@ +# Active Directory + +## Konfiguration + +### Powershell - Local Password +
+ +````ps +Get-LocalUser -Name "Administrator" | Set-LocalUser -Password (ConvertTo-SecureString -AsPlainText "Passw0rd" -Force) +```` + +
+ +### Powershell - Netzwerkkarte auf Private setzen +
+ +````ps +Get-NetConnectionProfile +```` + +````ps +Set-NetConnectionProfile -InterfaceIndex [Index der Netzwerkkarte] -NetworkCategory "Private" +```` + +#### Firewall abschalten +
+ +````ps +netsh advfirewall set allprofiles state off +```` +
+ +
+ +### Powershell - IPv6 de-/aktivieren +
+ +````ps +Disable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6 +```` + +````ps +Enable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6 +```` + +
\ No newline at end of file