Closed ACLS11 closed 3 years ago
This is most weird. It's saying that the error is in line 84. Line 84 is in the header test. The actual code doesn't start until after line 106.
Can you send me what you have as line 84 just to confirm that we are seeing the same thing?
Hello,
It is done.
In attachments 2 text files :
1 corresponding to line 84.
1 with the complete result of the error in the PS.
Regards,
ACLS11.
De : OzRocky [mailto:notifications@github.com] Envoyé : vendredi 11 décembre 2020 23:23 À : greiginsydney/New-OoklaSpeedTest.ps1 Cc : ACLS11; Author Objet : Re: [greiginsydney/New-OoklaSpeedTest.ps1] It looks like a problem with the script PS. (#4)
This is most weird. It's saying that the error is in line 84. Line 84 is in the header test. The actual code doesn't start until after line 106.
Can you send me what you have as line 84 just to confirm that we are seeing the same thing?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greiginsydney/New-OoklaSpeedTest.ps1/issues/4#issuecomment-743458508 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASCVUAMTY2FLBYSI2VCLKKLSUKLV3ANCNFSM4UWYP33Q . https://github.com/notifications/beacon/ASCVUAJNSCWU6QA47YCVBG3SUKLV3A5CNFSM4UWYP332YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRIENTA.gif
PS C:\Users\NG> E:\installation\programmes_dos\batches\New-OoklaSpeedTest.ps1 At E:\installation\programmes_dos\batches\New-OoklaSpeedTest.ps1:84 char:46
~ The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string. Not all parse errors were reported. Correct the reported errors and try again.
<meta name="analytics-location" content="/"&"lt;user-name"&"gt;/"&"lt;repo-name"&"gt;/blob/show" data-pjax-transient="true" />
I don't think GitHub allows you to attach files.
Can you copy and paste line 84 from the PowerShell script you are running here so I can confirm that it is the same one I can see? I need to know exactly what is in that line.
Thanks.
Goog evening,
Here is the exact line :
<meta name="analytics-location" content="/"&"lt;user-name"&"gt;/"&"lt;repo-name"&"gt;/blob/show" data-pjax-transient="true" />
Regards,
ACLS11.
De : OzRocky [mailto:notifications@github.com] Envoyé : mardi 15 décembre 2020 05:06 À : greiginsydney/New-OoklaSpeedTest.ps1 Cc : ACLS11; Author Objet : Re: [greiginsydney/New-OoklaSpeedTest.ps1] It looks like a problem with the script PS. (#4)
I don't think GitHub allows you to attach files.
Can you copy and paste line 84 from the PowerShell script you are running here so I can confirm that it is the same one I can see? I need to know exactly what is in that line.
Thanks.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greiginsydney/New-OoklaSpeedTest.ps1/issues/4#issuecomment-745038251 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASCVUALAU4G7S4X2LBVTOMTSU3OBJANCNFSM4UWYP33Q . https://github.com/notifications/beacon/ASCVUAJW4KRHJROTS5T5CVLSU3OBJA5CNFSM4UWYP332YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRUGDKY.gif
Ah. That line isn't part of the PowerShell script at all, which is why it was confusing me. I did some digging and it appears to be part of GitHub's PHP. It's probably part of the website analytics.
Download the New-OoklaSpeedTest.ps1-master.zip file using the Code button on the scripts main page. That way you are guaranteed to get a clean copy of the script.
g.
Good evening,
Thanks for the feedback and the solution. I downloaded the file as shown. This file is ok and no longer generates an error.
Regards,
This message is for "Rocky" : about the site "greiginsydney.com/new-ooklaspeedtest-ps1/"
Thank you for the feedback Rocky, I have tested the Powershell file twice. Once on the PC (W7 Pro) with PRTG and once on a PC (W10 Pro) without PRTG. (PS Set-ExecutionPolicy RemoteSigned) (run as admin) I had for the 2 tests the same answers below:
W7 with PRTG : "PS C:\Users\NG> C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\New-OoklaSpeedTest.ps1 At C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\New-OoklaSpeedTest.ps1:84 char:46
W10 without PRTG : "PS C:\WINDOWS\system32> C:\installation\scripts\PS\New-OoklaSpeedTest.ps1 Au caractère C:\installation\scripts\PS\New-OoklaSpeedTest.ps1:84 : 46