Examples/FullExamples/NewFarm.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<#
.EXAMPLE This example shows how to install Workflow Manager on a server. #> Configuration Example { param() Import-DscResource -ModuleName WorkflowManagerDSC $SetupAccount = Get-Credential WorkflowManagerInstall WFInstall { Ensure = "Present" WebPIPath = "C:/WorkflowManagerFiles/bin/WebpiCmd.exe" XMLFeedPath = "C:/WorkflowManagerFiles/feeds/latest/webproductlist.xml" PsDscRunAsCredential = $SetupAccount } WorkflowManagerFarm FarmConfig { Ensure = "Present" DatabaseServer = "localhost" CertAutoGenerationKey = $SetupAccount RunAsAccount = $SetupAccount SBNamespace = "ServiceBus" PsDscRunAsCredential = $SetupAccount } } |