After some fooling around...
I updated the code to have after Set objFolder = objFSO.GetFolder(iis_path) to have
if debugging > "1" then wscript.echo "IIS Path info: " & objFolder end if
Now the path it echos before it complains about "Path not found" is a W:\Inetpub
The script is being run from C:\...\..\scripts\audit_windows.vbs
For all intents and purposes, the folder exists and I'm running as Administrator so it should have the privs to query the size. The fact it passes the .FolderExists portion is proof enough it can see it. I really can't see why objFolder.size would report it cannot find the path. This is on a 2008R2 box.
Regards,
augrunt
*EDITS*
The Folder Size is about 200GB when I look in explorer. I'd imagine there may be some files in their that are marked hidden or are unable to be queried, which may be the reason this is happening. We need to find a way to gracefully handle this anomaly
I'll look around for a fix.