1) Download Credman from
https://gallery.technet.microsoft.com/scriptcenter/PowerShell-Credentials-d44c3cde
It uses Advapi32.dll
2) To add a Cred, the syntax is
.\CredMan.ps1 -AddCred -Target 'SERVER' -User 'domain\xxxxxx' -Pass 'xxxxxxxx' -CredType 'DOMAIN_PASSWORD'
Notes
- 'SERVER' can include the single hostname or FQDN plus the desired port
Comments
Post a Comment