Sha256: 2dbc545c6ff816d8a19123f98fa8320bc7ffe8bf0bb69dd50677a05762f53325
Contents?: true
Size: 317 Bytes
Versions: 64
Compression:
Stored size: 317 Bytes
Contents
# Get network connections $networkListManager = [Activator]::CreateInstance([Type]::GetTypeFromCLSID([Guid]"{DCB00C01-570F-4A9B-8D69-199FDBA5723B}")) $connections = $networkListManager.GetNetworkConnections() # Set network location to Private for all networks $connections | % {$_.GetNetwork().SetCategory(1)}
Version data entries
64 entries across 57 versions & 8 rubygems