Public/Get-ProcessByTitle.ps1
function Get-ProcessByTitle { [CmdletBinding()] [Parameter( Mandatory = $true, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Position = 0 )] [string]$MainWindowTitle Write-Debug "MainWindowTitle is $MainWindowTitle" return Get-Process | Where-Object { $_.MainWindowTitle -eq $MainWindowTitle } } |