Tuesday, July 14, 2020

Get computer name from IP

Replace 172.16.00.000 with IP
WMIC /NODE:172.16.00.000 COMPUTERSYSTEM GET USERNAME

Replace ComputerName with your computer name
WMIC /NODE:ComputerName COMPUTERSYSTEM GET USERNAME

No comments: