Adds Hyper-V utils methods

Adds Hyper-V utils methods which will be used in the next commit.

(cherry picked from commit c823016d31b36c10cb6faafcce68a1b98f4dc345)

Partial-Bug: #1263766
Change-Id: I7556001557cd013c10b7f883dbf371afa8d09626
Merge "Adds Hyper-V utils methods" into stable/havana