First all I want to say hello to everybody. I am new here and I hope learn a lot of things with your experience and help. I am learning a little powershell because in my company we use it for some task and I think it is important for the future.
My questions in the following. I am making a simple code which I can query computers connected in our internal network in our domain and extract dell service tag (we work with dell computers). Sometimes, there are computers connected in the internal network but there are no members of our domain. One idea is use diferent combinations of localadministrator-password but sometimes dont work. We have not access to extract this info in the computers.
I would like to ask if there is one way for do this task. I would like to know the logic for trying to make a better code and learn a little more.
Thanks a lot and apologies my bad english.