I'm trying to execute a batch file(shutdown.bat and startup.bat of tomcat 7) on a remote machine(Windows server 2008) using PSTools but didn't got any luck till now. 

Below are the steps I used

c:\&gt;psexec \\129.12.3.1 -u Admin -p admin90 C:\&gt;Hyp\tom7_50080\bin\shutdown.bat 


and on my cmd i got 

PsExec v2.0 - Execute processes remotely
Copyright (C) 2001-2013 Mark Russinovich
Sysinternals - www.sysinternals.com

PsExec could not start cmd on 129.12.3.1:
There are currently no logon servers available to service the logon request.

Can anyone help with the above output and with the batch file for executing the shutdown and startup batch file on remote machine.

Is PS Tools only option to execute any service/batch file on remote machine or we could use any other utility provided by MS.


Question: Filter a property by the value of another property
Answer: You can find a DataSourceCriteria useful in this scenario, instead of DataSourceProperty.

Assuming you have collection properties that associates Commodity back to SourceCommodityEntity, you can use this criteria:

[DataSourceCriteria("IsActive And SourceCommodities[SourceCommodityEntities[SourceEntity = '@SourceEntity'] ]")]

Even if its designed to be a 1x1 assocation, you can find that associations can be useful for filtering purposes.