powershell 根据错误GUID查寻错误详情

使用azurepowershell 部署模板时,碰到了下面类似的问题:

The template deployment 'ExampleDeployment-' is not valid according to the validation procedure

碰到这样的问题,经过查询了解到,我们可以通过powersehll 命令来获取详细的错误信息,以便排错

Get-AzureRMLog -CorrelationId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -DetailedOutput

运行上面错误后,即可看到错误的信息

posted on 2018-03-30 17:39  OceanWang  阅读(135)  评论(0编辑  收藏  举报

导航