How to show password passed using secure password

Mostly for troubleshooting

# if $ADCreds is the created password credential variable

$ADCreds.GetNetworkCredential().password

references:

UPDATED