dotps1 / HPWarranty

PowerShell module to help retrieve Hewlett-Packard Warranty Information
https://www.powershellgallery.com/packages/HPWarranty/
43 stars 17 forks source link

Updated Entitlement and Registration computer parameters to test for … #8

Closed jbruett closed 9 years ago

jbruett commented 9 years ago

…connectivity not WSMan. WSMan isn't required for these cmdlets to complete successfully and the validation scripts were breaking functionality that should otherwise work.

dotps1 commented 9 years ago

LOL! YOU! YOU! i am in the process of moving this to CIM right now and adding Credential support. so WSMan will be required!

jbruett commented 9 years ago

You should make it use com but fail back to wmi On Jul 30, 2015 10:08 AM, "Thomas Malkewitz" notifications@github.com wrote:

LOL! YOU! YOU! i am in the process of moving this to CIM right now and adding Credential support. so WSMan will be required!

— Reply to this email directly or view it on GitHub https://github.com/dotps1/HPWarranty/pull/8#issuecomment-126340999.

dotps1 commented 9 years ago

not a bad idea, I think WMI is considered Depricated. maybe I will give 'protocol' switch, and use either WSMan or CIM. I'll let you know what I come up with. Thanks!

dotps1 commented 9 years ago

I have removed the check for WSMan and replaced it with the Test-Connection Cmdlet for a check that the computer is online.

Thanks.