I have written as script that checks the last accessed date and and size of shares on a server. This works fine on servers with fairly small share'd area's. The problem I have is with large dept shares that maybe 50GB plus. I,m using the Getfolder command as below to accertain the size
Set f = objfso.GetFolder ("\\"& strcomputer & "\" & (strsharepath))
s = f.size & " bytes."
ShowFolderSize = s
If I use this against a large share folder after approx 20 minutes the script returns (path not found)
My question is: Is there a limit to the folder size that I can ref using this method. I would also point out I am running this script remotley to minimise impact on production server.
Any help most welcome
Set f = objfso.GetFolder ("\\"& strcomputer & "\" & (strsharepath))
s = f.size & " bytes."
ShowFolderSize = s
If I use this against a large share folder after approx 20 minutes the script returns (path not found)
My question is: Is there a limit to the folder size that I can ref using this method. I would also point out I am running this script remotley to minimise impact on production server.
Any help most welcome