Last active
August 29, 2015 14:04
-
-
Save rjt/a98f6adba54e5b11d3b0 to your computer and use it in GitHub Desktop.
This file contains 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
#Unexpected token '3c-0c' in expression or statement. | |
#You must provide a value expression following the '-' operator. | |
[string]$Mac3='00-16-d4-08-3c-0c'; | |
$Mac3.GetType() #returns string. | |
$dhcpEntry.Item("ClientId") | |
#Get-DhcpS does not find the entry some of the time. If i put in the number directly, it will work. | |
Get-DhcpServerv4Reservation -ClientId $Mac3 -ScodeID 10.0.100.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment