A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
I am getting an error message
Cannot find path because it does not exist.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello everyone, I hope you are well.
I am doing debugging, however, it is usually somewhat difficult for the scripts in Fslogix, since there are users who stopped using their avd desktop for more than 3 months and are taking up space that they do not use.
Is there any way to be able to debug these profiles that have not used their avd desktop for more than 3 months.
Excellent Friday
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
I am getting an error message
Cannot find path because it does not exist.
I assume there is a typo error in the question
it is delete not debug
and I will create my answer accordingly
you can use PowerShell scripts to Delete FSLogix Profiles
https://github.com/aaronparker/fslogix/tree/main/Profile-Cleanup
$FSLogixProfilePath = "\\path\FsLogixProfiles"
$DaysInactive = 90
Get-ChildItem $FSLogixProfilePath -Recurse |
Where-Object { !$_.PSIsContainer && $_.LastWriteTime -lt (Get-Date).AddDays(-$DaysInactive) } |
ForEach-Object { Remove-Item $_.FullName -Force -Confirm:$false }