Skip to content
PowerShell script to collect information about Windows servers
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Collect-ServerInfo.ps1
LICENSE Create LICENSE Jun 15, 2015
README.md

README.md

Collect-ServerInfo

This PowerShell script runs a series of WMI and other queries to collect information about Windows servers.

Each server's results are output to a HTML file.

Parameters

  • -Verbose, See more detailed progress as the script is running.

Examples

Collect information about a single server named SERVER1.

.\Collect-ServerInfo.ps1 SERVER1

Collect information about multiple servers.

"SERVER1","SERVER2","SERVER3" | .\Collect-ServerInfo.ps1

Collect information about all servers in Active Directory.

Get-ADComputer -Filter {OperatingSystem -Like "Windows Server*"} | %{.\Collect-ServerInfo.ps1 $_.DNSHostName}

Download

Download the latest release from Github or from the TechNet Script Gallery.

Credits

Written by: Paul Cunningham

Find me on:

You can’t perform that action at this time.