We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
First of all, thank you for this script! Been using it for a while!
At present, it seems creds are persisted after use - see screenshot:
Could a switch parameter be added with cmdkey /delete: to delete the cred to prevent persistence in the credential store?
cmdkey /delete:
Source: https://superuser.com/questions/1341378/powershell-remote-desktop-connection-specifying-user-and-password/1341443#1341443