Title: Invoke-Web 4.2 poshcode ID 3913 (by Joel Bennett) is corrupt? · Issue #17 · PoshCode/PoshCode · GitHub
Open Graph Title: Invoke-Web 4.2 poshcode ID 3913 (by Joel Bennett) is corrupt? · Issue #17 · PoshCode/PoshCode
X Title: Invoke-Web 4.2 poshcode ID 3913 (by Joel Bennett) is corrupt? · Issue #17 · PoshCode/PoshCode
Description: I am downloading Invoke-Web 4.2 by Joel Bennett http://poshcode.org/3913 using http://poshcode.org/get/3913 but powershell 4 and 3 give me loads of errrors. Is this file corrupt? my md5sum of it is: md5sum "Invoke-Web 4.2.ps1" ad83ec384a...
Open Graph Description: I am downloading Invoke-Web 4.2 by Joel Bennett http://poshcode.org/3913 using http://poshcode.org/get/3913 but powershell 4 and 3 give me loads of errrors. Is this file corrupt? my md5sum of it is...
X Description: I am downloading Invoke-Web 4.2 by Joel Bennett http://poshcode.org/3913 using http://poshcode.org/get/3913 but powershell 4 and 3 give me loads of errrors. Is this file corrupt? my md5sum of it is...
Mail addresses
notifications@github.com
Opengraph URL: https://github.com/PoshCode/PoshCode/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invoke-Web 4.2 poshcode ID 3913 (by Joel Bennett) is corrupt?","articleBody":"I am downloading Invoke-Web 4.2 by Joel Bennett http://poshcode.org/3913 using http://poshcode.org/get/3913 but powershell 4 and 3 give me loads of errrors. \n\nIs this file corrupt?\nmy md5sum of it is: \n\n```\nmd5sum \"Invoke-Web 4.2.ps1\"\nad83ec384a54b7431f8f99781180f8b5 *Invoke-Web 4.2.ps1\n```\n\nBoth powershell 3.0 & 4.0 gives me the following errors if I run it:\n\n```\nAt C:\\temp\\Invoke-Web 4.2.ps1:147 char:57\n+ [ValidateScript({if(!($Credential -or $WebSession){ throw\n\"ForceBasicAuth ...\n+ ~\nUnexpected token '{' in expression or statement.\nAt C:\\temp\\Invoke-Web 4.2.ps1:147 char:57\n+ [ValidateScript({if(!($Credential -or $WebSession){ throw\n\"ForceBasicAuth ...\n+ ~\nMissing closing ')' after expression in 'if' statement.\nAt C:\\temp\\Invoke-Web 4.2.ps1:147 char:124\n+ ... meter be set\"} else { $true }})]\n+ ~~~~\nUnexpected token 'else' in expression or statement.\nAt C:\\temp\\Invoke-Web 4.2.ps1:52 char:21\n+ function Invoke-Web {\n+ ~\nMissing closing '}' in statement block.\nAt C:\\temp\\Invoke-Web 4.2.ps1:377 char:1\n+ }}\n+ ~\nUnexpected token '}' in expression or statement.\nAt C:\\temp\\Invoke-Web 4.2.ps1:377 char:2\n+ }}\n+ ~\nUnexpected token '}' in expression or statement.\n + CategoryInfo : ParserError: (:) [], ParseException\n + FullyQualifiedErrorId : UnexpectedToken\n```\n\nI tried quite long and hard to 'fix' the places it complained about, but there is one I just can't figure out, and maybe that is because I made mistakes when fixing the others?\n","author":{"url":"https://github.com/TheBigBear","@type":"Person","name":"TheBigBear"},"datePublished":"2015-02-11T18:25:33Z","url":"https://github.com/PoshCode/PoshCode/issues/17"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:87163591-8a03-abf9-bf3f-1aef23f697b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA72:C944B:38D7D6:50EABC:6AFDE481 |
| html-safe-nonce | f8afaebe8c5349370b6d3fec6e82f3bfc0abe9ea5f4f89ddec781f3050cb1fa3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTcyOkM5NDRCOjM4RDdENjo1MEVBQkM6NkFGREU0ODEiLCJ2aXNpdG9yX2lkIjoiNTY4NTMzMDUxNTk2ODUxNzI0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2101a666044177620283bad7861ea5152b7d6cbba535686e3342f8534e186118 |
| hovercard-subject-tag | issue:57355719 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PoshCode/PoshCode/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1838c911126219aa0387ed6ff536d922f00f12a99ce77e3692ba4a344b50452c/PoshCode/PoshCode/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1838c911126219aa0387ed6ff536d922f00f12a99ce77e3692ba4a344b50452c/PoshCode/PoshCode/issues/17 |
| og:image:alt | I am downloading Invoke-Web 4.2 by Joel Bennett http://poshcode.org/3913 using http://poshcode.org/get/3913 but powershell 4 and 3 give me loads of errrors. Is this file corrupt? my md5sum of it is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TheBigBear |
| hostname | github.com |
| expected-hostname | github.com |
| None | 91ef1a291a064ac31ac459ab3f75261dbdd924c41ea5bd027e591c5b46cc9ce7 |
| turbo-cache-control | no-preview |
| go-import | github.com/PoshCode/PoshCode git https://github.com/PoshCode/PoshCode.git |
| octolytics-dimension-user_id | 5641451 |
| octolytics-dimension-user_login | PoshCode |
| octolytics-dimension-repository_id | 9379880 |
| octolytics-dimension-repository_nwo | PoshCode/PoshCode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9379880 |
| octolytics-dimension-repository_network_root_nwo | PoshCode/PoshCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d62bc98ce2346f4006e4a2810e9e22f37e7e6422 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width