Examples/Sample1.ps1

Configuration Sample1
{
    Import-DSCResource -ModuleName PSDesiredStateConfiguration
    Import-DSCResource -ModuleName EventStoreDSC

    Node localhost
    {
        EventStoreProject EventStoreTestInstance
        {
            RootDrive = "c:\"
            ExtIp = "127.0.0.1"
            CertificatePassword = "xxx"        
            ProjectName = "test"
            IntHttpPort = "2912"
            ExtHttpPort = "2913"
            IntTcpPort = "1912"
            ExtTcpPort = "1913"
            IntSecureTcpPort = "3912"
            ExtSecureTcpPort = "3913"
            OldAdminPassword = "changeit"
            OldOpsPassword = "changeit"
            NewAdminPassword = "changedit"
            NewOpsPassword = "changedit"
      }
    }
}


Sample1 -Verbose
Start-DscConfiguration .\Sample1 -Wait -Force -Verbose