Psexec not recognized

I am working on a Microsoft Server 2008 machine. For some reason, the psexec command does not work from powershell on this machine.

When I try to run it, I get the following:

PS C:\> psexec
The term 'psexec' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:7
+ psexec <<<<
    + CategoryInfo          : ObjectNotFound: (psexec:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\>

It runs powershell 2.0. I get it:

PS C:\> $Host.Version

Major  Minor  Build  Revision
-----  -----  -----  --------
2      0      -1     -1


PS C:\>

Any thoughts? I need this command, and I would prefer not to use "work."

+3
source share
1 answer

Completion of the answer:

You need to download PSEXEC from the link below and continue on from Powershell or any command line: http://technet.microsoft.com/en-us/sysinternals/bb897553

+6
source

All Articles