Automatically fix FSLogix Drive errors?

I was perusing the r/AzureVirtualDesktop subreddit recently and saw this post about Drive Repair Warning messages and something finally clicked in my head. “ALL users that were on that host saw the repair warning”
 

 Honestly, I've seen that on AVD hosts for years, but no matter how much I reimaged, I kept getting the error but never dug into it.

I decided to make this runbook (NMM-SE/AzureRunbooks/FSLogix-ChkDisk.ps1 at main · Get-Nerdio/NMM-SE) that creates a temporary VM, mounts the Storage Account, attaches each profile disk, and runs a chkdsk, dismounts the disk, and then deletes the temporary VM. 

It's not likely an everyday thing but could be a cool tool to have in the toolbox.

1

Comments (0 comments)

Please sign in to leave a comment.