It always complains that PS Hyper-V module is not loaded, but it is.
C:\0source\vagrant [master ↑1 +2 ~1 -0 !]> packer build packer.json
hyperv-iso output will be in this color.
Build 'hyperv-iso' errored: Failed creating Hyper-V driver: PS Hyper-V module is not loaded. Make sure Hyper-V feature is on.
==> Some builds didn't complete successfully and had errors:
--> hyperv-iso: Failed creating Hyper-V driver: PS Hyper-V module is not loaded. Make sure Hyper-V feature is on.
==> Builds finished but no artifacts were created.
C:\0source\vagrant [master ↑1 +2 ~1 -0 !]> get-command get-vm
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Get-VM 2.0.0.0 Hyper-V
It always complains that PS Hyper-V module is not loaded, but it is.