Notify RDS User Profile Disk Space

Andrea 1 Reputation point
2021-02-27T15:24:53.787+00:00

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

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,226 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Carl Fan 6,836 Reputation points
    2021-03-01T09:56:05.843+00:00

    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

    1 person found this answer helpful.
    0 comments No comments

  2. 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]

    :(

    0 comments No comments