Created
December 14, 2015 22:13
-
-
Save jeffgreenca/42a858b45b9011f156b3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#given source.csv | |
#mac,ip | |
#aabbccddeef0,172.16.1.20 | |
#aabbccddeef1,172.16.1.21 | |
Import-CSV source.csv | % { Add-DhcpServerv4Reservation -Scope 172.16.1.0 -ClientID $_.mac -IPAddress $_.ip } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment