Em Andamento

Using Powershell To Distribute Script Level Jobs On Remote Servers

I have a powershell script that exists on three servers. In this example the three servers are:

server1

server2

server3

I am using another machine, server4, to call script C:\[url removed, login to view] remotely using Invoke-Command while specifying the remote machine via the ComputerName parameter. The ultimate goal of the script is to detect whether powershell is running, if it is not, then the computer is "not busy" and can open up the script being called remotely. If the computer is "busy", move onto the next server and continue on through the three machines until all the parameter values have been exhausted. If all machines are busy, it would be ideal if there was a way to periodically check the processes and see if they are still open. In this way, execution of the script can be balanced across the various machines, in an albeit primitive fashion.

The expected result trying to be achieved is attempting to load balance the script across the machines based on whether there is an active powershell process, if not move onto the next machine and perform the same test and subsequent possible execution. The script should go through all the values as specified in the $data array (or whatever).

Habilidades: Powershell

Veja mais: test jobs, remote jobs it, remote jobs c#, powershell jobs, jobs on c, it remote+ jobs, go remote jobs, c++ remote jobs, c# remote jobs, call active jobs, script change snmp settings remote servers, ikariam building level script, linux remote administration php script, metatrader sound level script, login tru remote servers dating, script powershell contact creation, windows script powershell add users excel, remote captcha entry script, ikariam show buildings level script, servers list script

Acerca do Empregador:
( 22 comentários ) Eden Prairie, United States

ID do Projeto: #10162440

Concedido a:

serolin

Hello, Nice to meet you here. Maybe, are you Gehgman?, if no, no problem. I have a rish experiment in Powershell script. [url removed, login to view] This is service management sample. Thanks.

$30 USD em 3 dias
(0 Comentários)
0.0