dsccommunity / ConfigMgrCBDsc

This module contains DSC resources for the management and configuration of Microsoft System Center Configuration Manager Current Branch (ConfigMgrCB).
MIT License
27 stars 8 forks source link

Cm accounts bug fix #93

Closed jeffotterpohl closed 3 years ago

jeffotterpohl commented 3 years ago

Pull Request (PR) description

When running Invoke-DscResource -Module ConfigMgrCBDsc -Name CMAccounts -Method Get -Properties @{SiteCode = 'TST';Account = 'TestUser} and only 1 account exists in CMAccounts you receive a CIMInstance error as originally it was expected and Array return vs a string. Updated module to fix this issue.

This Pull Request (PR) fixes the following issues

Task list


This change is Reviewable

codecov[bot] commented 3 years ago

Codecov Report

Merging #93 (f48b489) into master (b81fa04) will increase coverage by 0%. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #93   +/-   ##
=====================================
  Coverage      98%    98%           
=====================================
  Files          38     38           
  Lines        5246   5250    +4     
=====================================
+ Hits         5155   5159    +4     
  Misses         91     91