2014-02-28 17:53:20 +00:00
|
|
|
---
|
2016-01-19 18:08:53 +00:00
|
|
|
layout: "docs"
|
2014-02-28 17:53:20 +00:00
|
|
|
page_title: "Usage - Hyper-V Provider"
|
2016-01-19 18:08:53 +00:00
|
|
|
sidebar_current: "providers-hyperv-usage"
|
|
|
|
description: |-
|
|
|
|
The Hyper-V provider is used just like any other provider. Please read the
|
|
|
|
general basic usage page for providers.
|
2014-02-28 17:53:20 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
2016-01-19 18:08:53 +00:00
|
|
|
The Vagrant Hyper-V provider is used just like any other provider. Please
|
|
|
|
read the general [basic usage](/docs/providers/basic_usage.html) page for
|
2014-02-28 17:53:20 +00:00
|
|
|
providers.
|
|
|
|
|
|
|
|
The value to use for the `--provider` flag is `hyperv`.
|
|
|
|
|
|
|
|
Hyper-V also requires that you execute Vagrant with administrative
|
|
|
|
privileges. Creating and managing virtual machines with Hyper-V requires
|
2016-01-19 18:08:53 +00:00
|
|
|
admin rights. Vagrant will show you an error if it does not have the proper
|
2014-02-28 17:53:20 +00:00
|
|
|
permissions.
|
2014-02-28 17:54:35 +00:00
|
|
|
|
|
|
|
Boxes for Hyper-V can be easily found on
|
2017-05-22 16:42:31 +00:00
|
|
|
[HashiCorp's Vagrant Cloud](https://vagrantcloud.com/boxes/search). To get started, you might
|
2014-02-28 17:54:35 +00:00
|
|
|
want to try the `hashicorp/precise64` box.
|