Skip to content

Connect-Mstsc.ps1: Add Switch Parameter to Delete cmdkey credential after mstsc has launched #11

Open
@nanoDBA

Description

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:
image

Could a switch parameter be added with cmdkey /delete: to delete the cred to prevent persistence in the credential store?

Source: https://superuser.com/questions/1341378/powershell-remote-desktop-connection-specifying-user-and-password/1341443#1341443

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions