vCenter PowerShell PowerCLI command to to change a VMDK disk from non-persistent to persistent without powering down the VM

While I am certain this already posted on the net in a few places, I wanted to capture it here, as it is a question I get asked often by customers. Especially seeing as the manual method requires shutting down a VM to make the change. Instructions Just replace the text <vcenter_dns_or_ipaddress> with the IP address or FQDN of the vCenter host. You will be prompted to login to vCenter, and will require enough privileges to modify the VM you need to edit. connect-viserver <vcenter_dns_or_ipaddress> Then replace the <vm_name> with the name of the virtual machine you wish to change one or many of its disks to Independent Persistent. It will provide multiple prompts based on how many disks the VM has, and ask you to confirm…

vCenter authentication fails, even though you know you have the right password!

At one of my customer accounts we were experiencing an issue in one of the customer’s sites. Here is the scenario of the problem. 1. We Tested Authentication with the AD service account setup for Actifio. Authentication failed, even though we knew we had the right login & details. We also ensured we were using the correct syntax DOMAIN\Username to login. 2. Login to the remote vCenter from customers Desktop (which points to a site domain controller in the local site) as the Actifio AD service account. Authentication Works fine, and vCenter is opened and objects displayed. 3. Test creating a snapshot and creating a new VM from vCenter. All works ! 4. Test Authentication in Actifio with the AD service account. Auth failed again. But why ? We know we have the correct details, and it can login via vCenter using the same API calls Actifio would make to login. So, my process of elimination…