Created
April 30, 2019 02:19
-
-
Save raj-arun/b1f8b9801130f4bd3a88bc8f2f13a7af to your computer and use it in GitHub Desktop.
Decode the base64 file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[xml]$hcmdata = Get-Content output.xml | |
$sEncodedString = $hcmdata.Envelope.Body.runReportResponse.runReportReturn.reportBytes | |
$sDecodedString=[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($sEncodedString)) | |
$sDecodedString | Out-File Positions.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment