Here is the Powershell command to read a secure channel.
Example
$ ptr = [System.Runtime.InteropServices.Marshal] :: SecureStringToBSTR ($ chaine_secu) $ string = [System.Runtime.InteropServices.Marshal] :: PtrToStringUni ($ ptr)
Copy and Try it