dsccommunity / xRemoteDesktopSessionHost

This module contains DSC resources for the management and configuration of Microsoft Remote Desktop Session Host (RDSH).
MIT License
36 stars 47 forks source link

xRDSessionCollection: Ignore errors from New-RDSessionCollection and instead check the collection is created #108

Closed uw-dc closed 1 year ago

uw-dc commented 2 years ago

Pull Request (PR) description

This stops xRDSessionCollection when errors are returned from the underlying New-RDSessionCollection cmdlet because certain RD Host GPO settings are applied.

This Pull Request (PR) fixes the following issues

Task list


This change is Reviewable

codecov[bot] commented 2 years ago

Codecov Report

Merging #108 (063114e) into master (b97c82b) will increase coverage by 0%. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #108   +/-   ##
=====================================
  Coverage      88%    88%           
=====================================
  Files           9      9           
  Lines         461    462    +1     
=====================================
+ Hits          410    411    +1     
  Misses         51     51           
Impacted Files Coverage Δ
...RDSessionCollection/MSFT_xRDSessionCollection.psm1 95% <100%> (+<1%) :arrow_up:
uw-dc commented 2 years ago

if #109 is merged, this PR can be deleted