Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,4 @@ set to true when the LCM is already in ApplyAndAutoCorrect mode.
- ConfigurationManagerDeployment now has configurable Product Key.
- Made reading binary files in FilesAndFolders and CertificateImports more robust.
- Updated to latest version of 'PackageManagement' to fix module discovery error.
- Made 'SessionHost' a scalar as defined in the underlying DSC resource for 'RemoteDesktopCollections' and 'RemoteDesktopDeployment'.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ configuration RemoteDesktopDeployment
$WebAccess,

[Parameter()]
[string[]]
$SessionHosts,
[string]
$SessionHost,

[Parameter()]
[hashtable[]]
Expand All @@ -26,7 +26,7 @@ configuration RemoteDesktopDeployment
{
ConnectionBroker = $ConnectionBroker
WebAccessServer = $WebAccess
SessionHost = $SessionHosts
SessionHost = $SessionHost
}

foreach ($gateway in $Gateways)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
Collections:
- CollectionName: My first Collection
SessionHost:
- SH1
- SH2
SessionHost: SH1
CollectionDescription: This is my super awesome collection
ConnectionBroker: CB1
- CollectionName: My second Collection
SessionHost:
- SH1
- SH2
SessionHost: SH1
CollectionDescription: This is my super awesome collection number 2
ConnectionBroker: CB1
Settings:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
ConnectionBroker: CB1
SessionHosts:
- SH1
- SH2
SessionHost: SH1
WebAccess: WA1
2 changes: 1 addition & 1 deletion tests/Unit/DSCResources/DscResources.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BeforeDiscovery {
$dscResources = Get-DscResource -Module $moduleUnderTest.Name
$here = $PSScriptRoot

$skippedDscResources = 'PowerShellRepositories', 'RemoteDesktopCollections', 'RemoteDesktopDeployment'
$skippedDscResources = ''

Import-Module -Name datum

Expand Down