Notifications
Clear all
[Closed] Help
Oct 04, 2008 10:48 pm
dotNet.loadAssembly “System.Management”
mydot=dotNetclass “System.Management.ManagementObjectSearcher”
showproperties mydot
–showmethods mydot
my=dotnetobject mydot
showProperties my showStaticOnly:false showMethods:true showAttributes:true
my.query.QueryString=“SELECT * FROM Win32_DiskDrive”
mytemp=my.get()
showmethods mytemp showStaticOnly:false showMethods:true showAttributes:true
mytemp.count
temp=#()
–temp.count=2
mindex=1
integer mindex
mytemp.copyto temp mindex