Last active
August 29, 2015 14:04
-
-
Save rjt/8167899035f87bcfdaf9 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
********************** | |
Windows PowerShell transcript start | |
Start time: 20140724193635 | |
Username : eceo\admRobert | |
Machine : DOMAIN01 (Microsoft Windows NT 6.3.9600.0) | |
********************** | |
Transcript started, output file is C:\Users\admrobert.eceo\Documents\PowerShell_transcript.20140724193635.txt | |
PS P:\docs\robert\SOURCE\ps> .\ReadXML-DHCP.ps1 | |
Security warning | |
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your | |
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning | |
message. Do you want to run P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1? | |
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r | |
da-f3-1b-1d-b2-9a | |
dhcpEntry.Item("ClientId").GetType() = string | |
Mac1.GetType() string | |
Mac1.GetTypeCode() String | |
Get-DhcpServerv4Reservation : The value specified $Mac1 for ClientId is not in valid format. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:43 char:33 | |
+ $MacAlreadyHasReservation = Get-DhcpServerv4Reservation -ClientId '$Mac1' -S ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidArgument: (ClientId:root/Microsoft/...erv4Reservation) [Get-DhcpServerv4Reservati | |
on], CimException | |
+ FullyQualifiedErrorId : WIN32 87,Get-DhcpServerv4Reservation | |
Get-DhcpServerv4Reservation : The value specified $Mac2 for ClientId is not in valid format. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:46 char:33 | |
+ $MacAlreadyHasReservation = Get-DhcpServerv4Reservation -ClientId '$Mac2' -S ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidArgument: (ClientId:root/Microsoft/...erv4Reservation) [Get-DhcpServerv4Reservati | |
on], CimException | |
+ FullyQualifiedErrorId : WIN32 87,Get-DhcpServerv4Reservation | |
err= | |
Error= The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in | |
valid format. You cannot call a method on a null-valued expression. You cannot call a method on a null-valued expressio | |
n. You cannot call a method on a null-valued expression. You cannot call a method on a null-valued expression. You cann | |
ot call a method on a null-valued expression. Cannot bind parameter 'ScriptBlock'. Cannot convert the "" value of type | |
"System.String" to type "System.Management.Automation.ScriptBlock". The value specified $Mac2 for ClientId is not in va | |
lid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac2 for ClientId is no | |
t in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac2 for ClientI | |
d is not in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac2 for | |
ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. Unable to find type [st | |
r]. Make sure that the assembly that contains this type is loaded. The value specified $Mac2 for ClientId is not in val | |
id format. The value specified $Mac1 for ClientId is not in valid format. Unable to find type [str]. Make sure that the | |
assembly that contains this type is loaded. The value specified $Mac2 for ClientId is not in valid format. The value s | |
pecified $Mac1 for ClientId is not in valid format. Unable to find type [str]. Make sure that the assembly that contain | |
s this type is loaded. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for Cli | |
entId is not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 | |
for ClientId is not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified | |
$Mac1 for ClientId is not in valid format. The value specified $Mac3 for ClientId is not in valid format. The value sp | |
ecified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. The v | |
alue specified $Mac3 for ClientId is not in valid format. The value specified $Mac2 for ClientId is not in valid format | |
. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac3 for ClientId is not in valid | |
format. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not i | |
n valid format. The value specified $Mac3 for ClientId is not in valid format. The value specified $Mac2 for ClientId i | |
s not in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac3 for Cli | |
entId is not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 | |
for ClientId is not in valid format. The value specified $Mac3 for ClientId is not in valid format. The value specified | |
$Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. Failed to ge | |
t reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1 | |
d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Fail | |
ed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da | |
-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN | |
01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Cli | |
entId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP serve | |
r DOMAIN01. File P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1 cannot be loaded because you opted not to run this software | |
now. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Cl | |
ientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP serv | |
er DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservatio | |
n for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on D | |
HCP server DOMAIN01. At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:36 char:22 | |
+ "dhcpEntry.Item("ClientId").GetType() = " + $dhcpEntry.Item("ClientId").getT ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~ | |
Unexpected token 'ClientId").GetType() = "' in expression or statement. | |
Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Client | |
Id da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server D | |
OMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation fo | |
r ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP | |
server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reserv | |
ation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a | |
on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to ge | |
t reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1 | |
d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Fail | |
ed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da | |
-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN | |
01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Cli | |
entId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP serve | |
r domain01.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.netwo | |
rk.corp.eceo.us. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:16 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~~ | |
Unexpected token '-d' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:18 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~~~~~~~~~~ | |
Unexpected token '4-08-3b-e7' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:23 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~ | |
You must provide a value expression following the '-' operator. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:23 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~~~~~ | |
Unexpected token '3b-e7' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:16 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~~ | |
Unexpected token '-d' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:18 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~~~~~~~~~~ | |
Unexpected token '4-08-3c-0c' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:23 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~ | |
You must provide a value expression following the '-' operator. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:23 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~~~~~ | |
Unexpected token '3c-0c' in expression or statement. | |
Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP server domain01.network.corp.eceo.us. Failed to get r | |
eservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.network.corp.eceo.us. Failed to get reservation for C | |
lientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. The cmdlet does not fully support the Inquire a | |
ction for debug messages. Cmdlet operation will continue during the prompt. Select a different action preference via | |
-Debug switch or $DebugPreference variable, and try again. The cmdlet does not fully support the Inquire action for deb | |
ug messages. Cmdlet operation will continue during the prompt. Select a different action preference via -Debug switch | |
or $DebugPreference variable, and try again. The cmdlet does not fully support the Inquire action for debug messages. | |
Cmdlet operation will continue during the prompt. Select a different action preference via -Debug switch or $DebugPre | |
ference variable, and try again. Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP server domain01.netwo | |
rk.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.network.corp.eceo.us. | |
Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. The value speci | |
fied [str]00-16-d4-08-3c-0c for ClientId is not in valid format. The value specified [str]00-16-d4-08-3b-e7 for ClientI | |
d is not in valid format. The value specified [str]da-f3-1b-1d-b2-9a for ClientId is not in valid format. A positional | |
parameter cannot be found that accepts argument 'ClientId'. A positional parameter cannot be found that accepts argumen | |
t 'ClientId'. A positional parameter cannot be found that accepts argument 'ClientId'. Failed to get reservation for Cl | |
ientId 00-16-d4-08-3c-0c on DHCP server domain01.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4- | |
08-3b-e7 on DHCP server domain01.network.corp.eceo.us. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP | |
server domain01.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP server domain01 | |
.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.network.corp.ec | |
eo.us. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. | |
ErrorView = NormalView | |
00-16-d4-08-3b-e7 | |
dhcpEntry.Item("ClientId").GetType() = string | |
Mac1.GetType() string | |
Mac1.GetTypeCode() String | |
Get-DhcpServerv4Reservation : The value specified $Mac1 for ClientId is not in valid format. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:43 char:33 | |
+ $MacAlreadyHasReservation = Get-DhcpServerv4Reservation -ClientId '$Mac1' -S ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidArgument: (ClientId:root/Microsoft/...erv4Reservation) [Get-DhcpServerv4Reservati | |
on], CimException | |
+ FullyQualifiedErrorId : WIN32 87,Get-DhcpServerv4Reservation | |
Get-DhcpServerv4Reservation : The value specified $Mac2 for ClientId is not in valid format. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:46 char:33 | |
+ $MacAlreadyHasReservation = Get-DhcpServerv4Reservation -ClientId '$Mac2' -S ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidArgument: (ClientId:root/Microsoft/...erv4Reservation) [Get-DhcpServerv4Reservati | |
on], CimException | |
+ FullyQualifiedErrorId : WIN32 87,Get-DhcpServerv4Reservation | |
err= | |
Error= The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in | |
valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is | |
not in valid format. You cannot call a method on a null-valued expression. You cannot call a method on a null-valued ex | |
pression. You cannot call a method on a null-valued expression. You cannot call a method on a null-valued expression. Y | |
ou cannot call a method on a null-valued expression. Cannot bind parameter 'ScriptBlock'. Cannot convert the "" value o | |
f type "System.String" to type "System.Management.Automation.ScriptBlock". The value specified $Mac2 for ClientId is no | |
t in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac2 for ClientI | |
d is not in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac2 for | |
ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Ma | |
c2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. Unable to find t | |
ype [str]. Make sure that the assembly that contains this type is loaded. The value specified $Mac2 for ClientId is not | |
in valid format. The value specified $Mac1 for ClientId is not in valid format. Unable to find type [str]. Make sure t | |
hat the assembly that contains this type is loaded. The value specified $Mac2 for ClientId is not in valid format. The | |
value specified $Mac1 for ClientId is not in valid format. Unable to find type [str]. Make sure that the assembly that | |
contains this type is loaded. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 | |
for ClientId is not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified | |
$Mac1 for ClientId is not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value sp | |
ecified $Mac1 for ClientId is not in valid format. The value specified $Mac3 for ClientId is not in valid format. The v | |
alue specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format | |
. The value specified $Mac3 for ClientId is not in valid format. The value specified $Mac2 for ClientId is not in valid | |
format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac3 for ClientId is not i | |
n valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId i | |
s not in valid format. The value specified $Mac3 for ClientId is not in valid format. The value specified $Mac2 for Cli | |
entId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac3 | |
for ClientId is not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified | |
$Mac1 for ClientId is not in valid format. The value specified $Mac3 for ClientId is not in valid format. The value sp | |
ecified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. Faile | |
d to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da- | |
f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN0 | |
1. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Clie | |
ntId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server | |
DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation | |
for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHC | |
P server DOMAIN01. File P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1 cannot be loaded because you opted not to run this so | |
ftware now. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation | |
for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DH | |
CP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get res | |
ervation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2- | |
9a on DHCP server DOMAIN01. At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:36 char:22 | |
+ "dhcpEntry.Item("ClientId").GetType() = " + $dhcpEntry.Item("ClientId").getT ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~ | |
Unexpected token 'ClientId").GetType() = "' in expression or statement. | |
Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Client | |
Id da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server D | |
OMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation fo | |
r ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP | |
server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reserv | |
ation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a | |
on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to ge | |
t reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1 | |
d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Fail | |
ed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da | |
-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN | |
01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Cli | |
entId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP serve | |
r domain01.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.netwo | |
rk.corp.eceo.us. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:16 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~~ | |
Unexpected token '-d' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:18 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~~~~~~~~~~ | |
Unexpected token '4-08-3b-e7' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:23 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~ | |
You must provide a value expression following the '-' operator. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:23 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~~~~~ | |
Unexpected token '3b-e7' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:16 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~~ | |
Unexpected token '-d' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:18 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~~~~~~~~~~ | |
Unexpected token '4-08-3c-0c' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:23 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~ | |
You must provide a value expression following the '-' operator. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:23 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~~~~~ | |
Unexpected token '3c-0c' in expression or statement. | |
Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP server domain01.network.corp.eceo.us. Failed to get r | |
eservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.network.corp.eceo.us. Failed to get reservation for C | |
lientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. The cmdlet does not fully support the Inquire a | |
ction for debug messages. Cmdlet operation will continue during the prompt. Select a different action preference via | |
-Debug switch or $DebugPreference variable, and try again. The cmdlet does not fully support the Inquire action for deb | |
ug messages. Cmdlet operation will continue during the prompt. Select a different action preference via -Debug switch | |
or $DebugPreference variable, and try again. The cmdlet does not fully support the Inquire action for debug messages. | |
Cmdlet operation will continue during the prompt. Select a different action preference via -Debug switch or $DebugPre | |
ference variable, and try again. Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP server domain01.netwo | |
rk.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.network.corp.eceo.us. | |
Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. The value speci | |
fied [str]00-16-d4-08-3c-0c for ClientId is not in valid format. The value specified [str]00-16-d4-08-3b-e7 for ClientI | |
d is not in valid format. The value specified [str]da-f3-1b-1d-b2-9a for ClientId is not in valid format. A positional | |
parameter cannot be found that accepts argument 'ClientId'. A positional parameter cannot be found that accepts argumen | |
t 'ClientId'. A positional parameter cannot be found that accepts argument 'ClientId'. Failed to get reservation for Cl | |
ientId 00-16-d4-08-3c-0c on DHCP server domain01.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4- | |
08-3b-e7 on DHCP server domain01.network.corp.eceo.us. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP | |
server domain01.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP server domain01 | |
.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.network.corp.ec | |
eo.us. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. | |
ErrorView = NormalView | |
00-16-d4-08-3c-0c | |
dhcpEntry.Item("ClientId").GetType() = string | |
Mac1.GetType() string | |
Mac1.GetTypeCode() String | |
Get-DhcpServerv4Reservation : The value specified $Mac1 for ClientId is not in valid format. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:43 char:33 | |
+ $MacAlreadyHasReservation = Get-DhcpServerv4Reservation -ClientId '$Mac1' -S ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidArgument: (ClientId:root/Microsoft/...erv4Reservation) [Get-DhcpServerv4Reservati | |
on], CimException | |
+ FullyQualifiedErrorId : WIN32 87,Get-DhcpServerv4Reservation | |
Get-DhcpServerv4Reservation : The value specified $Mac2 for ClientId is not in valid format. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:46 char:33 | |
+ $MacAlreadyHasReservation = Get-DhcpServerv4Reservation -ClientId '$Mac2' -S ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidArgument: (ClientId:root/Microsoft/...erv4Reservation) [Get-DhcpServerv4Reservati | |
on], CimException | |
+ FullyQualifiedErrorId : WIN32 87,Get-DhcpServerv4Reservation | |
err= | |
Error= The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in | |
valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is | |
not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for Clien | |
tId is not in valid format. You cannot call a method on a null-valued expression. You cannot call a method on a null-va | |
lued expression. You cannot call a method on a null-valued expression. You cannot call a method on a null-valued expres | |
sion. You cannot call a method on a null-valued expression. Cannot bind parameter 'ScriptBlock'. Cannot convert the "" | |
value of type "System.String" to type "System.Management.Automation.ScriptBlock". The value specified $Mac2 for ClientI | |
d is not in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac2 for | |
ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Ma | |
c2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specif | |
ied $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. Unable to | |
find type [str]. Make sure that the assembly that contains this type is loaded. The value specified $Mac2 for ClientId | |
is not in valid format. The value specified $Mac1 for ClientId is not in valid format. Unable to find type [str]. Make | |
sure that the assembly that contains this type is loaded. The value specified $Mac2 for ClientId is not in valid forma | |
t. The value specified $Mac1 for ClientId is not in valid format. Unable to find type [str]. Make sure that the assembl | |
y that contains this type is loaded. The value specified $Mac2 for ClientId is not in valid format. The value specified | |
$Mac1 for ClientId is not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value sp | |
ecified $Mac1 for ClientId is not in valid format. The value specified $Mac2 for ClientId is not in valid format. The v | |
alue specified $Mac1 for ClientId is not in valid format. The value specified $Mac3 for ClientId is not in valid format | |
. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid | |
format. The value specified $Mac3 for ClientId is not in valid format. The value specified $Mac2 for ClientId is not i | |
n valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified $Mac3 for ClientId i | |
s not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for Cli | |
entId is not in valid format. The value specified $Mac3 for ClientId is not in valid format. The value specified $Mac2 | |
for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format. The value specified | |
$Mac3 for ClientId is not in valid format. The value specified $Mac2 for ClientId is not in valid format. The value sp | |
ecified $Mac1 for ClientId is not in valid format. The value specified $Mac3 for ClientId is not in valid format. The v | |
alue specified $Mac2 for ClientId is not in valid format. The value specified $Mac1 for ClientId is not in valid format | |
. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Clien | |
tId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server | |
DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation f | |
or ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP | |
server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reser | |
vation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a | |
on DHCP server DOMAIN01. File P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1 cannot be loaded because you opted not to run | |
this software now. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get rese | |
rvation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9 | |
a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to | |
get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b | |
-1d-b2-9a on DHCP server DOMAIN01. At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:36 char:22 | |
+ "dhcpEntry.Item("ClientId").GetType() = " + $dhcpEntry.Item("ClientId").getT ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~ | |
Unexpected token 'ClientId").GetType() = "' in expression or statement. | |
Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Client | |
Id da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server D | |
OMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation fo | |
r ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP | |
server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reserv | |
ation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a | |
on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to ge | |
t reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1 | |
d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Fail | |
ed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da | |
-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN | |
01. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for Cli | |
entId da-f3-1b-1d-b2-9a on DHCP server DOMAIN01. Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP serve | |
r domain01.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.netwo | |
rk.corp.eceo.us. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:16 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~~ | |
Unexpected token '-d' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:18 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~~~~~~~~~~ | |
Unexpected token '4-08-3b-e7' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:23 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~ | |
You must provide a value expression following the '-' operator. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:29 char:23 | |
+ $Mac1=00-16-d4-08-3b-e7; | |
+ ~~~~~ | |
Unexpected token '3b-e7' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:16 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~~ | |
Unexpected token '-d' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:18 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~~~~~~~~~~ | |
Unexpected token '4-08-3c-0c' in expression or statement. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:23 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~ | |
You must provide a value expression following the '-' operator. | |
At P:\docs\robert\SOURCE\ps\ReadXML-DHCP.ps1:31 char:23 | |
+ $Mac3=00-16-d4-08-3c-0c; | |
+ ~~~~~ | |
Unexpected token '3c-0c' in expression or statement. | |
Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP server domain01.network.corp.eceo.us. Failed to get r | |
eservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.network.corp.eceo.us. Failed to get reservation for C | |
lientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. The cmdlet does not fully support the Inquire a | |
ction for debug messages. Cmdlet operation will continue during the prompt. Select a different action preference via | |
-Debug switch or $DebugPreference variable, and try again. The cmdlet does not fully support the Inquire action for deb | |
ug messages. Cmdlet operation will continue during the prompt. Select a different action preference via -Debug switch | |
or $DebugPreference variable, and try again. The cmdlet does not fully support the Inquire action for debug messages. | |
Cmdlet operation will continue during the prompt. Select a different action preference via -Debug switch or $DebugPre | |
ference variable, and try again. Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP server domain01.netwo | |
rk.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.network.corp.eceo.us. | |
Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. The value speci | |
fied [str]00-16-d4-08-3c-0c for ClientId is not in valid format. The value specified [str]00-16-d4-08-3b-e7 for ClientI | |
d is not in valid format. The value specified [str]da-f3-1b-1d-b2-9a for ClientId is not in valid format. A positional | |
parameter cannot be found that accepts argument 'ClientId'. A positional parameter cannot be found that accepts argumen | |
t 'ClientId'. A positional parameter cannot be found that accepts argument 'ClientId'. Failed to get reservation for Cl | |
ientId 00-16-d4-08-3c-0c on DHCP server domain01.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4- | |
08-3b-e7 on DHCP server domain01.network.corp.eceo.us. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP | |
server domain01.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3c-0c on DHCP server domain01 | |
.network.corp.eceo.us. Failed to get reservation for ClientId 00-16-d4-08-3b-e7 on DHCP server domain01.network.corp.ec | |
eo.us. Failed to get reservation for ClientId da-f3-1b-1d-b2-9a on DHCP server domain01.network.corp.eceo.us. | |
ErrorView = NormalView | |
PS P:\docs\robert\SOURCE\ps> | |
PS P:\docs\robert\SOURCE\ps> | |
PS P:\docs\robert\SOURCE\ps> Stop-Transcript | |
********************** | |
Windows PowerShell transcript end | |
End time: 20140724193655 | |
********************** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment