A simple and effective way to gather machine statistics (RAM, Storage, CPU) from a Windows Server environment.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
windows
.gitignore
README.md

README.md

AD Windows Machine Stats

A simple and effective way to gather machine statistics (RAM, Storage, CPU) from a Windows Server environment. Uses WinRM to Invoke-Command across your servers, creating a JSON file to securely send to your Tidal Migrations instance using the tidal command.

Windows

The script runner.ps1 should be customized for each environment.

  1. Specifiy your username and a list of hostnames (either from reading a file, hard coded, or querying a directory).

  2. If you plan on running this in a scheduled task, you may want to store your credential with the PsCredential method. See this blog post for an example.

NB: You do need WinRM enabled across your environment for this.
For a simple guide to do this via GPO, see here.