Check Activity on a WebSite/WebApp...

Welcome Forums General PowerShell Q&A Check Activity on a WebSite/WebApp...

This topic contains 1 reply, has 2 voices, and was last updated by

3 years, 1 month ago.

  • Author
  • #31597

    Points: 1
    Rank: Member

    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

    Points: 1,673
    Helping HandTeam Member
    Rank: Community Hero

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

The topic ‘Check Activity on a WebSite/WebApp...’ is closed to new replies.