Check Activity on a WebSite/WebApp...

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 11 months, 3 weeks ago.

  • Author
  • #31597
    Profile photo of Superfreak3

    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
    Profile photo of Don Jones
    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.