The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

markrgunn (9) [Avatar] Offline
#1
Hello,

Towards the end of section 9.1.2 on page 259, the text says:

"Let's just check the TargetObject member of the last error object to verify that it's the file name "nobother".

The text then shows this:

PS (6) > $errs[0].TargetObject
Csmilieocuments and Settingsrucepay
ofuss
PS (7) >


The original command was:

PS(1) > dir nofuss,nomuss,nobother -ErrorVariable errs

The discrepancy is that zero was specified when two should have been:

PS (6) > $errs[2].TargetObject
Csmilieocuments and Settingsrucepay
obother
PS (7) >


Kind regards,
Mark