Share via

Azure Disk Profile Delete

Juan Pablo Delgadillo Martinez 1 Reputation point
2022-12-08T18:39:57.977+00:00

Hello everyone!.
Is there a script to be able to detect users who have not used their virtual desktops for a long time, for example 100 days, and if they can delete their virtual disks since they consume space and cost, since they are usually users who are no longer found in the company.

Azure Virtual Desktop
Azure Virtual Desktop

A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Justin Verstijnen 211 Reputation points
    2022-12-12T10:44:27.38+00:00

    Dear Juan,

    I think you have to create this script yourself. You can use the following:

    Delete files older than:
    https://stackoverflow.com/questions/17829785/delete-files-older-than-15-days-using-powershell

    You can run/schedule this script on a server.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.