Azure Powershell Runbook不显示任何输出 [英] Azure powershell runbook don't show any output
本文介绍了Azure Powershell Runbook不显示任何输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个简单的Azure PowerShell Runbook脚本工作流程CheckIdentityColumns{写输出测试输出"}
I have a simple Azure PowerShell runbook script workflow CheckIdentityColumns { Write-Output "Test Output" }
当我尝试测试时,没有看到任何输出.
When I am trying to test it I don't see any output.
为什么?
推荐答案
这是因为您的流程是 Powershell Runbook 而不是 Powershell Workflow Runbook .在Powershell Runbook中,您无需使用
This is because your flow is Powershell runbook not Powershell Workflow runbook . In Powershell runbook, you don't need to use
workflow CheckIdentityColumns{}
声明.这是它不起作用的主要原因.
declaration. This is the main reason why it doesn't work.
这篇关于Azure Powershell Runbook不显示任何输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文