Examples/Resources/WorkflowManagerFarm/1-Configure.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<#
.EXAMPLE
    This example shows how to configure a Workflow Manager farm on a server.
#>


    Configuration Example
    {
        param()

        Import-DscResource -ModuleName WorkflowManagerDSC

        $SetupAccount = Get-Credential
        WorkflowManagerFarm FarmConfig
        {
            Ensure                = "Present"
            DatabaseServer        = "localhost"
            CertAutoGenerationKey = $SetupAccount
            RunAsAccount          = $SetupAccount
            SBNamespace           = "ServiceBus"
            PsDscRunAsCredential  = $SetupAccount
        }
    }