'WMI is used for getting information about device,registry etc.Some properties of classes may support "write".this example shows how you can set volume label to C Drive.
Set objSvc=GetObject("WinMgmts:")
Set obj=objSvc.Get("Win32_LogicalDisk.DeviceID='C:'")
obj.VolumeName="System"
obj.Put_
WMI scripts-Put method
Etiketler:
logical disk,
put,
wmi