Unable to use copy to VCO workflow to copy a text file
search cancel

Unable to use copy to VCO workflow to copy a text file

book

Article ID: 391777

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

When using PowerShell to create a text file using the basic Out-File function will cause vRA/vRO to read the file as binary.

Environment

vRA 8.x
vRO 8.x

Cause

If you use the default text output method 'Out-File' to create a text file, it will be created using unicode.

Unicode files are read by some Linux system utilities such as 'less' read unicode files as binary.

Resolution

To work around this issue, use the -Encoding utf8 to output the file in a way that can be easily read by vRO.