From a5bbe2ee61910108b07d12950b4837fcfb781050 Mon Sep 17 00:00:00 2001 From: Tim Eertmoed Date: Mon, 4 Nov 2024 11:10:18 +0100 Subject: [PATCH] Active Directory/README.md aktualisiert --- Active Directory/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Active Directory/README.md b/Active Directory/README.md index eae24ca..79e6270 100644 --- a/Active Directory/README.md +++ b/Active Directory/README.md @@ -5,7 +5,7 @@ ### Powershell - Local Password
-````ps +````ruby Get-LocalUser -Name "Administrator" | Set-LocalUser -Password (ConvertTo-SecureString -AsPlainText "Passw0rd" -Force) ```` @@ -14,18 +14,18 @@ Get-LocalUser -Name "Administrator" | Set-LocalUser -Password (ConvertTo-SecureS ### Powershell - Netzwerkkarte auf Private setzen
-````ps +````ruby Get-NetConnectionProfile ```` -````ps +````ruby Set-NetConnectionProfile -InterfaceIndex [Index der Netzwerkkarte] -NetworkCategory "Private" ```` #### Firewall abschalten
-````ps +````bash netsh advfirewall set allprofiles state off ````
@@ -35,11 +35,11 @@ netsh advfirewall set allprofiles state off ### Powershell - IPv6 de-/aktivieren
-````ps +````ruby Disable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6 ```` -````ps +````ruby Enable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6 ````