A. Credentials are created by passing a username and a secure string containing the password. There may be times when you actually need the plain text password back from the credential — for example, if you need to construct the URL for a GRAPH API call to Azure AD. To access the password is actually very simple, assuming the credential is stored in $cred to access the plain text password use:
↧