Netzwerktyp auf „Privat“ stellen

Powershell mit Adminrechten Ausführen:

dann Adapterindex rausfinden:

Get-NetAdapter

Netzwerk auf Privat stellen

$a=Get-NetConnectionProfile -InterfaceIndex „Adapterindex“

$a.NetworkCategory = „Private“

Set-NetConnectionProfile -InputObject $a

Einstellung überprüfen

Get-NetConnectionProfile -InterfaceIndex „Adapterindex“

Schreibe einen Kommentar