Network

0.9.2.3

Module with various network functions

Minimum PowerShell version

5.0

Installation Options

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

Install-Module -Name Network

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Network

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy 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

Owners

Copyright

(c) 2017 Chris Masters. All rights reserved.

Package Details

Author(s)

  • Chris Masters

Tags

Network DNS web IP Address ifconfig netstat cert certificate DHCP

Functions

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 Test-IPAddressIsValid 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-GeoIPInfo New-MxToolBoxQuery Get-AdAuthorizedDhcpServer

Dependencies

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 0.9.2
- Function : Changed : Get-MyIpAddress. Updated to bypass proxy, and use basic parsing. iwr still uses IE :(
- Function : Added : Test-IPAddressIsValid. Tests if an IP address is valid.
- Module : Changed : Moved to GitHub, with workflows to publish to the Gallery
- Module : Changed : Organized code with regions
- Class : Added : Class for CIDR IP address calculations

Version 0.9.2.1
- Function : Changed : Set-WebSecurityProtocol. TLS 1.3 protocol added

Version 0.9.2.2
- Function : Changed : Get-WebCertificate. Replaced deprecated [Net.HttpWebRequest] with TcpClient and SslStream.

Version 0.9.2.3
- Function : Changed : Get-WebCertificate. Updated parameter to more common "ComputerName", moved HostName to an alias.

FileList

Version History

Version Downloads Last updated
0.9.2.3 (current version) 491 11/10/2024
0.9.2.2 5 11/10/2024
0.9.2.1 1,565 9/26/2024
0.9.2 190 9/20/2024
0.9.1 10,484 11/30/2018
0.9 37 11/30/2018
0.8 333 3/16/2018
0.7.1 311 10/25/2017
0.7 34 10/25/2017
0.6 70 10/6/2017
0.5 38 10/5/2017
Show more