How to get full VM configuration in json in Hyper-V

Get-VM VM_NAME |  ConvertTo-Json
Advertisements