FSLogix / Invoke-FslShrinkDisk

This script will shrink a FSLogix Disk to its minimum possible size
MIT License
155 stars 55 forks source link

QUERY: Export whitespace % without shriking VHDs #44

Closed nmunkley closed 3 years ago

nmunkley commented 3 years ago

Hi

Is it possible to export the current whitespace % for each VHD into a CSV to be used to quantify running the full script? I work in an environment with thousands of users and have been asked to provide evidence to quantify running the script. Is it possible to have a pass where it collects the data including % whitespace but does not shrink any VHDs?

JimMoyle commented 3 years ago

Not right now, it's on the roadmap to provide a '-whatif' function.

Usually the first run will save 50-90% space.

Jim

On Tue, 17 Aug 2021 at 16:26, nmunkley @.***> wrote:

Hi

Is it possible to export the current whitespace % for each VHD into a CSV to be used to quantify running the full script? I work in an environment with thousands of users and have been asked to provide evidence to quantify running the script. Is it possible to have a pass where it collects the data including % whitespace but does not shrink any VHDs?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FSLogix/Invoke-FslShrinkDisk/issues/44, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE365O55PDUWIBVISNRRDILT5J5S5ANCNFSM5CKDVIIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

nmunkley commented 3 years ago

Thanks for confirming. That will be handy when it is available. I have already run this once before on one FSlogix data store and need to run it on a 2nd. But part of ongoing maintenance is to keep on top of this, so -whatif can be run monthly and then only run the full when it will provide a reasonable return as it took several hours the first time.

JimMoyle commented 3 years ago

It shouldn't take several hours.

Run it remotely from a Windows 10/ 2019 machine, give the machine lots of CPU cores and set the throttle limit to double the amount of cores should really shorten your run time.

Jim

On Tue, 17 Aug 2021 at 16:55, nmunkley @.***> wrote:

Thanks for confirming. That will be handy when it is available. I have already run this once before on one FSlogix data store and need to run it on a 2nd. But part of ongoing maintenance is to keep on top of this, so -whatif can be run monthly and then only run the full when it will provide a reasonable return as it took several hours the first time.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FSLogix/Invoke-FslShrinkDisk/issues/44#issuecomment-900419332, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE365O6VSQWNSKVZB7GOVQLT5KA5RANCNFSM5CKDVIIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .