Skip to content
/ wvd Public
forked from fberson/wvd

Windows Virtual Desktop related content

Notifications You must be signed in to change notification settings

andrew951/wvd

 
 

Repository files navigation

page_type languages description products
resources
md
powershell
Windows Virtual Desktop (WVD) - resources and scripts
azure
windows-virtual-desktop

Windows Virtual Desktop (WVD) - resources and scripts

Contents

File/folder Description
Add-WVDHostToHostpoolSpring.ps1 Adds an WVD Session Host to an existing WVD Hostpool
Create-MSIXAppAttachContainer.ps1 Creates an MSIX app attach (vhd) container for a given MSIX application
WVD-Rest-Api-Functions.ps1 Contains functions and exmaples to get & create WVD object using REST API

Add-WVDHostToHostpoolSpring.ps1

This script adds an WVD Session Host to an existing WVD Hostpool by performing the following action:

  • Download the WVD agent
  • Download the WVD Boot Loader
  • Install the WVD Agent, using the provided hostpoolRegistrationToken
  • Install the WVD Boot Loader
  • Set the WVD Host into drain mode (optionally)
  • Create the Workspace <-> App Group Association (optionally) The script is designed and optimized to run as PowerShell Extension as part of a JSON deployment.

Create-MSIXAppAttachContainer.ps1

This script creates an MSIX app attach (vhd) container for a given MSIX file by:

  • Creating a new VHD disk
  • Initializing the disk
  • Creating a partition on the disk
  • Formatting the partition, including a customized label
  • Creating the MSIX parent folder
  • Extracting the MSIX into the parent folder on the mounted disk
  • Output the Volume ID and Package name needed for the Staging step of MSIX app attach
  • Dismount the disk

WVD-Rest-Api-Functions.ps1

This script contains the following functions that use REST API for WVD

  • Get-WorkSpace
  • Get-Hostpool
  • Get-AppGroup
  • Get-Apps
  • New-WorkSpace
  • New-Hostpool
  • New-AppGroup
  • New-App

Contributing

This project welcomes contributions and suggestions.

About

Windows Virtual Desktop related content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%