Tests/OctopusServerExeInvocationFiles/EnableBuiltInWorkerOnExistingInstance/RequestedState.ps1
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')] # these are tests, not anything that needs to be secure param() $pass = ConvertTo-SecureString "S3cur3P4ssphraseHere!" -AsPlainText -Force $cred = New-Object System.Management.Automation.PSCredential ("Admin", $pass) $pass = ConvertTo-SecureString "S4cretPassword!" -AsPlainText -Force $runAsCred = New-Object System.Management.Automation.PSCredential ("runasuser", $pass) return @{ Ensure = "Present"; State = "Started"; Name = "OctopusServer"; WebListenPrefix = "http://localhost:82"; SqlDbConnectionString = "Server=(local);Database=Octopus;Trusted_Connection=True;"; OctopusAdminCredential = $cred; ListenPort = 10935; AllowCollectionOfUsageStatistics = $false; HomeDirectory = "C:\Octopus"; OctopusBuiltInWorkerCredential = $runAsCred AutoLoginEnabled = $true } |