<#The script below produces: In script: 49 13 10 50 In workflow: 49 10 50Instead of expected: In script: 49 13 10 50 In workflow: 49 13 10 50Thus, in scripts here-strings use standard line delimiter (13+10) but in aworkflow they use not standard (10). If such a string goes to a file and thisfile is opened in Notepad then the whole text looks like a single line there.#>#################################################$x = @'12'@"In script: $([int[]][char[]]$x)"workflow test-workflow { $x = @'12'@ "In workflow: $([int[]][char[]]$x)"}test-workflow#################################################
Have you seen this problem before in this product?
Please wait...