# 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.

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-6286b615f7dc2ac8be72ec9d0a80096e2b251d5a%2Fhyper-v-stream-deployment-1.png?alt=media)

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

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-e2b8bc9a7f6dc8fde649c54dd9c92a59d16165ad%2Fhyper-v-stream-deployment-2.png?alt=media)

* 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.

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-5815c92d19dc891a8a28045466886fcb8f3ba515%2Fhyper-v-stream-deployment-3.png?alt=media)

* 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.

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-aec9f0420aee3d5e5853ef66ef6bd2ae8d106d55%2Fhyper-v-stream-deployment-4.png?alt=media)
