Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

cunninghamp/Collect-ServerInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

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:

Additional contributions by:

About

PowerShell script to collect information about Windows servers

Resources

License

Stars

Watchers

Forks

Packages

No packages published