question

Andrea-5417 avatar image
0 Votes"
Andrea-5417 asked ·

Notify RDS User Profile Disk Space

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

windows-remote-desktop-services
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CarlFan-MSFT avatar image
1 Vote"
CarlFan-MSFT answered ·

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

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Andrea-5417 avatar image
0 Votes"
Andrea-5417 answered ·

Unfortunately if user try to execute this script it shows error:

CategoryInfo : PermissionDenied: (MSFT_Disk:ROOT/Microsoft/Windows/Storage/MSFT_Disk) [Get-Disk]

:(

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.