.. / Set-NetConnectionProfile

Changes the network category of a connection profile


Functions:
Type:
Toolsets:

Network

Update connection profile for network adapter

Set-NetConnectionProfile -CimSession $s -InterfaceAlias 'Ethernet0' -NetworkCategory Private
Usecase
Update connection profile to have a different firewall policy applied

Comments
Mitre Att&ck
T1047




Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)