A script that uses Powershell queries to gather information on your local or remote Windows machines.
Download and extract the zip file.
- Launch PowerShell
- Navigate to the directory where CompInfo.ps1 is located:
PS> cd C:\my_path\...\ (enter) - Execute the script:
PS> .\CompInfo.ps1
- If you haven't ran a Powershell script before you may run into the following error:
"execution of scripts is disabled on this system" or something similar.
To fix this, open Powershell and run the following command:
Set-ExecutionPolicy RemoteSigned - If you are trying to query a remote machine, the following must be true:
- You are querying a windows machine
- The machine is currently on and a user is logged in
- The machine is connected to the RPC server
- For any further questions/concerns please open a new issue
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D