Reference Guide

'*** Initialize variables
Set fso = CreateObject("Scripting.FileSystemObject")
strComputerName = WScript.Arguments(0)
outString = ""
strNameSpace = "root/dcim/sysman"
strClassName = "DCIM_VirtualDiskView"
iTKVal = -1
ArrayItem = 0
'*** Establish a connection to the dcim/sysman namespace
'*** Retrieve the instance of DCIM_ControllerView class
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate,"&_
"AuthenticationLevel=pktprivacy}\\" & strComputerName & "\" &_
strNameSpace)
426