In my hospital we are setting up a domain. We need to check how much the desktop and documents folders on all users’s size are. Then the result should be printed somewhere in a file to get a report of it, like in my own computer or in a network share. Is that something doable? We are using EndpointCentral to check all of the workstations remotely, we can also use it to launch a script on each target machine locally without having to specify the list of target machines in the script.<\/p>\n
How would you do this? Tldr: need help using a script to determine desktop and document size for each local user on various pcs<\/p>","upvoteCount":3,"answerCount":5,"datePublished":"2024-10-25T10:07:00.947Z","author":{"@type":"Person","name":"Rizzoli","url":"https://community.spiceworks.com/u/Rizzoli"},"suggestedAnswer":[{"@type":"Answer","text":"
In my hospital we are setting up a domain. We need to check how much the desktop and documents folders on all users’s size are. Then the result should be printed somewhere in a file to get a report of it, like in my own computer or in a network share. Is that something doable? We are using EndpointCentral to check all of the workstations remotely, we can also use it to launch a script on each target machine locally without having to specify the list of target machines in the script.<\/p>\n
How would you do this? Tldr: need help using a script to determine desktop and document size for each local user on various pcs<\/p>","upvoteCount":3,"datePublished":"2024-10-25T10:07:01.074Z","url":"https://community.spiceworks.com/t/desktop-and-document-size/1134443/1","author":{"@type":"Person","name":"Rizzoli","url":"https://community.spiceworks.com/u/Rizzoli"}},{"@type":"Answer","text":"
Is there a reason you need the sizes of this - it may help if we know why you want it.<\/p>\n
If you are using FR, then you can get the sizes on the share.<\/p>","upvoteCount":0,"datePublished":"2024-10-25T11:11:00.609Z","url":"https://community.spiceworks.com/t/desktop-and-document-size/1134443/2","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"
Since we are putting all of the machines under a domain we need that info to know how much space to allocate to each user<\/p>","upvoteCount":1,"datePublished":"2024-10-25T12:48:43.357Z","url":"https://community.spiceworks.com/t/desktop-and-document-size/1134443/3","author":{"@type":"Person","name":"Rizzoli","url":"https://community.spiceworks.com/u/Rizzoli"}},{"@type":"Answer","text":"
This site offers a pretty decent tutorial on how to script it. You’d use your EC tool to run it locally on each PC and point the $outputFile to some central network share. Will still require you to do some hand-calculating, but you could probably modify the script to summarize a bit better.<\/p>\n