WorkInProgress/ProfileRetrieval.ps1
$WPFGetObjectsBtN.Add_Click({ $Profiles = Get-UserProfile | Where-Object { ($_.LocalPath -match 'users') -and ($_.LocalPath -notmatch 'cov') } -Verbose $Profiles.localpath | ForEach-Object { $WPFlistbox.Items.Add($_) } -Verbose -ErrorAction SilentlyContinue }) |