Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Clear Generic Credentials from Credential Manager

$
0
0

Hello,

I am sorry this might be a dumb question, but I am trying to remove/clear Credential managers from ALL users of a remote computer.  

The following Script helps me to Clear the credentials from the current user.  This is using CMD "cmdkey"

for /F "tokens=1,2 delims= " %G in ('cmdkey /list ^| findstr Target') do  cmdkey /delete %H

I dont know if Powershell can do something similar, but I would like to clear "credential manager" from a remote user by entering his computer name or IP Address

Thank you


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>