Hi,
Please refer to the information in the links below:
https://www.cyberdrain.com/monitoring-with-powershell-monitoring-rds-upd-size/
https://community.spiceworks.com/how_to/158347-user-notifications-for-low-free-space-when-using-user-profile-disks
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl
Notify RDS User Profile Disk Space
Andrea
1
Reputation point
Hello guys, I've a lot of RDS User Profile Disk (vhdx) and I 'd like to find a method to notify user (or much better to notify Admin throght email) when user profile disk space is lower then 100Mbyte. There is a script or a command to find out disk space of vhdx users? thanks! Andrew
2 answers
Sort by: Most helpful
-
Carl Fan 6,836 Reputation points
2021-03-01T09:56:05.843+00:00 -
Andrea 1 Reputation point
2021-03-06T13:03:20.893+00:00 Unfortunately if user try to execute this script it shows error:
CategoryInfo : PermissionDenied: (MSFT_Disk:ROOT/Microsoft/Windows/Storage/MSFT_Disk) [Get-Disk]
:(