Replace slashes in the parameter string
Also remove duplicate documentation
This commit is contained in:
parent
a10bdd6be9
commit
bc42aea3a3
2 changed files with 3 additions and 6 deletions
|
@ -149,7 +149,9 @@ Function ParseAppParameters()
|
||||||
[string]$appParameters
|
[string]$appParameters
|
||||||
)
|
)
|
||||||
|
|
||||||
return ConvertFrom-StringData -StringData $appParameters.TrimStart("@").TrimStart("{").TrimEnd("}").Replace("; ","`n")
|
$escapedAppParameters = $appParameters.TrimStart("@").TrimStart("{").TrimEnd("}").Replace("; ","`n").Replace("\","\\")
|
||||||
|
|
||||||
|
return ConvertFrom-StringData -StringData $escapedAppParameters
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -86,11 +86,6 @@ options:
|
||||||
- Password to be used for service startup
|
- Password to be used for service startup
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
password:
|
|
||||||
description:
|
|
||||||
- Password to be used for service startup
|
|
||||||
required: false
|
|
||||||
default: null
|
|
||||||
start_mode:
|
start_mode:
|
||||||
description:
|
description:
|
||||||
- If C(auto) is selected, the service will start at bootup. C(manual) means that the service will start only when another service needs it. C(disabled) means that the service will stay off, regardless if it is needed or not.
|
- If C(auto) is selected, the service will start at bootup. C(manual) means that the service will start only when another service needs it. C(disabled) means that the service will stay off, regardless if it is needed or not.
|
||||||
|
|
Loading…
Reference in a new issue