Verbindungsprofile auf "Private" setzen

Der folgende PowerShell-Befehl setzt alle Verbindungsprofile auf „Private“:

Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private

Siehe hierzu auch:
https://docs.microsoft.com/de-de/powershell/module/netconnection/set-netconnectionprofile?view=windowsserver2022-ps