![]() ![]() Some computers that might be off or something get rpc server errors - i don't care about that, but that's telling me that this is at least actually reaching out to the computers (i think). So again, probably something stupid, I'm not getting errors, but I'm not seeing my computers. I really only care that the csv is good, obviously. No entries are made but the headers are actually neatly set out across a row as I'd like, contrary to the list format that displays on-screen. ![]() Find Laptop or PC model and serial number by command prompt. Get serial number of the computer: wmic bios get serialnumber Get serial number of the computer remotely from system name: wmic /node. GOODRemote Desktop Users S-1-5-32-555 OK. The results I'm getting when I output $outtbl on-screen, is all of the headers to all the info I'd want. C:Tools>wmic baseboard get Manufacturer, Model, Product, SerialNumber, Version. $outtbl += $X seems to append $X to $outtbl, like it's converting objects into an array? Not sure. Hopefully I copied everything we need to see into that - so the 2 things I don't quite grasp is $outtbl = - Looking online, these seems to be an array? And Powershell #******* Active Directory System Info *******#******** By **********# $Computers = Get-ADComputer -filter * | Select-Object -ExpandProperty Name Foreach ( $computer in $computers ) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |