Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-OptimizelyCmsConnectionStrings: param for CmsVersion #4

Open
ovelartelius opened this issue Nov 4, 2021 · 0 comments
Open

Get-OptimizelyCmsConnectionStrings: param for CmsVersion #4

ovelartelius opened this issue Nov 4, 2021 · 0 comments
Assignees

Comments

@ovelartelius
Copy link
Contributor

ovelartelius commented Nov 4, 2021

If we could have a param with the name -CmsVersion that take a int value. Ex 11 or 12. Default should be 12.
If thte value is 12, the function will return the config as Json for .Net config.
If the value is 11, the function will return the config as XML elements for web.config

json example:
"ConnectionStrings": {
"EPiServerDB": "Server=tcp:foxxxxahusexternal-sqlserver.database.windows.net,1433;Initial Catalog=fxxxxternalepicms;Persist Security Info=False;User ID=xxxxternal-sa;Password=xxxUnF;MultipleActiveResultSets=True;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;",
"EPiServerBlobs": "DefaultEndpointsProtocol=https;AccountName=fxxxxternal;AccountKey=kmxxxxxx3oqs7o0ohdt1MJeovxxxxmWqYd+jKkJxxxsRIRA==;EndpointSuffix=core.windows.net"
},

@ovelartelius ovelartelius self-assigned this Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant