greiginsydney / New-OoklaSpeedTest.ps1

GNU General Public License v3.0
8 stars 2 forks source link

It looks like a problem with the script PS. #4

Closed ACLS11 closed 3 years ago

ACLS11 commented 3 years ago

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

OzRocky commented 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?

ACLS11 commented 3 years ago

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

OzRocky commented 3 years ago

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.

ACLS11 commented 3 years ago

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

OzRocky commented 3 years ago

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.

image

g.

ACLS11 commented 3 years ago

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,