Show RDP connections with credentials in PowerShell

Connecting: or with without querying the password: and then or with a single string: or without UI: