I'd be happy to help. I have contacted the editors about the example code for Windows PowerShell Cookbook, 3rd Edition. I will be in touch with you once they provide me with further information. Have a great day!
Customer Service Representative