Check Activity on a WebSite/WebApp...

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 2 years, 5 months ago.

  • Author
  • #31597


    Hi all,

    I have a question about checking website activity with PowerShell. As part of our Continuous Integration process, I update a QA Test Server with our web application files.
    To do this, using PowerShell, I remotely stop IIS, copy files, restart IIS.

    The issue is that I don't want to do this if QA is testing on the machine. I'm wondering if there is a way using PowerShell that I can tell if someone is using the web application before I stop IIS. If there is activity on the site/app, I'll send an email notification that file updates are pending.

    Any information or points to such, guidance, help is Greatly Appreciated!


  • #31601

    Don Jones

    What about pausing iis? That would let it finish any requests. When the status goes from Pausing to paused, you can stop it.

You must be logged in to reply to this topic.