I occasionally have issues while recreating virtual desktops where one may fail or a bunch are cancelled for one reason or another (I'm not telling it to cancel) and it tends to cause me problems. For example, I have a pooled desktop collection with 300 VMs and if they don't finish successfully for some reason I have to recreate the entire collection, which includes re-exporting the VM.
Is there a way to only recreate the VMs that didn't successfully recreate on the first try? It is easy enough to generate a list of them with PowerShell, but I don't see a cmdlet that will allow that. I realize I could delete and recreate the desktop, but that seems akin to using a sledgehammer to open a tube of toothpaste (works but is unnecessary).
Thanks for the input.