PS
Powershell Tutorial Online

how to read a secure channel

Here is the Powershell command to read a secure channel.

$ ptr = [System.Runtime.InteropServices.Marshal] :: SecureStringToBSTR ($ chaine_secu) 
$ string = [System.Runtime.InteropServices.Marshal] :: PtrToStringUni ($ ptr)