initial Commit
This commit is contained in:
16
Private/Resolve-ConfigurationDataExpression.ps1
Normal file
16
Private/Resolve-ConfigurationDataExpression.ps1
Normal file
@@ -0,0 +1,16 @@
|
||||
function Resolve-ConfigurationDataExpression {
|
||||
[CmdletBinding()]
|
||||
Param(
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]
|
||||
$Expression,
|
||||
|
||||
[Parameter(Mandatory=$true)]
|
||||
$Context
|
||||
)
|
||||
|
||||
$Body = $Expression.Trim()
|
||||
$Body = $Body.Substring(1, $Body.Length - 2).Trim()
|
||||
|
||||
return Invoke-ConfigurationDataExpression -Expression $Body -Context $Context
|
||||
}
|
||||
Reference in New Issue
Block a user