I'm collecting the amount of free space for each drive in my servers. How can I modify this code bit so that it will append the repeating table with the value of each drive returned by the IF THEN STATEMENT?
Also is ther a way to format the value like in VB so that instead of C:\229302 it would show C:\229,302?
Dim Drv As DriveInfoDim oDrvs() As DriveInfo = DriveInfo.GetDrives
For Each Drv In oDrvs
If Drv.IsReady ThenSetFieldValue(Drv.Name & " " & Drv.AvailableFreeSpace.ToString, "/my:myFields/my:group4/my:group5/my:field59")
End If
Next
Thanks