PowerShell
Can someone help me in finding the OS, cpu count, total
memory, c drive space, c drive space free, same for any other drive configured, hostname, IP, server model.
I'd like to run this in a domain that will only gather information from physical servers only. There's around 500 servers.
A powershell script which can find all the above details.
May 13th, 2011 12:08pm
Hello,
it will be better to post in Powershell forums: http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/threads
This
posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Microsoft
Student Partner
Microsoft Certified Professional
Microsoft Certified Systems Administrator: Security
Microsoft Certified Systems Engineer: Security
Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
Microsoft
Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2011 2:26pm
Hi,
Based on my knowledge, you can run the “Get-Process” and “Get-Counter” to monitor the performance of server.
Get-Process
http://technet.microsoft.com/en-us/library/dd347630.aspx
Get-Counter
http://technet.microsoft.com/en-us/library/dd367892.aspx
Also, please refer to the following article that describes “Use PowerShell to Check Your Server’s Performance”
http://blogs.technet.com/b/heyscriptingguy/archive/2011/02/01/use-powershell-to-check-your-server-s-performance.aspx
Thanks.
May 16th, 2011 5:07am