Unfortunately if user try to execute this script it shows error:
CategoryInfo : PermissionDenied: (MSFT_Disk:ROOT/Microsoft/Windows/Storage/MSFT_Disk) [Get-Disk]
:(
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
Unfortunately if user try to execute this script it shows error:
CategoryInfo : PermissionDenied: (MSFT_Disk:ROOT/Microsoft/Windows/Storage/MSFT_Disk) [Get-Disk]
:(
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