Azure Wvd Delete fxlogix profiles and user directory paths

Jaganljpmail 1 Reputation point
2021-04-23T14:03:06.61+00:00

We have a lot of stale wvd fxlogix user profiles and their directory’s that needs to be deleted as the users are not active anymore. Is there a script or an easy way to delete all of the .vhdx’s and their user directory’s as they are not needed.

Invoke shrink script works to delete the .vhdx but not the user directory

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,845 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,777 Reputation points Microsoft Employee Moderator
    2021-04-28T02:36:50.387+00:00

    Hi @Jaganljpmail When you say - "Invoke shrink script works to delete the .vhdx but not the user directory"
    Is this using the Invoke-FslShrinkDisk script?

    If yes, the way to delete the directory would be to fork that project and adding a step to delete the directory for a deleted disk. It should be fairly straightforward but let me know if you need further help on this.

    Thanks.

    0 comments No comments

Your answer

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