Trim Trailing Whitespace

This commit is contained in:
Carterpersall
2023-10-04 10:08:10 -05:00
parent 807b0fb307
commit 0ce32aa2c2
57 changed files with 236 additions and 236 deletions

View File

@@ -1,9 +1,9 @@
function Invoke-WPFRunspace {
<#
.DESCRIPTION
Simple function to make it easier to invoke a runspace from inside the script.
Simple function to make it easier to invoke a runspace from inside the script.
.EXAMPLE
@@ -14,14 +14,14 @@ function Invoke-WPFRunspace {
}
Invoke-WPFRunspace @params
#>
[CmdletBinding()]
Param (
$ScriptBlock,
$ArgumentList
)
)
#Crate a PowerShell instance.
$script:powershell = [powershell]::Create()
@@ -30,7 +30,7 @@ function Invoke-WPFRunspace {
$script:powershell.AddScript($ScriptBlock)
$script:powershell.AddArgument($ArgumentList)
$script:powershell.RunspacePool = $sync.runspace
#Run our RunspacePool.
$script:handle = $script:powershell.BeginInvoke()