Resize-UserProfileDisk
Resize-UserProfileDisk copied to clipboard
After running this against a single vhdx file, the disk remained mounted at the end of the procedure
After running this against a single vhdx file, the disk remained mounted at the end of the procedure.
Interestingly, if I run this against a folder I don't have the issue.
Any thoughts on how to resolve this??
I have tested this and it seems that the disk does not always dismount in the proper way. I will check this out, thanks for the comment mate
Hello, we have changed line 434 of the Resize-UserProfileDisk to $mountedupd = Get-Volume | Where-Object {($.filesystemlabel -like 'Profile*') -or ($.filesystemlabel -like 'O365*')} because we found out that the line 434 is looking for a disk called "User Disk" that did not exists. This resolved the issue of not unmounting the VHDX drives.