I want to change the Disk mode of an exsting Vm using the C# Vim Api.Ie am looking to convert the powerShell script to a c# version using the VIM API
PowerShell Script :Set-HardDisk -Persistence 'IndependentPersistent' -Confirm:$false -ErrorAction SilentlyContinue