0

PowerShell Script: Calculate First and Last IP of a Subnet

Posted by Tao Yang on 09/02/2012 in PowerShell |

I just wrote this script to calculate the first and last IP of a subnet based on any given IP (within the subnet) and it’s subnet mask:

Syntax: .\Get-NetworkStartEndAddress.ps1 “IP address” “Subnet Mask”

Download here: Get-NetworkStartEndAddress.ps1

Tags:

Want to leave a note? Just fill in the form below.

Leave a Reply

Copyright © 2010-2013 Tao Yang's System Management Blog All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.2, from BuyNowShop.com.