[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

Script to find if a Windows 2008 server is actually being utilized

We have a couple of Win 2008 servers given to our team. Many a times the server is not being utilized after the initial few months as the project has ended. But we are not always notified about it.

Criteria for knowing if a server is being utilized is:
1. See if a user has logged-in atleast once a week
2. See if the disk utilization has increased.

My question is:

How to determine (in an auto-mated way) if a server is being actively used or utilized?

How to monitor (in an auto-mated way) a server to see if it is actively being used?

Is there any Windows script which can let me know if its a server which is being utilized actively?
0
nainil
Asked:
nainil
  • 2
1 Solution
 
Nagendra Pratap SinghCommented:
Automation may not be suitable here because to automate for 1000s of possible things is hard.

Check what does the server does. Check the movement in DB and log files. Check the active sessions.

Shutdown the server, leave it like that.

If someone complains, then start it.
0
 
nainilAuthor Commented:
@npsingh123

Criteria for knowing if a server is being utilized is:
1. See if a user has logged-in atleast once a week
2. See if the disk utilization has increased.

From the 1000s of variables, these are the only 2 things I want to monitor. So I am sure there should be an easier way to take care of it.
0
 
Nagendra Pratap SinghCommented:
If you have a file server then no one ever needs to log in and no file sizes increase. But the server is still used.

Disk utilizations comparison would need to note last week's (yesterday may work too) file free space with current free space.

=========================================================

I think the best option is to check the user profile updated timestamp on the server.  I have this PowerShell script - http://portal.sivarajan.com/2010/07/user-profile-and-os-info-powershell.html
==========================================================

http://social.technet.microsoft.com/Forums/en-US/winserverDS/thread/dda4df28-884b-4603-a5bb-888c4d58e55b/
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now