[Script Of Apr. 18] How to add credentials to the Windows Vault
The script is available for download from https://gallery.technet.microsoft.com/How-to-add-credentials-to-90145dae.
You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
The VBScript sample to add credentials for specific users to access another domain automatically.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery