Checked Boxes

by Jul 23, 2013

I have a list of checked boxes on a website,  How Can I unchecked all boxes and check specific box?

Example  (I just want to select Code and Created at boxes.)

 

Id
Retailer
State Code
Oope pin Created at Updated at Device status key

 

My Code:

$link = $doc.getElementsByTagName('input') | Where-Object {$_.Type -eq 'checkbox' }

 

Please help.

 

Thanks.