Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Any way to execute a VMWare snapshot from PDQ Deploy?

We would like to use PDQ Deploy to push software and/or configuration changes to servers in our virtual environment and would like to take VMWare snapshots prior to the deployments. Is there an easy way to accomplish this? I have the ability to script the snapshots via powerCLI but the problem is, powerCLI isn't installed on most of the servers we are deploying to. Is there a way to create a pre-deployment step that always runs on the PDQ Deploy server itself regardless of the machine(s) you are deploying to?

I can't imagine that I'm the only one that has come across this need. Any help would be appreciated. Thanks.

0

Comments

1 comment
Date Votes
  • Don't think there is an easy way of doing it.

    If you want to do it through PDQ, you will need to deploy PowerCLI on all your VMs, run

    Connect-VIServer -Server $vcenter 
    
    New-Snapshot -VM $hostname -Name $snapshot -Description $before_PDQ -Quiesce -Memory
    

    locally on the target (you need to make sure your Windows server can pull it's VM name)

    You may want to check your storage performance and vCenter performance before taking this approach.

    0