In the event that you’re using UUID or MAC Address to uniquely identify computers in a database (the MDT database or SCCM for example) you might want a quick and easy way of getting these values from the Command Prompt on the target computer…
UUID
wmic csproduct get "UUID" > C:\UUID.txt
MAC Address
wmic nic get "MACAddress" > C:\MAC.txt
or
ipconfig /all | find /i "phy" > C:\MAC.txt
/ JC
Go PowerShell JC, WMIC is good if you just want a list but If you want to know which MAC Address corresponds to which device this works and there’s lots of properties you can get other than these:
$NIC = Get-NetAdapter
$nic.name
$nic.InterfaceDescription
$nic.MacAddress
Sorry, should have been:
Get-NetAdapter | %{
$nic.name
$nic.InterfaceDescription
$nic.MacAddress
}
Not in WinPE without PowerShell…. 😉
Reblogged this on Konkretor Blog, IT Stuff and more.
Your style is so unique compared to other folks
I’ve read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I will just bookmark this
site.