DSCResources/DSC_RDSessionCollection/en-US/about_RDSessionCollection.help.txt

.NAME
    RDSessionCollection
 
.DESCRIPTION
    This resource is used to configure the Remote Desktop Collection.
 
.PARAMETER CollectionName
    Key - String
    Specifies a name for the session collection.
 
.PARAMETER SessionHost
    Required - StringArray
    Specifies one or more RD Session Host servers to include in the session collection.
 
.PARAMETER CollectionDescription
    Write - String
    Specifies a description for the collection.
 
.PARAMETER ConnectionBroker
    Required - String
    Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment.
 
.PARAMETER Force
    Write - Boolean
    Indicates that servers may be added to or removed from the collection.
 
.EXAMPLE 1
 
This example shows how to ensure a session collection is created.
 
configuration Example
{
    Import-DscResource -ModuleName 'RemoteDesktopServicesDsc'
 
    node localhost {
 
        RDSessionCollection 'MyCollection' {
            CollectionName = 'ExampleApplications'
            SessionHost = 'sessionhost.server.fqdn'
            ConnectionBroker = 'connectionbroker.server.fqdn'
            CollectionDescription = 'A collection to deploy example applications'
        }
    }
}
 
.EXAMPLE 2
 
 
configuration RDSessionCollection_Full
{
    Import-DscResource -modulename RemoteDesktopServicesDsc
 
    node localhost
    {
        RDSessionCollection WeLoveDsc
        {
            ConnectionBroker = 'RDCB1.contoso.com'
            CollectionName = 'WeLoveDsc'
            SessionHost = 'RDSH1.contoso.com', 'RDSH2.contoso.com'
        }
    }
}