Get-CachedCredential| Where-Object{$_.User -match"admin-"} | %{Remove-CachedCredential $_.Target}
Select allOpen in new window
https://blogs.technet.micr
Of course this can be converted to a PowerShell if required