+ Post New Thread
Results 1 to 2 of 2
Scripts Thread, Windows Server restart status using powershell in Coding and Web Development; Hi All, I've got several hundreds of Windows Server 2003 and 2008 virtual machine + several physical machine which is ...
  1. #1

    Join Date
    May 2009
    Location
    Sydney
    Posts
    282
    Thank Post
    322
    Thanked 3 Times in 3 Posts
    Rep Power
    12

    Windows Server restart status using powershell

    Hi All,

    I've got several hundreds of Windows Server 2003 and 2008 virtual machine + several physical machine which is updated by WSUS automatically but it needs to be restarted manually.

    Is there any way to know which server needs restart and which one is not ?( eg using powershell)

    Thanks

  2. #2

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,159
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    125
    Yes - but you need to take control of the download/install process.

    Start with Windows Update Agent API (Windows) - this gives an overview of what's possible and then look at the code on slides 44/45 of this presentation - http://download.microsoft.com/downlo...%20(WSUS).pptx

    The code will force a reboot if needed but you could easily change it so that it sends an email, writes a log or whatever when a server needs a restart.



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 1st July 2010, 08:56 AM
  2. Powershell 2.0 install on Windows Server 2003 R2 SP2 not automatic ?
    By albertwt in forum Windows Server 2000/2003
    Replies: 0
    Last Post: 5th February 2010, 06:14 AM
  3. PSShutdown to Restart Server
    By enjay in forum How do you do....it?
    Replies: 4
    Last Post: 17th December 2009, 04:29 PM
  4. Server Restart
    By Gibson335 in forum Hardware
    Replies: 8
    Last Post: 23rd January 2009, 10:40 AM
  5. Microsoft Windows PowerShell v1.0
    By tarquel in forum Downloads
    Replies: 20
    Last Post: 26th March 2007, 08:32 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •