diff --git a/docs/powershell.md b/docs/powershell.md index 558827e..7ecd169 100644 --- a/docs/powershell.md +++ b/docs/powershell.md @@ -12,6 +12,13 @@ Get-LocalUser -Name 'Administrator' | Set-LocalUser -Password (ConvertTo-SecureS Rename-Computer -NewName 'DC01' -Restart -Force ``` +## Set-Networkcard-to-private +Profil der Netzwerkkarte auf Privat umstellen (Firewall) +> Comman: Set-NetConnectionProfile -InterfaceIndex [Index der Netzwerkkarte] -NetworkCategory "Private" +```ruby +Set-NetConnectionProfile -InterfaceIndex '3' -NetworkCategory 'Private' +``` + ## IPv6-DHCP-abschalten > Command: Get-NetIPInterface -AddressFamily [IPv6/IPv4] ```ruby