I'm manage to retrieve my computer SMBIOSAssetTag witht he following
code,
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer &
"\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from
Win32_SystemEnclosure",,48)
For Each objItem in colItems
Wscript.Echo "SMBIOSAssetTag: " & objItem.SMBIOSAssetTag
Next
Anyhow, I'm not manage to retrieve my ownership tag under my Bios ->
Security -> System ID with field [Enter Ownership Tag]
Beside that, if we manage to find it, is that possible that we add the
value or modify the value with WMI?????
You reply is really appreciated.....
Thanks!
Regards
CLYUEN
Marcel
clyu...@hotmail.com (tjeptjep77) wrote in message news:<12c6ee5.03030...@posting.google.com>...