you are right buddy that was the issue, now it is working, basically I am trying to find out laptop's in my network here is my latest code.
code:but I foung the reg. key which I am serching for LAptop is existing in some of my compaq PC's (D51c HP) can some body tell me any uneeque key which is only there in Laptop ??
For Each $computer In $computerlist
? "$computer 2k"
? "$computer is laptop"
“I’ll not change you unless you don’t have intention to change yourself”