916 shaares
Pour changer de profile réseau en trois lignes.
PS C:>$Profile = Get-NetConnectionProfile -InterfaceAlias Ethernet1
PS C:>$Profile.NetworkCategory = "Private"
PS C:>Set-NetConnectionProfile -InputObject $Profile
Pour changer de profile réseau en trois lignes.
PS C:>$Profile = Get-NetConnectionProfile -InterfaceAlias Ethernet1
PS C:>$Profile.NetworkCategory = "Private"
PS C:>Set-NetConnectionProfile -InputObject $Profile