PowerShell_Scripts/WinCreds/Get-CredentialEntryTitle.ps1

13 lines
168 B
PowerShell

[CmdletBinding()] param (
[string]$Pattern
)
begin {
}
process {
cmdkey /list | Where-Object { $_ -like "*Target:*" -and $_ -like "$Pattern" }
}
end {
}