Automation

 View Only
  • 1.  Start Hv Pool, Schedule Push Image Operation

    Posted Aug 23, 2022 06:51 AM

    Hi 

    We are trying to perform a schedule push image operation on a given pool, 

    the command we are using to perform operation is

    $parentVM='<Vm-name>'
    $SnapshotPath=''<snapshot name>"

    $LogOFFSetting="FORCE_LOGOFF"
    $pool=Get-HvPool -PoolName <pool -name >;
        Start-HVPool -Pool $pool -SchedulePushImage -StartTime $date -ParentVM $parentVM -SnapshotVM $SnapshotPath -LogoffSetting $LogOFFSetting -ErrorAction SilentlyContinue 

    Now this Start-hvpool command throws exception, that The property 'AddVirtualTPM' cannot be found on this object. verify that the property exists and  can be set.

    FullyQualifiedErrorId: PropertyAssignmentException



  • 2.  RE: Start Hv Pool, Schedule Push Image Operation

    Posted Aug 23, 2022 07:34 AM

    Bug documented and solution pushed according to gitlab entry VMware.HV.Helper.psm1 - Start-HVPool removes existing vTPM from a desktop pool