Azure / Azure/RDS-Templates

Inconsistent standards for PoSh functions

Open
#449 0 comments 0 reactions 0 assignees View on GitHub
1-Create-and-provision-host-pool 2-Update-existing-WVD-host-pool
Dominant language
PowerShell
Stars
524
Forks
610
PR merge metrics
No merged PRs in 30d

Description

in the WVD DSC scripts 3 methods of loading code are used:

1. Running script files with params
2. Loading multiple functions from a .ps1 by running the ps1 then running from memory
3. Dot Sourcing a function then running from memory

Whilst all work, it's confusing to have so many different methods used. (3 is preferred as it makes integration with CI/CD and unit tests possible)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.