Module with various network functions

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Network

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Chris Masters


(c) 2017 Chris Masters. All rights reserved.



Network DNS web IP Address ifconfig netstat cert certificate DHCP


Get-DnsAddressList Get-DNSDebugLog Get-DnsCache Clear-DnsCache Get-HostsFile Add-HostsFileEntry Remove-HostsFileEntry Get-DNSScavengeRecord Invoke-DNSManualCleanUp ConvertTo-DottedDecimalIP Convert-SubnetMaskToCidr Convert-CidrToDottedSubnetMask ConvertTo-DecimalIP Get-MyIpAddress Get-WebCertificate Get-WebSecurityProtocol Set-WebSecurityProtocol Import-509Certificate Expand-Uri Get-Proxy Enable-Proxy Disable-Proxy Set-WebCertificatePolicy Test-CertificateAuthorityPlacement Get-Netstat Send-WakeOnLan Get-AdAuthorizedDhcpServer


Release Notes

Version 0.1
- Day one

Version 0.2
- Function (WEB) Added : Get-WebCertificate
- Function (DNS) Changed : Added progress to the Get-DnsDebugLog

Version 0.3
- Function (WEB) added : Get-WebSecurityProtocol
- Function (WEB) added : Set-WebSecurityProtocol
- Function (WEB) added : Import-509Certificate

Version 0.4
- Function (DNS) added : Get-HostsFile : Pretty self explainatory
- Function (DNS) added : Add-HostsFileEntry : Offers elevation if not running as admin
- Function (DNS) added : Remove-HostsFileEntry : Elevation offered. Only IP arg for now.

Version 0.5
- Function (WEB) added : Expand-Uri : for seeing the destination of a shortened URL w/o going there...
- Function (WEB) changed : Set-WebSecurityProtocol had a problem with looking up current protocols.
- Function (NET) added : Get-Netstat returns an object with established and listening port info
- Module : changed : Removed the prerequisite installer of the core module.
- Module : changed : Module now requires PowerShell version 5.0

Version 0.6
- Function (NET) added : Send-WakeOnLan added

Version 0.7
- Function (WEB) added : Disable-Proxy added. Disables IE proxy settings via registry keys.
- Function (WEB) added : Enable-Proxy added. Enables IE proxy settings via registry keys.
- Module : changed : now requires core version to be 1.4 or higher

Version 0.7.1
- Function (WEB) updated : Enable-Proxy now tries to figure out if you had proxy or auto URL configured

Version 0.7.2
- Function (WEB) added : Get-Proxy. Returns True or False based on the proxy status

Version 0.8
- Module updated : Changed the requires statement to not include NetAdapter or NetTCPIP. This way it will work with
older operating systems. This will only exclude one function (ifconfig).

Version 0.9
- Module updated : Cheanged the RequiredVersion, to ModuleVersion
- Function (DNS) : added : Get-DNSScavengeRecord returns records to be scavenged on DNS servers, if you enable it.

Version 0.9.1
- Function (DNS) : added : Invoke-DNSManualCleanUp. Just could not wait to add this one in, thus ver 0.9.!

Version History

Version Downloads Last updated
0.9.1 (current version) 533 11/30/2018
0.9 7 11/30/2018
0.8 305 3/16/2018
0.7.1 234 10/25/2017
0.7 6 10/25/2017
0.6 43 10/6/2017
0.5 8 10/5/2017