script for knowing is an URL is opened



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”

Could you send me a try please??



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?


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