Use Packer to build windows AMI and convert the AMI to vagrant box (Hyper V ) provider and create VM in local machine

I want to create windows AMI using packer and further AMI should get converted to box file so that VM can be created in the local machine using HyperV

Hey there,
This can be achieved using the Vagrant post processor for Packer. Please check out the documentation: https://www.packer.io/docs/post-processors/vagrant.
Thanks!