I am writing a script to delete machine Catalogs and delivery groups.
Whenever I send the command Remove-ProvScheme -ProvisioningSchemeName XXX I get an error saying "Unable to remove the provisioning scheme due to associated virtual machines remaining."
Everything else is deleted with the other remove commands. The machine catalog is not visable in the GUI any more.
What command am I missing to delete the associated virtual machines?
EDIT:
When i run the command "Get-ProvVM -ProvisioningSchemeUid XXX |Remove-ProvVM" I get a few outputs. The Taskstate is "FinishedWithErrors". Maybe this is the reason?
Question
Christopher Schatz
I am writing a script to delete machine Catalogs and delivery groups.
Whenever I send the command Remove-ProvScheme -ProvisioningSchemeName XXX I get an error saying "Unable to remove the provisioning scheme due to associated virtual machines remaining."
Everything else is deleted with the other remove commands. The machine catalog is not visable in the GUI any more.
What command am I missing to delete the associated virtual machines?
EDIT:
When i run the command "Get-ProvVM -ProvisioningSchemeUid XXX |Remove-ProvVM" I get a few outputs. The Taskstate is "FinishedWithErrors". Maybe this is the reason?
Where can I see what kind of error is this?
Link to comment
7 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.