Retrieves windows management connections from the cache.
List all cached connections.
List the cached connection – if any – to the server sql2014.
List all cached connection that use a username containing “charles” as default or override credentials.
Get-DbaCmConnection -UserName “charles”
This command was created by Fred Winmann. You can find Fred on Twitter.