This repository includes a PowerShell + Windows Forms script concerned with getting info about user and pc
-
Before using: this script is applicable for computers in the same domain
-
Firstly, it is necessary to prepare the script execution. You can create a new notepad file, which will be saved as .bat and consist of the following:
@echo off
powershell -executionpolicy RemoteSigned -file "file location"
timeout /t 0 /nobreak
- Secondly, you shall be awared that additional utilities have been installed:
- PSExec
- PSService
- Finally, the script should be launched (from .bat file) via administrator credentials.
Good luck, have a nice day!