{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/autorest.powershell/issues/273","repository_url":"https://api.github.com/repos/Azure/autorest.powershell","labels_url":"https://api.github.com/repos/Azure/autorest.powershell/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/Azure/autorest.powershell/issues/273/comments","events_url":"https://api.github.com/repos/Azure/autorest.powershell/issues/273/events","html_url":"https://github.com/Azure/autorest.powershell/issues/273","id":439363625,"node_id":"MDU6SXNzdWU0MzkzNjM2MjU=","number":273,"title":"Monitor powershell errors after build","user":{"login":"niander","id":4544122,"node_id":"MDQ6VXNlcjQ1NDQxMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/4544122?v=4","gravatar_id":"","url":"https://api.github.com/users/niander","html_url":"https://github.com/niander","followers_url":"https://api.github.com/users/niander/followers","following_url":"https://api.github.com/users/niander/following{/other_user}","gists_url":"https://api.github.com/users/niander/gists{/gist_id}","starred_url":"https://api.github.com/users/niander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niander/subscriptions","organizations_url":"https://api.github.com/users/niander/orgs","repos_url":"https://api.github.com/users/niander/repos","events_url":"https://api.github.com/users/niander/events{/privacy}","received_events_url":"https://api.github.com/users/niander/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-01T23:07:32Z","updated_at":"2019-05-01T23:07:32Z","closed_at":null,"author_association":"NONE","body":"I managed to build Monitor but after the `Creating isolated process...` I get the following erros:\r\n\r\n```\r\nForEach-Object : At C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:25 char:230\r\n+ ... series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and  ...\r\n+                                                                  ~\r\nMissing closing ')' in expression.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:25 char:230\r\n+ ... series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and  ...\r\n+                                                                  ~\r\nParameter declarations are a comma-separated list of variable names with optional initializer expressions.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:25 char:230\r\n+ ... series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and  ...\r\n+                                                                  ~\r\nMissing ')' in function parameter list.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:9 char:25\r\n+ function Get-AzBaseline {\r\n+                         ~\r\nMissing closing '}' in statement block or type definition.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:100 char:1\r\n+ )\r\n+ ~\r\nUnexpected token ')' in expression or statement.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:136 char:1\r\n+ }\r\n+ ~\r\nUnexpected token '}' in expression or statement.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:26 char:5\r\n+     [Microsoft.Azure.PowerShell.Cmdlets.Monitor.Category('Query')]\r\n+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nUnexpected attribute 'Microsoft.Azure.PowerShell.Cmdlets.Monitor.Category'.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:30 char:5\r\n+     [Parameter(HelpMessage='The interval (i.e. timegrain) of the quer ...\r\n+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nUnexpected attribute 'Parameter'.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:31 char:5\r\n+     [Microsoft.Azure.PowerShell.Cmdlets.Monitor.Category('Query')]\r\n+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nUnexpected attribute 'Microsoft.Azure.PowerShell.Cmdlets.Monitor.Category'.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\exports\\latest-2019-04-30\\Get-AzBaseline.ps1:35 char:5\r\n+     [Parameter(HelpMessage='The names of the metrics (comma separated ...\r\n+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nUnexpected attribute 'Parameter'.\r\nNot all parse errors were reported.  Correct the reported errors and try again.\r\nAt C:\\Users\\niassis\\source\\repos\\generating\\azure-powershell\\src\\Monitor\\Az.Monitor.psm1:103 char:71\r\n+ ... ath -Recurse -Filter '*.ps1' -File | ForEach-Object { . $_.FullName }\r\n+                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo          : ParserError: (:) [ForEach-Object], ParseException\r\n+ FullyQualifiedErrorId : MissingEndParenthesisInExpression,Microsoft.PowerShell.Commands.ForEachObjectCommand\r\n```\r\n\r\nHowever, the build finished with success and the PowerShell session started normally."}}
{"actor":{"display_login":"niander"}}