Powershell upgradation

Hey guys, whenever I am trying to login my vm’s through vagrant (ex:-“vagrant ssh web01”) or any vm in the project section I am getting an error of “vagrant failed to initialize at very early stage” “the version of powershell currently installed on this host is less than required…”

my powershell version in 7 but still it is throwing me this error. please guide