Coder Social home page Coder Social logo

wvd's Introduction

Windows Virtual Desktop related content

This repository contains Windows Virtual Desktop (WVD) related resources and scripts. You can find ARM Templates, Bicep Tenmplates and PowerShell scripts to automate and manage your Windows Virtual Desktop environment.

Descriptions

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.

Add-WVDHostToHostpoolSpringV2.ps1

Adds an WVD Session Host to an existing WVD Hostpool using a provided registrationKey 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 The script is designed and optimized to run as PowerShell Extension as part of a JSON deployment. V1 of this script generates its own host pool registrationkey, this V2 version accepts the registrationkey as a parameter

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

Create-WVD-Backplane.bicep

This Azure .bicep file (based on 0.1.1 Alpha Preview release of Project Bicep) generates the ARM Template (JSON) to create:

  • A WVD Workspace
  • A WVD Host pool
  • A WVD App Group And connect the AppGroup with the Host pool

Contributing

This project welcomes contributions and suggestions.

wvd's People

Contributors

cognitionit avatar fberson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wvd's Issues

If workspace resoucgroup and hostpool resourcegroup are different, then the script fails

Currently working with Marcel Eeken on implementing a Proof of Concept. We found that the script does not differentiate between the resourcegroup for the workspace and the resourcegroup for the hostpool and application group.
We recommend adding an option to the arm template to fill these out and to also include these as arguments in your script.
I also shared the changes with Marcel, he will inform you as well.

Missing ARM Template Custom Script about the add WVD Hosts to a host pool

Hi Freek, I follow this link https://www.linkedin.com/pulse/new-powershell-script-github-add-wvd-hosts-host-pool-freek-berson/ learn how to add WVD host to WVD host pool through PowerShell script

But one thing about the Custom Script of ARM Template. I'm a new learner of the ARM template. I want to use the ARM template for add the WVD host to the existing WVD pool. But I not familiar with the syntax of ARM template. Could you upload your version to this repository for the practices?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.