Enter-PSSession or Invoke-Command (remotely from host to hyper v vm) is not working in powershell 7.
Powershell 7:
PS C:\\Users\\*********> Enter-PS