Home 0P3N Blog Getting Started with PS Tools
Ready to Start Your Career?
Create Free Account
H5p s profile image
By: H5p
January 28, 2017

Getting Started with PS Tools

By: H5p
January 28, 2017
H5p s profile image
By: H5p
January 28, 2017
 psexec-1Estimated reading time: 1 minuteI found a really good toolset which may come in handy when it comes to doing things remotely. This may help admins and other IT staff that need to do things remotely.Download the PS tools, which can be found easily and downloaded from the internet.1) PsExecThe below command will give us the cmd of the remote machine. If you want to execute the program on the remote machine, then just add -i -s -d after the psexec command.command : psexec \remoteIP -u username -p password cmdpsexec-1psexec-2psexec-3psexec-42) Getting the security ID (psgetsid)command : psgetsid \remoteIP -u username -p passwordpsgetsid-53) pskill - killing the process with process IDcommand : pskill \remoteIP -u username -p password processIDpskill-64) psservice  - finding if a particular service is present or notcommand : psservice \remoteIP -u username -p password service_namepsservice-7 5) psshutdowncommand : psshutdown \remoteIPpsshutdown-8Thanks  :)Comment below if you have any questions or suggestions.
Schedule Demo

Build your Cybersecurity or IT Career

Accelerate in your role, earn new certifications, and develop cutting-edge skills using the fastest growing catalog in the industry