Sha256: a97300c10b89a1abe22dd4f2733fa345782e844a96223d9c947ef5b2d4e50ab8
Contents?: true
Size: 315 Bytes
Versions: 24
Compression:
Stored size: 315 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
24 entries across 24 versions & 2 rubygems