我有图形化的运行手册,它在自动化帐户中调用了运行手册。手动执行Runbook可以正常工作,但是当我通过图形化Runbook输出执行时,看起来像UTF-8字符转换为ASCII一样,如下所示。
RunbookFlow : At C:\Temp\tfxsqh3x.y1f\Get-Inventory.ps1:16 char:45
+     if ($AllVMsSize.Name -notcontains $VMsSizeSCU.Name) { ...
+ ~
You must provide a value expression following the '-notcontains' operator.
At C:\Temp\tfxsqh3x.y1f\Get-Inventory.ps1:16 char:45
+     if ($AllVMsSize.Name -notcontains $VMsSizeSCU.Name) { ...
+ ~
Unexpected token 'Â' in expression or statement.
At C:\Temp\tfxsqh3x.y1f\Get-Inventory.ps1:16 char:45
+     if ($AllVMsSize.Name -notcontains $VMsSizeSCU.Name) { ...
+ ~
Missing closing ')' in expression.
At C:\Temp\tfxsqh3x.y1f\Get-Inventory.ps1:15 char:41
+ foreach ($VMsSizeSCU in $AllVMsSizeSCU){
+ ~
Missing closing '}' in statement block or type definition.