script for knowing is an URL is opened

Hi

 

I need a basic script in order to check if a specific URL is opened from CHROME browser

If yes, I want to display “OK” and if no “KO”

https://www.google.fr/

Could you send me a try please??

 

rosse,

actually this forum is about helping you with your self written code/scripts and not for script requests. Do you have already code to show?

olaf

no i just need sometimes a powershell script but one times per year at maximum and actually I dont have time to learn it…

You might find something useful in the PowershellGallery or the Microsoft Technet Script Gallery.

Google it for Invoke-WebRequest