{"action":"created","issue":{"url":"https://api.github.com/repos/dfch/biz.dfch.PS.System.Utilities/issues/2","labels_url":"https://api.github.com/repos/dfch/biz.dfch.PS.System.Utilities/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/dfch/biz.dfch.PS.System.Utilities/issues/2/comments","events_url":"https://api.github.com/repos/dfch/biz.dfch.PS.System.Utilities/issues/2/events","html_url":"https://github.com/dfch/biz.dfch.PS.System.Utilities/issues/2","id":54293871,"number":2,"title":"biz.dfch.PS.System.Utilities.xml FileList: Executable script code found in signature block","user":{"login":"dfch","id":8310360,"avatar_url":"https://avatars.githubusercontent.com/u/8310360?v=3","gravatar_id":"","url":"https://api.github.com/users/dfch","html_url":"https://github.com/dfch","followers_url":"https://api.github.com/users/dfch/followers","following_url":"https://api.github.com/users/dfch/following{/other_user}","gists_url":"https://api.github.com/users/dfch/gists{/gist_id}","starred_url":"https://api.github.com/users/dfch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfch/subscriptions","organizations_url":"https://api.github.com/users/dfch/orgs","repos_url":"https://api.github.com/users/dfch/repos","events_url":"https://api.github.com/users/dfch/events{/privacy}","received_events_url":"https://api.github.com/users/dfch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dfch/biz.dfch.PS.System.Utilities/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T07:59:26Z","updated_at":"2015-01-14T17:24:19Z","closed_at":"2015-01-14T17:24:19Z","body":"When you try to iex/load the hashtable from the PSD1 file you get the error as shown below:\r\n\r\n[biz.dfch.PS.System.Utilities.xml FileList](https://github.com/dfch/biz.dfch.PS.System.Utilities/blob/master/biz.dfch.PS.System.Utilities.psd1#L144)\r\n\r\n\tPS > Get-Content -Raw biz.dfch.PS.System.Utilities.xml | iex\r\n\tiex : At line:145 char:2\r\n\t+     'biz.dfch.PS.System.Utilities.xml'\r\n\t+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\tExecutable script code found in signature block.\r\n\tAt line:146 char:2\r\n\t+     ,\r\n\t+     ~\r\n\tExecutable script code found in signature block.\r\n\tAt line:148 char:2\r\n\t+     ,\r\n\t+     ~\r\n\tExecutable script code found in signature block.\r\n\tAt line:150 char:2\r\n\t+     ,\r\n\t+     ~\r\n\tExecutable script code found in signature block.\r\n\tAt line:152 char:2\r\n\t+     ,\r\n\t+     ~\r\n\tExecutable script code found in signature block.\r\n\tAt line:154 char:2\r\n\t+     ,\r\n\t+     ~\r\n\tExecutable script code found in signature block.\r\n\tAt line:1 char:106\r\n\t+ ...  $_.FullName | iex); }\r\n\t+                    ~~~\r\n\t\t+ CategoryInfo          : ParserError: (:) [Invoke-Expression], ParseException\r\n\t\t+ FullyQualifiedErrorId : TokenAfterEndOfValidScriptText,Microsoft.PowerShell.Commands.InvokeExpressionCommand\r\n\r\nHowever, when all entries of that array appear in a single line, it works without error. Other PSD1 also have multiple file entries as array items in its PSD1, but there the error does not appear.\r\n\r\nApart from that the module loads without any errors.\r\n\r\nWhy does this happen? does someone have a clue or ould give a hint?"},"comment":{"url":"https://api.github.com/repos/dfch/biz.dfch.PS.System.Utilities/issues/comments/69954191","html_url":"https://github.com/dfch/biz.dfch.PS.System.Utilities/issues/2#issuecomment-69954191","issue_url":"https://api.github.com/repos/dfch/biz.dfch.PS.System.Utilities/issues/2","id":69954191,"user":{"login":"dfch","id":8310360,"avatar_url":"https://avatars.githubusercontent.com/u/8310360?v=3","gravatar_id":"","url":"https://api.github.com/users/dfch","html_url":"https://github.com/dfch","followers_url":"https://api.github.com/users/dfch/followers","following_url":"https://api.github.com/users/dfch/following{/other_user}","gists_url":"https://api.github.com/users/dfch/gists{/gist_id}","starred_url":"https://api.github.com/users/dfch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfch/subscriptions","organizations_url":"https://api.github.com/users/dfch/orgs","repos_url":"https://api.github.com/users/dfch/repos","events_url":"https://api.github.com/users/dfch/events{/privacy}","received_events_url":"https://api.github.com/users/dfch/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T17:24:19Z","updated_at":"2015-01-14T17:24:19Z","body":"the cause for this seems to be an invalid character (looking exactly like a single quote or a white-space). When re-entering the FileList and replacing the quote characters the problem was gone."}}