Hi Everyone!!
First of all thanks for all the support that you provide!! I've read in the forum but I couldn't get anything about the following issue:
I have a scrip called "test.ps1", this script basically shutdown Virtual Machines in a cluster and Hosts (2 Servers). Besides I have another script call "Sh.cmd" with this text: powershell -file "c:\script\test.ps1".
The issue is If I run manually the "Sh.cmd" script with domain administrator account everything is ok and it works. However if a configure a task using a System account then the script just execute commands which affects only at local host, so only shutdown the Virtual Machine which are hosted in Host1 and only shutdown the Host 1... could anyone tell me why?!!!!!
The hosts and VM are 2008 R2 Sp1.