Reply to Message

View discussion in a popup

Replying to:
stanj
Enthusiast
Enthusiast

Thanks Luc

 

I mean the username password for connecting to vcenter with  Connect-VIServer

When that happened, the connection failed and the cloning did not take place for that day and the names were off by a few days.

So, i think the ..Get-VM -Name $oldCloneName -ErrorAction SilentlyContinue | Remove-VM -DeletePermanently:$true -Confirm:$false failed because the oldCloneName is based on a day that there was no cloning 

Let me add the block and see if it catches the issue.

Reply
0 Kudos