PowerShell command to Create the target resource settings object for a VM in Azure
I am trying to run PowerShell script to Create the target resource settings object for a VM. But it's throwing error : PS /home/user> $targetResourceSettingsObj = New-Object Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api202101.VirtualMachineResourceSettings New-Object: Cannot find type [Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api202101.VirtualMachineResourceSettings]: verify that the assembly containing this type…