psexec.exe //hostname cmd \c parameters
Multiple host
Multiple host
Create a text file (e.g. host.txt) with the list of host in it.
psexec.exe @host.txt cmd \c parameters
More information
http://technet.microsoft.com/en-us/sysinternals/bb897553
This Blog consists of all computer error, difficulties, repair, security and troubleshooting encounters.
| Code: |
| dsquery user -name Chris* "OU=Building 1, dc=internal,dc=mycompany,dc=co,dc=uk" |
| Code: |
| dsquery user -samid JHC "OU=Building 2, dc=internal,dc=mycompany,dc=co,dc=uk" | dsmod user -tel "555 - 112 233" -u AdminUser -p AdminPassword |