Also tried this command in a windows 2016 environment with upd files but nothing happens with the files when running. Tried all sorts for commands and running i elevated powershell.
Hello Martien, same as Manny15. I tried running the Script but it does not do anything. Cant download v3.1, not published on zip I will continu to do mount-vhd, Defrag, Dismount-vhd, optimize-vhd with the hyperv role installed
Hello Martien, I tried running the Script but it does not do anything. When I hit enter, it just goes to the next line. I verified that that VHDX files are not locked. Here' what I tried: PS C:\Scripts>.\Resize-UserProfil eDisk.ps1 -path "E:\RDSProfiles \RDS-UserProfil eDisks" When I hit enter, it just goes to the next line: PS C:\Scripts>
When is use this script with the options -SingleVhdxFile and -Defrag and -sDelete then afterwards the UserProfileDisk is still mounted.
Hi Koopmans, Thanks for the responze! I already make an update on this script with an extra check if the UPD's are getting clean unmounted.
When i run the script with -SingleVhdxFile -ZeroFreeSpace -c then afterwards the UserProfileDisk is still mounted.
Hi, Your script is exactly as I want. But it doesn't work at all. It does not start, does not give error. It just a nothing. I tested it on server 2012 r2, 2016 and 2019. Please fix it because we really want this.
Thank you for your reactions! I'm going to check the script further. Do you want to send the logging to my email address that is in the script?
can't have this working on windows 2012R2 here what i have : PS E:\Scripts> .\Resize-UserProfileDisk.ps1 -path E:\UsersProfile s PS E:\Scripts> no log files created does some role like HyperV services is needed ? Regards
I'm getting the same results as you. Did you manage do find a fix?
When running your script on a Server 2016 server nothing is happening, not even a error. What can be wrong? Disk image is not mounted of locked. .\Resize-UserProfileDisk.ps1 -SingleVhdxFile "D:\UserProfile Disks\UVHD-S-1- 5-21-4123964153 -603526761-2487 225319-1222.vhd x" -ZeroFreeSpace
Thank you for your response! I'm going to check the script further. Do you want to send the logging to my email address that is in the script?