# Hyper-V Stream deployment

### Hyper-V Stream Deployment

* Once downloaded, the VHD image will need to be unzipped. Use the archive utility of your choice to unzip the image.
* Launch PowerShell as an administrator.

![](/files/p9KUnxRsb0Cgw5aUYvXQ)

* As a **ONE-TIME-SETUP STEP**, run the below command to allow running of the installer.
  * `Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser`

![](/files/AmDpUl28XFwufGB7OJK6)

* Change directory to where you unzipped the VHD image.
* You can use the PowerShell `get-help` command to see current options for the installation script.
  * `get-help '.\Vectra Stream.ps1'`
* **Please NOTE**
  * To specify the storage path for the VM you must use the `-path` option, or your installation will occur in the current directory.
  * Remote hosts are also supported
    * For guidance in specifying remote paths, refer to the **`get-help`** option.
* Execute the PowerShell script to begin the installation.
  * **`& '.\Vectra Stream.ps1'`**
  * You will need to specify the management switch and configuration.
  * The script will then create Stream and start it up.

![](/files/SE4omclLh4JCyeHrE1yg)

* Once the script has finished you can rename your VM in the Hyper-V manager if desired.
  * Stream will start automatically after the deployment script runs.
  * Renaming can be done while Stream is running.
  * If you shut down Stream, the Start button location is shown below.

![](/files/jucFQKY2xZm55vf0Gvvx)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vectra.ai/deployment/stream/deployment/hyper-v-stream-deployment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
