If you are a system administrator or even a desktop support person, finding out information on a remote users computer is something you need to know how to do. Fortunately, Microsoft has made quite a number of commands easy to use.
Here are some of the remote commands we use frequently. Just right click on the START button and select POWERSHELL as an Administrator that has permission to the remote computer and try these short commands,
systeminfo /s:<hostname>
tasklist /s <system> /u <username> /p <password>
Once you have the list from the PID (Process Identifier) from the above command you can kill a program on a remote computer
Taskkill /S <hostname> /u <AdminUserName /PID processId
Get-WMIObject win32_diskdrive -computer <hostname> | Select model,size,mediaType
If you wanted to query a list of computers the command looks like:
Get-WMIObject win32_diskdrive -computer (Get-Content C:\test\computers.txt) | Select SystemName,model
For more information on some of these commands look at THIS and THIS blog.
We have many more command line goodies on our site, so if you did not find what you are looking for, use the search box at the top right corner of this page.
This website uses cookies.