mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-05 23:40:10 +00:00
format update
This commit is contained in:
@@ -38,7 +38,7 @@ function Invoke-WPFRunspace {
|
|||||||
$script:powershell.AddScript($ScriptBlock)
|
$script:powershell.AddScript($ScriptBlock)
|
||||||
$script:powershell.AddArgument($ArgumentList)
|
$script:powershell.AddArgument($ArgumentList)
|
||||||
|
|
||||||
foreach ($parameter in $ParameterList){
|
foreach ($parameter in $ParameterList) {
|
||||||
$script:powershell.AddParameter($parameter[0], $parameter[1])
|
$script:powershell.AddParameter($parameter[0], $parameter[1])
|
||||||
}
|
}
|
||||||
$script:powershell.AddArgument($DebugPreference) # Pass DebugPreference to the script block
|
$script:powershell.AddArgument($DebugPreference) # Pass DebugPreference to the script block
|
||||||
|
|||||||
Reference in New Issue
Block a user